[libvirt] [PATCH v3 24/24] qemu: hotplug: Add support for VCPU unplug

Ján Tomko jtomko at redhat.com
Wed Aug 24 19:33:21 UTC 2016

On Wed, Aug 24, 2016 at 09:35:40AM -0400, Peter Krempa wrote:
>This patch removes the old vcpu unplug code completely and replaces it
>with the new code using device_del. The old hotplug code basically never
>worked with any recent qemu and thus is useless.
>As the new code is using device_del all the implications of using it
>are present. Contrary to the device deletion code, the vcpu deletion
>code fails if the unplug request is not executed in time.
> src/qemu/qemu_driver.c  |  74 ++++++---------------------------
> src/qemu/qemu_hotplug.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++
> src/qemu/qemu_hotplug.h |   7 ++++
> 3 files changed, 128 insertions(+), 61 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160824/2cca8ca4/attachment-0001.sig>

More information about the libvir-list mailing list