]> xenbits.xensource.com Git - libvirt.git/commit
qemu: hotplug: Add support for VCPU unplug
authorPeter Krempa <pkrempa@redhat.com>
Tue, 16 Aug 2016 13:02:11 +0000 (15:02 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 24 Aug 2016 19:44:47 +0000 (15:44 -0400)
commite3229f6e4461cd1721dc68a32e16ab1718ae716e
tree484ddbfc5208cb0a695486b685da08a126cdc5bd
parent00990d9f4c1792f08a53a9b584b3547f52bf2b2c
qemu: hotplug: Add support for VCPU unplug

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
src/qemu/qemu_hotplug.c
src/qemu/qemu_hotplug.h