[PATCH] Support cpu0-id of Qemu QMP query-sev-capabilities
Daniel P. Berrangé
berrange at redhat.com
Tue May 3 16:11:40 UTC 2022
On Wed, Apr 27, 2022 at 07:57:12PM +0000, Niteesh Dubey wrote:
> It allows libvirt to provide the value of cpu0-id retuned by the Qemu QMP
> command query-sev-capabilities as implemented by the Qemu Patch [1] which
> is merged to Qemu master branch and should be available with Qemu 7.1.
> This is used to get the signed Chip Endorsement Key (CEK) of the CPU of AMD
> system from AMD's Key Distribution Service (KDS).
>
> Similar to cbitpos, reducedPhysBits, maxGuests & maxESGuests;
> the value of cpu0-id is also provided using 'virsh domcapability'.
>
> [1] https://lore.kernel.org/all/20220228093014.882288-1-dovmurik@linux.ibm.com/
>
> Signed-off-by: Niteesh Dubey <niteesh at linux.ibm.com>
> ---
> include/libvirt/libvirt-host.h | 11 +++++++++++
> src/conf/domain_capabilities.c | 4 ++++
> src/conf/domain_capabilities.h | 1 +
> src/qemu/qemu_capabilities.c | 12 ++++++++++++
> src/qemu/qemu_driver.c | 5 +++++
> src/qemu/qemu_monitor_json.c | 6 ++++++
> 6 files changed, 39 insertions(+)
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list