]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: use new macros for setvcpus to check flags and cleanup the code
authorPavel Hrdina <phrdina@redhat.com>
Wed, 25 Mar 2015 21:33:10 +0000 (22:33 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 4 May 2015 07:20:01 +0000 (09:20 +0200)
commit28ca8520bb5df4d28fab46041093362d7f04138a
tree1eea6297d3b1221aa574755db454980181ed45b5
parent6e3f9cbc9c9c17bfab5a19631dc914748bdb4aec
qemu: use new macros for setvcpus to check flags and cleanup the code

Now that we have macros for exclusive flags and flag requirements we can
use them to cleanup the code for setvcpus and error out for all wrong
flag combination.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/libvirt-domain.c
src/qemu/qemu_driver.c