[PATCH 7/8] qemu: refactor qemuDomainDefineXMLFlags