virt-what-cvm: check if hypervisor bit is set
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 29 Jun 2023 16:51:02 +0000 (17:51 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 26 Jul 2024 15:03:39 +0000 (16:03 +0100)
commit0b4886bea5fce89f588a1ac3c885b6860bb2deed
tree27b956c69650b40e5e6b8002afb63ad260361d7b
parentdbd90b1a4ceae884b06907da0b7964bcb8ff01d3
virt-what-cvm: check if hypervisor bit is set

Before doing any probes for a confidential VM, check that the
tool is running under a hypervisor, rather than bare metal

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
(cherry picked from commit 64718d09a504bd10c6ab973acc0779925482b62f)
virt-what-cvm.c