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>
Thu, 29 Jun 2023 17:17:19 +0000 (18:17 +0100)
commit64718d09a504bd10c6ab973acc0779925482b62f
tree8b093858a7b025e6c8d46540dfec96fdf519261a
parent95d18c02038f44bc3e8ff264079f8b697eecf1bd
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>
virt-what-cvm.c