49 lines
1.1 KiB
Diff
49 lines
1.1 KiB
Diff
From 3bd5bffe607be834708b4c265fd3982e6acd168b Mon Sep 17 00:00:00 2001
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
Date: Mon, 19 Jul 2021 15:14:32 +0100
|
|
Subject: [PATCH 32/36] Add Google Cloud (not tested)
|
|
|
|
Thanks: Paolo Bonzini
|
|
(cherry picked from commit 8363fa9f0e2cbd970f34ffb7c7b23ed0ac2c374a)
|
|
---
|
|
virt-what.in | 5 +++++
|
|
virt-what.pod | 6 ++++++
|
|
2 files changed, 11 insertions(+)
|
|
|
|
diff --git a/virt-what.in b/virt-what.in
|
|
index 3573221..aacbb13 100644
|
|
--- a/virt-what.in
|
|
+++ b/virt-what.in
|
|
@@ -247,6 +247,11 @@ if echo "$dmi" | grep -q 'Product Name: RHEV Hypervisor'; then
|
|
echo rhev
|
|
fi
|
|
|
|
+# Google Cloud
|
|
+if echo "$dmi" | grep -q 'Product Name: Google Compute Engine'; then
|
|
+ echo google_cloud
|
|
+fi
|
|
+
|
|
# Check for Xen.
|
|
|
|
if [ "$cpuid" = "XenVMMXenVMM" ] &&
|
|
diff --git a/virt-what.pod b/virt-what.pod
|
|
index 381385b..5ca63fe 100644
|
|
--- a/virt-what.pod
|
|
+++ b/virt-what.pod
|
|
@@ -55,6 +55,12 @@ This is a Docker container.
|
|
|
|
Status: confirmed by Charles Nguyen
|
|
|
|
+=item B<google_cloud>
|
|
+
|
|
+This is running on Google Cloud Platform / Google Compute Engine.
|
|
+
|
|
+Status: not confirmed
|
|
+
|
|
=item B<hyperv>
|
|
|
|
This is Microsoft Hyper-V hypervisor.
|
|
--
|
|
2.31.1
|
|
|