Blame SOURCES/0021-Add-oVirt-RHBZ-1249438.patch

f83e65
From 74d099109217f7a4c0ec9790c6e83df392f4a5ae Mon Sep 17 00:00:00 2001
f83e65
From: "Richard W.M. Jones" <rjones@redhat.com>
f83e65
Date: Mon, 3 Aug 2015 12:23:13 +0100
201bb7
Subject: [PATCH 21/27] Add oVirt (RHBZ#1249438).
f83e65
f83e65
---
f83e65
 virt-what.in  | 5 +++++
f83e65
 virt-what.pod | 6 ++++++
f83e65
 2 files changed, 11 insertions(+)
f83e65
f83e65
diff --git a/virt-what.in b/virt-what.in
f83e65
index 2de040a..d37da85 100644
f83e65
--- a/virt-what.in
f83e65
+++ b/virt-what.in
f83e65
@@ -203,6 +203,11 @@ if echo "$dmi" | grep -q 'Vendor: Parallels'; then
f83e65
     skip_qemu_kvm=true
f83e65
 fi
f83e65
 
f83e65
+# Check for oVirt.
f83e65
+if echo "$dmi" | grep -q 'Manufacturer: oVirt'; then
f83e65
+    echo ovirt
f83e65
+fi
f83e65
+
f83e65
 # Check for Xen.
f83e65
 
f83e65
 if [ "$cpuid" = "XenVMMXenVMM" ]; then
f83e65
diff --git a/virt-what.pod b/virt-what.pod
f83e65
index d936e4a..4e38414 100644
f83e65
--- a/virt-what.pod
f83e65
+++ b/virt-what.pod
f83e65
@@ -116,6 +116,12 @@ container.
f83e65
 
f83e65
 Status: contributed by Evgeniy Sokolov
f83e65
 
f83e65
+=item B<ovirt>
f83e65
+
f83e65
+The guest is running on an oVirt or RHEV node.
f83e65
+
f83e65
+Status: contributed by RWMJ, not confirmed
f83e65
+
f83e65
 =item B<parallels>
f83e65
 
f83e65
 The guest is running inside Parallels Virtual Platform
f83e65
-- 
201bb7
2.10.2
f83e65