From: Anthony Liguori <anthony@codemonkey.ws>
To: Luiz Capitulino <lcapitulino@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Staging update (0.12 pending freeze)
Date: Thu, 03 Dec 2009 18:04:16 -0600 [thread overview]
Message-ID: <4B185200.4050301@codemonkey.ws> (raw)
In-Reply-To: <20091203215350.7159df5d@doriath>
Luiz Capitulino wrote:
> On Thu, 03 Dec 2009 17:21:18 -0600
> Anthony Liguori <anthony@codemonkey.ws> wrote:
>
>
>>> Finally the 'default devices' patch series ('must have' IMHO):
>>>
>>> http://patchwork.ozlabs.org/patch/39180/ (patch 1/10)
>>>
>>> Without that one using -device and -readconfig becomes much harder.
>>>
>> This series doesn't get along with the QMP monitor support that's been
>> added recently. That's because there is now a set of monitor flags and
>> -monitor takes more than a character device as an argument.
>>
>
> For QMP there is only one flag, which is 'control', like:
>
> -monitor control,<device>
>
> Multiple Monitors work just fine, like:
>
> -monitor stdio -monitor control,tcp:localhost:444,server
>
> I've even tested multiple QMP monitors iirc. :)
>
>
>> Honestly, I don't really like multiplexing the -monitor option to
>> support qmp. I think I would have a proper -qmp option at the top
>> level. That would integrate much more nicely too with this default
>> devices series. Luiz, what do you think?
>>
>
> Multiplexing the monitor is really useful for testing and it doesn't
> seem reasonable to me to drop this feature just because we can't
> add a single flag to an existing command-line option.
>
Problem is, control is not a property of the character device. To
express this in a consistent way with everything else, you would have to
make this QemuOpts-like so it would look like
-monitor control,device=tcp:localhost:444,server
But so far, the monitor, serial, parallel, etc. devices don't take QemuOpts.
OTH, having:
-qmp tcp:localhost:444,server
Matches the other option types in a consistent manner. If you want to
support muxing, just add a qmp: prefix to the mux device.
Regards,
Anthony Liguori
next prev parent reply other threads:[~2009-12-04 0:04 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-02 16:46 [Qemu-devel] Staging update (0.12 pending freeze) Anthony Liguori
2009-12-02 19:22 ` [Qemu-devel] " Jan Kiszka
2009-12-02 19:32 ` Anthony Liguori
2009-12-03 14:23 ` Luiz Capitulino
2009-12-03 16:37 ` Luiz Capitulino
2009-12-03 16:44 ` Anthony Liguori
2009-12-02 19:44 ` [Qemu-devel] " Luiz Capitulino
2009-12-02 19:54 ` Anthony Liguori
2009-12-02 20:00 ` Luiz Capitulino
2009-12-02 19:46 ` Ian Molton
2009-12-02 19:48 ` Anthony Liguori
2009-12-02 19:52 ` Ian Molton
2009-12-02 19:55 ` Anthony Liguori
2009-12-02 20:13 ` [Qemu-devel] [PATCH] Socket reconnection take 2 Ian Molton
2009-12-03 10:33 ` [Qemu-devel] " Michael S. Tsirkin
2009-12-03 12:34 ` [Qemu-devel] Staging update (0.12 pending freeze) Gerd Hoffmann
2009-12-03 13:08 ` Alexander Graf
2009-12-03 13:49 ` How to convert to -device & friends (was: [Qemu-devel] Staging update (0.12 pending freeze)) Markus Armbruster
2009-12-03 14:42 ` [Qemu-devel] Re: How to convert to -device & friends (was: " Michael S. Tsirkin
2009-12-03 23:21 ` [Qemu-devel] Staging update (0.12 pending freeze) Anthony Liguori
2009-12-03 23:53 ` Luiz Capitulino
2009-12-04 0:04 ` Anthony Liguori [this message]
2009-12-04 11:17 ` Gerd Hoffmann
2009-12-04 11:48 ` Luiz Capitulino
2009-12-04 12:43 ` Gerd Hoffmann
2009-12-04 14:12 ` Anthony Liguori
2009-12-03 13:52 ` [Qemu-devel] " Paolo Bonzini
2009-12-03 15:10 ` Anthony Liguori
2009-12-13 10:34 ` Paolo Bonzini
2009-12-03 15:27 ` [Qemu-devel] [FOR 0.12] [PATCH] virtio: Add memory statistics reporting to the balloon driver (V5) Adam Litke
2009-12-03 17:02 ` [Qemu-devel] [FOR 0.12] [PATCH] Updated: " Adam Litke
2009-12-03 16:57 ` [Qemu-devel] [FOR 0.12] debugcon patch for staging H. Peter Anvin
2009-12-03 19:26 ` [Qemu-devel] Staging update (0.12 pending freeze) Aurelien Jarno
2009-12-03 20:03 ` Blue Swirl
2009-12-05 20:05 ` Aurelien Jarno
2009-12-05 20:07 ` Blue Swirl
2009-12-06 11:59 ` Aurelien Jarno
2009-12-06 15:44 ` Blue Swirl
2009-12-07 22:24 ` Aurelien Jarno
2009-12-04 10:10 ` Kevin Wolf
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=4B185200.4050301@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=kraxel@redhat.com \
--cc=lcapitulino@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).