]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: hotplug: Disallow modification of vcpu 0 in inactive config
authorPeter Krempa <pkrempa@redhat.com>
Wed, 28 Jun 2017 08:42:49 +0000 (10:42 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 28 Jun 2017 12:23:28 +0000 (14:23 +0200)
commitb183f17d76839587cbe411f4e12beca18d3ec702
tree2265bb175448f28d122a596e92f3aeae39577cd9
parent0f0c0921e61021f276bb57201cd501cdade19546
qemu: hotplug: Disallow modification of vcpu 0 in inactive config

vcpu 0 must be always enabled and non-hotpluggable, thus you can't
modify it using the vcpu hotplug APIs. Disallow it so that users can't
create invalid configurations.

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