Use a different approach that is hopefully more future-proof and also
add a check to the qemu driver, as suggested by Michal.
Ján Tomko (2):
virsh: domsetlaunchsecstate: report error if no options are passed
qemu: qemuDomainSetLaunchSecurityState: check for params presence
src/qemu/qemu_driver.c | 33 +++++++++++++++++++--------------
tools/virsh-domain.c | 4 +++-
2 files changed, 22 insertions(+), 15 deletions(-)
--
2.31.1