[PATCH V4 4/6] qemu: Implement the virDomainSetLaunchSecurityState API

Daniel P. Berrangé berrange at redhat.com
Tue Jan 4 12:31:01 UTC 2022


On Mon, Dec 20, 2021 at 08:23:18PM -0700, Jim Fehlig wrote:
> Set a launch secret in guest memory using the sev-inject-launch-secret
> QMP API. Only supported with qemu >= 6.0.0 and SEV-enabled guests in a
> paused state.
> 
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
> ---
> 
> Daniel already r-b V3 of this patch, but I didn't include it since there's
> a bit of change in V4.
> 
>  src/qemu/qemu_driver.c       | 100 +++++++++++++++++++++++++++++++++++
>  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 +++
>  tests/qemumonitorjsontest.c  |   3 ++
>  6 files changed, 175 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


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