qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Staging update (0.12 pending freeze)


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] Staging update (0.12 pending freeze)
Date: Fri, 04 Dec 2009 12:17:51 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Lightning/1.0pre Thunderbird/3.0b4

On 12/04/09 01:04, Anthony Liguori wrote:
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

I think we should create a new option for monitor configuration, like this:

  -mon mode={control,readline},chardev=<name>,more-options-here

So you'll create a qmp monitor socket this way:

  -chardev socket,path=/tmp/qmpsock,id=qmp,server,nowait
  -mon mode=control,chardev=qmp

Then the -monitor switch will be legacy/convinience syntax for a readline monitor with auto-created chardev named 'monitor<nr>'.

If we need more options in the future they can be added easily.

cheers,
  Gerd





reply via email to

[Prev in Thread] Current Thread [Next in Thread]