[libvirt] [PATCH 0/3] Fix error reporting of virsh qemu-agent-command and underlying API's.

Peter Krempa pkrempa at redhat.com
Mon Jun 3 14:34:58 UTC 2013


The code was horribly broken in multiple ways. This series fixes dispatching of errors
from the API, null dereference in virsh and shadowed error messages.

Peter Krempa (3):
  virsh-domain: Report errors and don't deref NULL in qemu-agent-command
  qemu: Properly report guest agent errors on command passthrough
  libvirt-qemu: Dispatch errors from virDomainQemuAgentCommand()

 src/libvirt-qemu.c     |  9 +++++++--
 src/qemu/qemu_agent.c  | 31 +++++++++++++++++++------------
 src/qemu/qemu_driver.c | 10 +++-------
 tools/virsh-domain.c   |  3 +++
 4 files changed, 32 insertions(+), 21 deletions(-)

-- 
1.8.2.1




More information about the libvir-list mailing list