[libvirt] [PATCH 3/7] qemu: eliminate almost-duplicate code in qemu_command.c