Add support for hvf domain type

This commit is contained in:
Mohamed Akram 2023-09-17 17:34:22 +04:00 committed by Cole Robinson
parent 4e2bec5b14
commit b9f9f768fc
2 changed files with 3 additions and 1 deletions

View File

@ -220,6 +220,8 @@ class vmmConnection(vmmGObject):
label = "QEMU TCG"
elif domtype == "kvm":
label = "KVM"
elif domtype == "hvf":
label = "Hypervisor.framework"
return label

View File

@ -236,7 +236,7 @@ class Capabilities(XMLBuilder):
if not domains:
return None
priority = ["kvm", "xen", "qemu"]
priority = ["kvm", "xen", "hvf", "qemu"]
for t in priority:
for d in domains: