]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Error out if setting vcpu count would lead to invalid config
authorPeter Krempa <pkrempa@redhat.com>
Wed, 27 Apr 2016 14:39:41 +0000 (16:39 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 28 Apr 2016 07:25:32 +0000 (09:25 +0200)
commitb527e7c8e2e13c194cf32fee76d3be3d89365524
treeb82260e898096a060564b2ab77e3eb9852a47a67
parent63e2b766a5a704eb19b8bdaeb1cf0fa91f990cb8
qemu: Error out if setting vcpu count would lead to invalid config

When the domain definition describes a machine with NUMA, setting the
maximum vCPU count via the API might lead to an invalid config.

Add a check that will forbid this until we add more advanced cpu config
capabilities.

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