From 304762e02f2eded90b1718303bb164e12024574e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 9 Sep 2016 14:19:13 +0200 Subject: detect ovirt too (mga#19308) it looks like not all KVM GUIes result in the same result with systemd-detect-virt let's handle both cases --- perl-install/NEWS | 1 + perl-install/detect_devices.pm | 2 +- perl-install/install/NEWS | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index 1a68f727d..f5661b4ea 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,4 @@ +- detect ovirt too (mga#19308) - sync nonfree firmware list with kernel-4.7 Version 17.54 - 13 August 2016 diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 8cff4d994..b2a9b03f7 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -1470,7 +1470,7 @@ Are we running under Qemu hypervisor? =cut sub is_qemu() { - virt_technology() eq 'qemu'; + member(virt_technology(), qw(kvm qemu)); } =item is_virtualbox() diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index f60434d7e..e655c0c91 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,4 @@ +- detect ovirt too (mga#19308) - sync nonfree firmware list with kernel-4.7 Version 17.55 - 13 August 2016 -- cgit v1.2.1