qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/12] convert many options to QemuOpts
@ 2012-03-20  8:01 Paolo Bonzini
  2012-03-20  8:01 ` [Qemu-devel] [PATCH 01/12] vga: disable default VGA if appropriate -device is used Paolo Bonzini
                   ` (11 more replies)
  0 siblings, 12 replies; 15+ messages in thread
From: Paolo Bonzini @ 2012-03-20  8:01 UTC (permalink / raw)
  To: qemu-devel

This converts a lot of commonly-used options to QemuOpts.  Most of them
get in -machine, but I don't intend -machine to become a catch-all option.
In fact I refrained from converting those that should go in -display
(like -keyboard) or should be moved to enum device properties.

With the exception of -display, now a more-or-less complete PC machine
can be created from config.  This is unfortunately not true of most
embedded machines which use arrays such as serial_hd to create devices
and do not support using -device instead.

This does not mean that all options can be used.  Only -monitor and
-qmp create a backend/frontend pair in QemuOpts, so things such as
-serial stdio will not work.

Patch 1 is a bugfix, it was already submitted and informally approved
by Blue.

Paolo Bonzini (12):
  vga: disable default VGA if appropriate -device is used
  QemuOpts: use strtosz
  cmdline: implement -m with QemuOpts
  cmdline: implement -S with QemuOpts
  cmdline: implement -bios with QemuOpts
  cmdline: implement -localtime with QemuOpts
  cmdline: make -M a simple alias for -machine type
  cmdline: convert -smp to QemuOpts
  cmdline: reindent numa_add
  cmdline: convert -numa to QemuOpts
  cmdline: implement -nodefaults with qemuopts
  cmdline: convert -no-shutdown and -no-reboot to QemuOpts

 qemu-config.c   |   78 +++++++++++++++
 qemu-option.c   |   41 ++------
 vl.c            |  289 ++++++++++++++++++++++++++-----------------------------
 3 files changed, 225 insertions(+), 183 deletions(-)

-- 
1.7.7.6

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-03-20  9:16 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-20  8:01 [Qemu-devel] [PATCH 00/12] convert many options to QemuOpts Paolo Bonzini
2012-03-20  8:01 ` [Qemu-devel] [PATCH 01/12] vga: disable default VGA if appropriate -device is used Paolo Bonzini
2012-03-20  8:01 ` [Qemu-devel] [PATCH 02/12] QemuOpts: use strtosz Paolo Bonzini
2012-03-20  8:01 ` [Qemu-devel] [PATCH 03/12] cmdline: implement -m with QemuOpts Paolo Bonzini
2012-03-20  8:01 ` [Qemu-devel] [PATCH 04/12] cmdline: implement -S " Paolo Bonzini
2012-03-20  8:01 ` [Qemu-devel] [PATCH 05/12] cmdline: implement -bios " Paolo Bonzini
2012-03-20  8:01 ` [Qemu-devel] [PATCH 06/12] cmdline: implement -localtime " Paolo Bonzini
2012-03-20  8:01 ` [Qemu-devel] [PATCH 07/12] cmdline: make -M a simple alias for -machine type Paolo Bonzini
2012-03-20  8:01 ` [Qemu-devel] [PATCH 08/12] cmdline: convert -smp to QemuOpts Paolo Bonzini
2012-03-20  8:01 ` [Qemu-devel] [PATCH 09/12] cmdline: reindent numa_add Paolo Bonzini
2012-03-20  8:01 ` [Qemu-devel] [PATCH 10/12] cmdline: convert -numa to QemuOpts Paolo Bonzini
2012-03-20  8:01 ` [Qemu-devel] [PATCH 11/12] cmdline: implement -nodefaults with qemuopts Paolo Bonzini
2012-03-20  8:01 ` [Qemu-devel] [PATCH 12/12] cmdline: convert -no-shutdown and -no-reboot to QemuOpts Paolo Bonzini
2012-03-20  9:04   ` Peter Maydell
2012-03-20  9:15     ` Paolo Bonzini

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).