V4 of
https://listman.redhat.com/archives/libvir-list/2021-December/msg00686.html
Similar to previous versions, this series is compile-tested only. I plan to
work on functional testing soon.
Changes since V3:
- Set secret and secret header read buffer to 64k
- Add capability for sev-inject-launch-secret qmp command
- Add NEWS entry
Jim Fehlig (6):
libvirt: Introduce virDomainSetLaunchSecurityState public API
remote: Add RPC support for the virDomainSetLaunchSecurityState API
qemu_capabilities: Introduce QEMU_CAPS_SEV_INJECT_LAUNCH_SECRET
qemu: Implement the virDomainSetLaunchSecurityState API
tools: Add domsetlaunchsecstate virsh command
NEWS: Mention new virDomainSetLaunchSecurityState API
NEWS.rst | 6 +
docs/manpages/virsh.rst | 25 ++++
include/libvirt/libvirt-domain.h | 36 ++++++
src/driver-hypervisor.h | 7 ++
src/libvirt-domain.c | 62 ++++++++++
src/libvirt_public.syms | 5 +
src/qemu/qemu_capabilities.c | 2 +
src/qemu/qemu_capabilities.h | 1 +
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 +
src/remote/remote_driver.c | 1 +
src/remote/remote_protocol.x | 17 ++-
src/remote_protocol-structs | 9 ++
.../caps_6.0.0.x86_64.xml | 1 +
.../caps_6.1.0.x86_64.xml | 1 +
.../caps_6.2.0.x86_64.xml | 1 +
tests/qemumonitorjsontest.c | 3 +
tools/virsh-domain.c | 107 ++++++++++++++++++
21 files changed, 455 insertions(+), 1 deletion(-)
--
2.34.1