On 1/27/22 19:44, Ján Tomko wrote:
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(-)
Reviewed-by: Michal Privoznik <mprivozn(a)redhat.com>
Michal