[libvirt] [PATCH] qemu: Use QMP for send-key if supported

2013-04-11 Thread Peter Krempa
Instead of always using HMP use the QMP send-key command introduced in qemu 1.3. --- src/qemu/qemu_capabilities.c | 3 +++ src/qemu/qemu_capabilities.h | 1 + src/qemu/qemu_driver.c | 25 +++-- src/qemu/qemu_monitor.c | 5 ++-- src/qemu/qemu_monitor.h | 3 ++-

Re: [libvirt] [PATCH] qemu: Use QMP for send-key if supported

2013-04-11 Thread Peter Krempa
On 04/11/13 15:00, Eric Blake wrote: On 04/11/2013 06:45 AM, Peter Krempa wrote: Instead of always using HMP use the QMP send-key command introduced in qemu 1.3. --- +++ b/src/qemu/qemu_monitor.c @@ -3008,14 +3008,15 @@ int qemuMonitorInjectNMI(qemuMonitorPtr mon) int

Re: [libvirt] [PATCH] qemu: Use QMP for send-key if supported

2013-04-11 Thread Eric Blake
On 04/11/2013 06:45 AM, Peter Krempa wrote: Instead of always using HMP use the QMP send-key command introduced in qemu 1.3. --- +++ b/src/qemu/qemu_monitor.c @@ -3008,14 +3008,15 @@ int qemuMonitorInjectNMI(qemuMonitorPtr mon) int qemuMonitorSendKey(qemuMonitorPtr mon,

Re: [libvirt] [PATCH] qemu: Use QMP for send-key if supported

2013-04-11 Thread Daniel P. Berrange
On Thu, Apr 11, 2013 at 03:06:51PM +0200, Peter Krempa wrote: On 04/11/13 15:00, Eric Blake wrote: On 04/11/2013 06:45 AM, Peter Krempa wrote: Instead of always using HMP use the QMP send-key command introduced in qemu 1.3. --- +++ b/src/qemu/qemu_monitor.c @@ -3008,14 +3008,15 @@ int

Re: [libvirt] [PATCH] qemu: Use QMP for send-key if supported

2013-04-11 Thread Peter Krempa
On 04/11/13 15:41, Daniel P. Berrange wrote: On Thu, Apr 11, 2013 at 03:06:51PM +0200, Peter Krempa wrote: On 04/11/13 15:00, Eric Blake wrote: On 04/11/2013 06:45 AM, Peter Krempa wrote: Instead of always using HMP use the QMP send-key command introduced in qemu 1.3. --- +++