]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix check for errors in device_add command in QEMU text monitor
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 28 May 2010 11:18:09 +0000 (12:18 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 8 Jun 2010 14:20:59 +0000 (15:20 +0100)
commitc833efd35bf613851969ba0860ae89b83f155ad1
tree3cfcf76db7347f13f7f64c4be9cb987f6d4752a0
parent345ff369e5e5869d5bf5b951ba8281f64408beae
Fix check for errors in device_add command in QEMU text monitor

Any output at all from device_add indicates an error in the
command execution. Thus it needs to check for reply != ""

* src/qemu/qemu_monitor_text.c: Fix reply check for errors
  to treat any output as an error
src/qemu/qemu_monitor_text.c