[libvirt] [PATCH v2 1/4] qemu: refactor qemuDomainMachine* functions