]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Don't update count of vCPUs if hot-plug fails silently
authorPeter Krempa <pkrempa@redhat.com>
Mon, 26 Aug 2013 12:34:56 +0000 (14:34 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 26 Aug 2013 12:47:19 +0000 (14:47 +0200)
commitf17f164e3acefd590437da84cdcf08c63c7abb0b
tree0945a723bf049322c5901eb722037e6d543c86a8
parent48d6ae1fb62b0e33cc42ce17068b72b8c25abf94
qemu: Don't update count of vCPUs if hot-plug fails silently

When cpu hotplug fails without reporting an error, we would fail the
command but update the count of vCPUs anyways.

Commit 761fc481365703b861429d73a341bde352ba8d41 fixed the case when CPU
hot-unplug failed silently, but forgot to fix up the value in this case.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1000357
src/qemu/qemu_driver.c