[PATCH V3 0/4] Add virDomainSetLaunchSecurityState API

Jim Fehlig jfehlig at suse.com
Wed Dec 15 04:46:02 UTC 2021


V3 of https://listman.redhat.com/archives/libvir-list/2021-December/msg00366.html

Like V1 and V2, this series is compile-tested only. I plan to work on functional
testing soon. Unlike previous versions, this one got little self-scrutiny since
I wanted to get it posted to the list for feedback on questions regarding 4/4.

Changes since V2:
- Add test case in qemumonitorjsontest
- Add virsh implementation

Jim Fehlig (4):
  libvirt: Introduce virDomainSetLaunchSecurityState public API
  remote: Add RPC support for the virDomainSetLaunchSecurityState API
  qemu: Implement the virDomainSetLaunchSecurityState API
  tools: Add domsetlaunchsecstate virsh command

 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_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 ++
 src/remote/remote_driver.c       |   1 +
 src/remote/remote_protocol.x     |  17 ++++-
 src/remote_protocol-structs      |   9 +++
 tests/qemumonitorjsontest.c      |   3 +
 tools/virsh-domain.c             | 107 +++++++++++++++++++++++++++++++
 15 files changed, 431 insertions(+), 1 deletion(-)

-- 
2.34.1





More information about the libvir-list mailing list