Two bugs has been filed about wrong usage of api flags and virsh commands.
After investigation of the core issue I've decide to introduce same helper
macros as we have in virsh code to check mutually exclusive flags.
This patch series also includes the bug fixes and some other cleanups in
setvcpus code.
Luyao Huang (2):
qemu: check if domain is really active when do setvcpus with --live
tools: fix the wrong check when use virsh setvcpus --maximum
Pavel Hrdina (4):
internal: introduce macro helpers to reject exclusive flags
use new macro helpers to check exclusive flags
qemu: cleanup setvcpus
qemu: fix set vcpus on host without NUMA
src/internal.h | 80 +++++++++++
src/libvirt-domain-snapshot.c | 45 ++----
src/libvirt-domain.c | 288 +++++++++++--------------------------
src/qemu/qemu_driver.c | 42 +++---
src/storage/storage_backend_disk.c | 10 +-
src/storage/storage_backend_fs.c | 11 +-
tools/virsh-domain.c | 30 +---
7 files changed, 208 insertions(+), 298 deletions(-)
--
2.0.5