[libvirt] [PATCH] Run 'qmp_capabilities' command at monitor startup

Daniel P. Berrange berrange at redhat.com
Mon Feb 15 15:16:32 UTC 2010


On Mon, Feb 15, 2010 at 04:14:01PM +0100, Matthias Bolte wrote:
> 2010/2/15 Daniel P. Berrange <berrange at redhat.com>:
> > ---
> >  src/qemu/qemu_driver.c       |   18 ++++++++++++++----
> >  src/qemu/qemu_monitor.c      |   13 +++++++++++++
> >  src/qemu/qemu_monitor.h      |    2 ++
> >  src/qemu/qemu_monitor_json.c |   20 ++++++++++++++++++++
> >  src/qemu/qemu_monitor_json.h |    2 ++
> >  5 files changed, 51 insertions(+), 4 deletions(-)
> >
> 
> ACK.
> 
> Why do we need to call qmp_capabilities at startup?

Because QEMU developers just decided to add it and make it mandatory :-)

/me is happy the JSON code is still disabled until QEMU 0.13 comes out

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list