[PATCH 0/4] qemu: Let virCommand report errors

Michal Privoznik mprivozn at redhat.com
Mon Feb 20 10:00:54 UTC 2023


In a lot of places we catch errors from qemuSecurityCommandRun() only to
produce an error report. But we can let virCommand module do the same.

Michal Prívozník (4):
  qemu_slirp: Don't set errfd when starting slirp helper
  qemu: Don't overwrite error from qemuSecurityCommandRun()
  qemu: Drop @cmdret argument from qemuSecurityCommandRun()
  qemu: Let virCommand module translate exitstatus

 src/qemu/qemu_dbus.c           | 11 +----------
 src/qemu/qemu_passt.c          | 12 +-----------
 src/qemu/qemu_security.c       | 13 ++++++-------
 src/qemu/qemu_security.h       |  3 +--
 src/qemu/qemu_slirp.c          | 12 +-----------
 src/qemu/qemu_tpm.c            |  9 +--------
 src/qemu/qemu_vhost_user_gpu.c | 11 ++---------
 7 files changed, 13 insertions(+), 58 deletions(-)

-- 
2.39.2



More information about the libvir-list mailing list