On 04/11/2013 07:15 AM, Peter Krempa wrote:
Instead of always using HMP use the QMP send-key command introduced
in qemu 1.3.
---
Notes:
Version 2:
- always try QMP instead of adding capability bit
Lots smaller :)
ACK.
+ /* create single key object */
+ if (!(key = virJSONValueNewObject()))
+ goto no_memory;
+
+ /* Union KeyValue has two, types, use the generic one */
s/two, types,/two types,/
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org