]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainHotplugAddVcpu: Remove legacy hotplug branch
authorPeter Krempa <pkrempa@redhat.com>
Wed, 13 Oct 2021 14:28:20 +0000 (16:28 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 1 Nov 2021 15:14:53 +0000 (16:14 +0100)
commitdeaeb480c5d5d0e03148d201998233b6116ac652
treeb21751d90bb7c846b06fcce90378abf8c564a8ff
parent4b1199a5c449d0398de401b78576f1dd87d2bcec
qemuDomainHotplugAddVcpu: Remove legacy hotplug branch

Report an error if the new hotplug is not supported and remove the
alternate code paths.

The modern cpu-hotplug code was introduced in qemu-2.7. We keep the
capability so that proper errors are reported in case a platform doesn't
support hotplug.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_hotplug.c