From 9357536a087750c5865c873aa5f77ddb2a96c24c Mon Sep 17 00:00:00 2001 From: Mohamed Akram Date: Sun, 17 Sep 2023 17:34:22 +0400 Subject: [PATCH] Add support for hvf domain type --- virtManager/connection.py | 2 ++ virtinst/capabilities.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/virtManager/connection.py b/virtManager/connection.py index 8e7df402e..a052cdf82 100644 --- virtManager/connection.py +++ virtManager/connection.py @@ -220,6 +220,8 @@ def pretty_hv(gtype, domtype): label = "QEMU TCG" elif domtype == "kvm": label = "KVM" + elif domtype == "hvf": + label = "Hypervisor.framework" return label diff --git a/virtinst/capabilities.py b/virtinst/capabilities.py index 533c0d9a4..5549a65ce 100644 --- virtinst/capabilities.py +++ virtinst/capabilities.py @@ -236,7 +236,7 @@ def _bestDomainType(self, guest, dtype, machine): if not domains: return None - priority = ["kvm", "xen", "qemu"] + priority = ["kvm", "xen", "hvf", "qemu"] for t in priority: for d in domains: