Blame SOURCES/0003-As-xen-pv-guest-can-access-cpuid-from-Intel-CPUs-sta.patch

90b589
From a821dc9961d457c086fffcc16a911cb6f9f8659a Mon Sep 17 00:00:00 2001
90b589
From: xiliang <xiliang@redhat.com>
90b589
Date: Sun, 18 Jun 2017 00:33:28 +0800
a41150
Subject: [PATCH 03/25] As xen pv guest can access cpuid from Intel CPUs
90b589
 started IvyBridge onwards have CPUID Faulting, added one more check in
90b589
 virt-what.
90b589
90b589
---
90b589
 virt-what.in | 5 +++--
90b589
 1 file changed, 3 insertions(+), 2 deletions(-)
90b589
90b589
diff --git a/virt-what.in b/virt-what.in
90b589
index a05e0db..247348e 100644
90b589
--- a/virt-what.in
90b589
+++ b/virt-what.in
90b589
@@ -1,6 +1,6 @@
90b589
 #!/bin/sh -
90b589
 # @configure_input@
90b589
-# Copyright (C) 2008-2015 Red Hat Inc.
90b589
+# Copyright (C) 2008-2017 Red Hat Inc.
90b589
 #
90b589
 # This program is free software; you can redistribute it and/or modify
90b589
 # it under the terms of the GNU General Public License as published by
90b589
@@ -223,7 +223,8 @@ fi
90b589
 
90b589
 # Check for Xen.
90b589
 
90b589
-if [ "$cpuid" = "XenVMMXenVMM" ]; then
90b589
+if [ "$cpuid" = "XenVMMXenVMM" ] &&
90b589
+    ! echo "$dmi" | grep -q 'No SMBIOS nor DMI entry point found, sorry'; then
90b589
     echo xen; echo xen-hvm
90b589
     # Check for AWS
90b589
     if echo "$dmi" | grep -q 'Version: [0-9]\.[0-9]\.amazon'; then
90b589
-- 
a41150
2.18.4
90b589