[libvirt PATCH v7 13/18] tests: Add macOS support to qemuxml2*test