[libvirt PATCH v3 08/12] tools: load CPU count and CPU SKU from libvirt

Ján Tomko jtomko at redhat.com
Fri Nov 4 15:36:55 UTC 2022


On a Wednesday in 2022, Daniel P. Berrangé wrote:
>When validating a SEV-ES guest, we need to know the CPU count and VMSA
>state. We can get the CPU count directly from libvirt's guest info. The
>VMSA state can be constructed automatically if we query the CPU SKU from
>host capabilities XML. Neither of these is secure, however, so this
>behaviour is restricted.
>
>Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
>---
> docs/manpages/virt-qemu-sev-validate.rst |  4 ----
> tools/virt-qemu-sev-validate             | 26 ++++++++++++++++++++++++
> 2 files changed, 26 insertions(+), 4 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano


More information about the libvir-list mailing list