[libvirt] [PATCH v2 5/7] qemu: use new macros for setvcpus to check flags and cleanup the code