qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 5/5] monitor: add "info capabilities" command


From: Mark McLoughlin
Subject: Re: [Qemu-devel] [PATCH 5/5] monitor: add "info capabilities" command
Date: Fri, 14 Nov 2008 15:58:39 +0000

On Fri, 2008-11-14 at 12:07 +0200, Avi Kivity wrote:
> Mark McLoughlin wrote:
> > Add a monitor command which allows the user (or management tools) to
> > query what features the given qemu binary supports.
> >
> > The output format is ".ini style" and is intended to list:
> >
> >   1) New features - e.g. cache=writethrough
> >
> >   2) Compile time configurables - e.g. built with kqemu support
> >
> >   3) Magic numbers - e.g. the vcpu limit
> >   
> 
> The monitor is a late interface -- you need this information to 
> determine some of the command-line parameters that were used to start 
> qemu and the monitor!

Yes, absolutely. Anthony had earlier suggested the monitor command might
be enough because we can do:

  echo -e 'info capabilities\nquit' | qemu -S -hda /dev/null -monitor stdio 
-vnc none

I would prefer if we also had e.g. qemu -capabilities.

Cheers,
Mark.





reply via email to

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