[PATCH V2 3/3] qemu: Implement the virDomainSetLaunchSecurityState API

Daniel P. Berrangé berrange at redhat.com
Fri Dec 10 11:40:14 UTC 2021


On Thu, Dec 09, 2021 at 03:04:15PM -0700, Jim Fehlig wrote:
> Set a launch secret in guest memory using the sev-inject-launch-secret
> QMP API. Only supported for SEV-enabled guests in a paused state.
> 
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
> ---
>  src/qemu/qemu_driver.c       | 88 ++++++++++++++++++++++++++++++++++++
>  src/qemu/qemu_monitor.c      | 14 ++++++
>  src/qemu/qemu_monitor.h      |  7 +++
>  src/qemu/qemu_monitor_json.c | 45 ++++++++++++++++++
>  src/qemu/qemu_monitor_json.h |  6 +++
>  5 files changed, 160 insertions(+)

LGTM aside from the tests thing Peter mentions


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