|
|
a03d84 |
From 7607348d0ea643a7ccaa154dca3c1721ac0e1385 Mon Sep 17 00:00:00 2001
|
|
|
a03d84 |
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
a03d84 |
Date: Fri, 4 Oct 2019 16:25:55 +0300
|
|
|
a03d84 |
Subject: [PATCH 6/8] Add support for Nutanix Acropolis Hypervisor (AHV)
|
|
|
a03d84 |
(RHBZ#1756381).
|
|
|
a03d84 |
|
|
|
a03d84 |
Thanks: Cristian Seres for providing access to a guest.
|
|
|
a03d84 |
|
|
|
a03d84 |
Cherry picked from commit f317e788dd7c2a35c2ae0f64fa50ab720382ebf5
|
|
|
a03d84 |
|
|
|
a03d84 |
- Removed tests.
|
|
|
a03d84 |
|
|
|
a03d84 |
- Removed changes to configure.ac which are not applicable to
|
|
|
a03d84 |
virt-what 1.18.
|
|
|
a03d84 |
---
|
|
|
a03d84 |
virt-what.in | 10 +++++++++-
|
|
|
a03d84 |
virt-what.pod | 6 ++++++
|
|
|
a03d84 |
2 files changed, 15 insertions(+), 1 deletion(-)
|
|
|
a03d84 |
|
|
|
a03d84 |
diff --git a/virt-what.in b/virt-what.in
|
|
|
a03d84 |
index 29b7b0d..0178eb1 100644
|
|
|
a03d84 |
--- a/virt-what.in
|
|
|
a03d84 |
+++ b/virt-what.in
|
|
|
a03d84 |
@@ -1,6 +1,6 @@
|
|
|
a03d84 |
#!/bin/sh -
|
|
|
a03d84 |
# @configure_input@
|
|
|
a03d84 |
-# Copyright (C) 2008-2017 Red Hat Inc.
|
|
|
a03d84 |
+# Copyright (C) 2008-2019 Red Hat Inc.
|
|
|
a03d84 |
#
|
|
|
a03d84 |
# This program is free software; you can redistribute it and/or modify
|
|
|
a03d84 |
# it under the terms of the GNU General Public License as published by
|
|
|
a03d84 |
@@ -213,6 +213,14 @@ if echo "$dmi" | grep -q 'Vendor: Parallels'; then
|
|
|
a03d84 |
skip_qemu_kvm=true
|
|
|
a03d84 |
fi
|
|
|
a03d84 |
|
|
|
a03d84 |
+# Check for Nutanix AHV.
|
|
|
a03d84 |
+# This is sufficiently different from KVM and has Viridian extensions,
|
|
|
a03d84 |
+# so skip the KVM test.
|
|
|
a03d84 |
+if echo "$dmi" | grep -q 'Manufacturer: Nutanix'; then
|
|
|
a03d84 |
+ echo nutanix_ahv
|
|
|
a03d84 |
+ skip_qemu_kvm=true
|
|
|
a03d84 |
+fi
|
|
|
a03d84 |
+
|
|
|
a03d84 |
# Check for oVirt/RHEV.
|
|
|
a03d84 |
if echo "$dmi" | grep -q 'Manufacturer: oVirt'; then
|
|
|
a03d84 |
echo ovirt
|
|
|
a03d84 |
diff --git a/virt-what.pod b/virt-what.pod
|
|
|
a03d84 |
index ebfc190..660c517 100644
|
|
|
a03d84 |
--- a/virt-what.pod
|
|
|
a03d84 |
+++ b/virt-what.pod
|
|
|
a03d84 |
@@ -173,6 +173,12 @@ is lkvm (a.k.a kvmtool).
|
|
|
a03d84 |
|
|
|
a03d84 |
Status: contributed by Andrew Jones
|
|
|
a03d84 |
|
|
|
a03d84 |
+=item B<nutanix_ahv>
|
|
|
a03d84 |
+
|
|
|
a03d84 |
+The guest is running inside Nutanix Acropolis Hypervisor (AHV).
|
|
|
a03d84 |
+
|
|
|
a03d84 |
+Status: confirmed by RWMJ.
|
|
|
a03d84 |
+
|
|
|
a03d84 |
=item B<openvz>
|
|
|
a03d84 |
|
|
|
a03d84 |
The guest appears to be running inside an OpenVZ or Virtuozzo
|
|
|
a03d84 |
--
|
|
|
a03d84 |
2.32.0
|
|
|
a03d84 |
|