- 23 2月, 2013 10 次提交
-
-
由 Jiri Denemark 提交于
Introduce virDomainMigrateGetCompressionCache and virDomainMigrateSetCompressionCache APIs.
-
由 Jiri Denemark 提交于
-
由 Jiri Denemark 提交于
As a side effect, this also fixes reporting disk migration process. It was added to memory migration progress, which was wrong. Disk progress has dedicated fields in virDomainJobInfo structure.
-
由 Jiri Denemark 提交于
-
由 Jiri Denemark 提交于
-
由 Jiri Denemark 提交于
remoteDeserializeTypedParameters can now be called with either preallocated params array (size of which is announced by nparams) or it can allocate params array according to the number of parameters received from the server.
-
由 Jiri Denemark 提交于
-
由 Jiri Denemark 提交于
This is an extensible version of virDomainGetJobInfo.
-
由 Jiri Denemark 提交于
-
由 Jiri Denemark 提交于
This flag may be used with migration APIs to request compression of migration data.
-
- 22 2月, 2013 11 次提交
-
-
由 Daniel P. Berrange 提交于
Fix the caps-qemu-kvm.xml test data file to refer to correct arm arch name.
-
由 Daniel P. Berrange 提交于
When the virarch.c file was introduced to formalize the arch list, we forgot to update the RNG schema with the new arches.
-
由 Christophe Fergeau 提交于
It's only freed on normal returns from virDomainVideoDefParseXML, but not when erroring out.
-
由 Christophe Fergeau 提交于
It's only freed on normal returns from virDomainVideoDefParseXML, but not when erroring out.
-
由 Doug Goldstein 提交于
Patch has been accepted into net-next's 3.9 queue to correctly expose bond interfaces with the 'bond' devtype.
-
由 Doug Goldstein 提交于
The udev backend now supports bond interfaces.
-
由 Doug Goldstein 提交于
Refactored the interface device type identification to make it more clear about the operations. Add support for udev devtype to detect VLANs on Linux 3.7 and newer. Move VLAN detection based on device name to fallback case.
-
由 Doug Goldstein 提交于
Mechanical move to break up udevIfaceGetIfaceDef() into different helpers for each of the interface types to hopefully make the code easier to follow. This moves the vlan code to udevIfaceGetIfaceDefVlan().
-
由 Doug Goldstein 提交于
Based on feedback from Laine Stump, improve a number of the error handling cases to report the issue to the user instead of not generating data or giving vague errors. Added the bridge device name to every error message as well to make it clear which bridge failed.
-
由 Doug Goldstein 提交于
Mechanical move to break up udevIfaceGetIfaceDef() into different helpers for each of the interface types to hopefully make the code easier to follow. This moves the bridge code to udevIfaceGetIfaceDefBridge().
-
由 Eric Blake 提交于
https://bugzilla.redhat.com/show_bug.cgi?id=896685 points out a regression caused by commit 38c4a9cc - libvirt only labels the backing chain if the backing chain cache is populated, but the code to populate the cache was only conditionally performed if cgroup labeling was necessary. * src/qemu/qemu_cgroup.c (qemuSetupCgroup): Hoist cache setup... * src/qemu/qemu_process.c (qemuProcessStart): ...earlier into caller, where it is now unconditional.
-
- 21 2月, 2013 19 次提交
-
-
由 Christophe Fergeau 提交于
-
由 Peter Krempa 提交于
Get rid of the "identical" variable in the ABI stability checks in favor of return statements and break or refactor very long lines where possible.
-
由 Peter Krempa 提交于
Declare local variables at the start of the block and fix trivial formatting issues.
-
由 Peter Krempa 提交于
Many of the headers were using the old style and even overflowing the 80 column mark.
-
由 Peter Krempa 提交于
The label named "cleanup" was used in error cases only. Change it to "error".
-
由 Peter Krempa 提交于
Use the correct type and get rid of "default" label in switch to make the compiler complain if a new device type is added.
-
由 Peter Krempa 提交于
Change the error label to "error" and simplify some error paths.
-
由 Peter Krempa 提交于
The message didn't seem to be much helpful
-
由 Jiri Denemark 提交于
<pre> is forbidden inside <p>
-
由 Jiri Denemark 提交于
Since closeCallbacks were turned into virObjectLockable, we can no longer call virQEMUCloseCallbacks APIs from within a registered close callback.
-
由 Jiri Denemark 提交于
To avoid having to hold the qemu driver lock while iterating through close callbacks and calling them. This fixes a real deadlock when a domain which is being migrated from another host gets autodestoyed as a result of broken connection to the other host.
-
由 Guannan Ren 提交于
The max value of number of cpus to compute(id) should not be equal or greater than max cpu number. The bug ocurrs when id value is equal to max cpu number which leads to the off-by-one error in the following for loop. # virsh cpu-stats guest --start 1 error: Failed to virDomainGetCPUStats() error: internal error cpuacct parse error
-
由 Osier Yang 提交于
Found by John Ferlan (coverity script)
-
由 John Ferlan 提交于
Don't allow interval to be > MAX_INT/1000 in virKeepAliveStart() Guard against possible overflow in virKeepAliveTimeout() by setting the timeout to be MAX_INT/1000 since the math following will multiply it by 1000.
-
由 Jim Fehlig 提交于
The libxl driver was setting the backend field of libxl_device_disk structure to LIBXL_DISK_BACKEND_TAP when the driver element of disk configuration was not specified. This needlessly forces the use of blktap driver, which may not be loaded in dom0 https://bugzilla.redhat.com/show_bug.cgi?id=912488 Ian Campbell suggested that LIBXL_DISK_BACKEND_UNKNOWN is a better default in this case https://www.redhat.com/archives/libvir-list/2013-February/msg01126.html
-
由 John Ferlan 提交于
-
由 Michal Privoznik 提交于
Currently, if lzop decompression binary produces a warning, it doesn't exit with zero status but 2 instead. Terrifying, but true. However, warnings may be ignored using '--ignore-warn' command line argument. Moreover, in which case, the exit status will be zero.
-
由 Sergey Fionov 提交于
Commit 18937c3a introduced the memory leak when client->msg.fds is copied to thecall->msg and then never freed.
-
由 Osier Yang 提交于
For both AttachDevice and UpdateDevice APIs, if the disk device is 'cdrom' or 'floppy', the operations could be ejecting, updating, and inserting. For either ejecting or updating, the shared disk entry of the original disk src has to be removed, because it's not useful anymore. And since the original disk def will be changed, new disk def passed as argument will be free'ed in qemuDomainChangeEjectableMedia, so we need to copy the orignal disk def before qemuDomainChangeEjectableMedia, to use it for qemuRemoveSharedDisk.
-