]> xenbits.xensource.com Git - libvirt.git/commit
Detect errors from the 'sendkey' command
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 25 Aug 2011 16:48:25 +0000 (17:48 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 26 Aug 2011 13:18:57 +0000 (14:18 +0100)
commit6b434da6bfa00ddfd525dfbdf9234ca365e2044b
tree1e4e877b43a6fa91564266b79cade097ca68a3ef
parentce93f64b1eb456139be339961199ffe0b05dc363
Detect errors from the 'sendkey' command

On success, the 'sendkey' command does not return any data, so
any data in the reply should be considered to be an error
message

* src/qemu/qemu_monitor_text.c: Treat non-"" reply data as an
  error message for 'sendkey' command
src/qemu/qemu_monitor_text.c