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