Fix CVM detection on Azure with TDX
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 30 Jul 2024 09:46:46 +0000 (10:46 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 30 Jul 2024 12:05:42 +0000 (13:05 +0100)
commit7b19a3a531fbabb5785dc7f78352d574f079212f
tree23315a94154017b5d0a920a016d1f952ff3fbe97
parentc8daee800cbe22e622306f78a71188ec5639d4a1
Fix CVM detection on Azure with TDX

The current TDX support was tested on Azure, however, since that time
they now block the CPUID leaf we were using. Instead it is required to
issue the Azure specific CPUID calls as we were already doing for SNP.

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