On Tue, Sep 25, 2012 at 19:00:11 +0100, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" <berrange@xxxxxxxxxx> > > The qemuMonitorSetCapabilities() API is used to initialize the QMP > protocol capabilities. It has since been abused to initialize some > libvirt internal capabilities based on command/event existance too. > Move the latter code out into qemuCapsProbeQMP() in the QEMU > capabilities source file instead > > Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx> > --- > src/qemu/qemu_capabilities.c | 70 ++++++++++++++++++++++++++++++++++++++++++++ > src/qemu/qemu_capabilities.h | 4 +++ > src/qemu/qemu_monitor.c | 11 +------ > src/qemu/qemu_monitor.h | 4 +-- > src/qemu/qemu_monitor_json.c | 59 ------------------------------------- > src/qemu/qemu_monitor_json.h | 5 ---- > src/qemu/qemu_process.c | 5 +++- > 7 files changed, 80 insertions(+), 78 deletions(-) ACK Jirka -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list