From d609cebba48744c97ac7e0461f8827ab63198026 Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Thu, 10 Jun 2021 16:58:42 +0200 Subject: [PATCH] Fix util.virt_detect on Xen Xen is apparently still alive so we should return True for it too. --- blivet/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blivet/util.py b/blivet/util.py index 3bebb003..af60210b 100644 --- a/blivet/util.py +++ b/blivet/util.py @@ -1130,4 +1130,4 @@ def detect_virt(): except (safe_dbus.DBusCallError, safe_dbus.DBusPropertyError): return False else: - return vm[0] in ('qemu', 'kvm') + return vm[0] in ('qemu', 'kvm', 'xen') -- 2.31.1