From: Luiz Capitulino <lcapitulino@redhat.com>
To: "Daniel P. Berrange" <berrange@redhat.com>
Cc: avi@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] ANN: QEMU Monitor Protocol git tree
Date: Wed, 23 Sep 2009 16:07:18 -0300 [thread overview]
Message-ID: <20090923160718.3ea1f68e@doriath> (raw)
In-Reply-To: <20090923170816.GF11759@redhat.com>
On Wed, 23 Sep 2009 18:08:16 +0100
"Daniel P. Berrange" <berrange@redhat.com> wrote:
> On Wed, Sep 23, 2009 at 10:57:01AM +0100, Daniel P. Berrange wrote:
> > On Tue, Sep 22, 2009 at 08:56:04PM -0500, Anthony Liguori wrote:
> > > Luiz Capitulino wrote:
> > > >Now the controversial part: it's json based. ;)
> > > >
> > > >I have chosen json because of the reasons already explained by others in
> > > >the original QMP thread. Basically, json is so simple that if we design
> > > >a small protocol from scratch, chances are it will look like json.
> > > >
> > >
> > > json is not a deal break. My main concern was our ability to extend
> > > json and whether supporting stock json libraries was a hard
> > > requirement. I also would like to see a C client library since our
> > > biggest consumer (libvirt) is based in C.
> >
> > I've googled around quickly and there are at least 5 pieces of C code
> > and/or C libraries that can parse JSON. Hopefully one of them will be
> > sufficient / suitable for libvirt's needs. We'll just need to try it
> > out and see what happens....
>
> I'm in the process of re-factoring the libvirt monitor handling code to
> make it possible for us to add in support for QMP in parallel to the
> legacy monitor support. Once the Luiz' QMP branch progresses a little
> further I'll aim to make available a libvirt branch which supports QMP.
Great!
> To help priortization, the one critical command we need implemented
> which isn't there yet is 'cont', since all our VMs are launched with
> CPUs initially stopped.
I will convert 'cont' as soon as the new error handling code is
finished, as 'cont' can fail.
> The next priorities would be 'stop', 'info cpus', 'balloon' and
> 'info balloon' (all except info cpus are there in Luiz tree already
> I believe).
That's right.
> With those we could do some useful testing & validation of the QMP work
> in libvirt.
Yeah, would be very nice.
I was also considering writing kvm-autotest tests, will look at it.
> Then in no particular order of preference the other commands we
> currently make use of are
>
> - migrate / migrate_set_speed / info migrate
> - pci_add / pci_del
> - host_net_add / host_net_del / getfd / closefd
> - eject / change
> - usb_add / usb_del
> - info block (desirable to allow query of a single device at a time)
> - memsave / pmemsave
>
>
> Figuring out how to handle password prompts for 'cont' for encrypted
> qcow is probably another unusal area. Perhaps we should have explicit
> commands to set the decryption passwords ahead of time, rather than
> having QEMU prompt in response to 'cont'
Hmm, yes, forgot about this.
next prev parent reply other threads:[~2009-09-23 19:07 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-22 1:44 [Qemu-devel] ANN: QEMU Monitor Protocol git tree Luiz Capitulino
2009-09-23 1:56 ` Anthony Liguori
2009-09-23 9:57 ` Daniel P. Berrange
2009-09-23 10:57 ` Avi Kivity
2009-09-23 13:40 ` [Qemu-devel] " Paolo Bonzini
2009-09-23 14:04 ` Avi Kivity
2009-09-23 15:19 ` Nathan Baum
2009-09-23 15:40 ` Luiz Capitulino
2009-09-23 18:15 ` Anthony Liguori
2009-09-23 18:36 ` Jamie Lokier
2009-09-23 18:45 ` Paolo Bonzini
2009-09-23 16:01 ` [Qemu-devel] " Markus Armbruster
2009-09-23 16:11 ` Luiz Capitulino
2009-09-23 18:15 ` Jamie Lokier
2009-09-23 18:18 ` Anthony Liguori
2009-09-23 17:08 ` Daniel P. Berrange
2009-09-23 19:07 ` Luiz Capitulino [this message]
2009-09-23 14:18 ` Luiz Capitulino
2009-09-23 18:21 ` Anthony Liguori
2009-09-23 10:08 ` Daniel P. Berrange
2009-09-23 14:21 ` Luiz Capitulino
2009-09-23 15:55 ` Markus Armbruster
2009-09-23 22:37 ` Markus Armbruster
2009-09-24 12:31 ` Luiz Capitulino
2009-09-24 12:44 ` Avi Kivity
2009-09-24 13:05 ` Luiz Capitulino
2009-09-24 13:07 ` Avi Kivity
2009-09-24 13:14 ` Luiz Capitulino
2009-11-11 9:59 ` [Qemu-devel] " Michael S. Tsirkin
2009-09-24 13:28 ` [Qemu-devel] " Markus Armbruster
2009-09-24 19:09 ` Luiz Capitulino
2009-11-11 10:03 ` [Qemu-devel] " Michael S. Tsirkin
2009-11-13 8:38 ` Markus Armbruster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090923160718.3ea1f68e@doriath \
--to=lcapitulino@redhat.com \
--cc=avi@redhat.com \
--cc=berrange@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.