machine: package all init arguments into a QemuOpts (v2)
commitedd769fed331791a88cb89186a1e664c5e43af04
authorAnthony Liguori <aliguori@us.ibm.com>
Fri, 4 Jun 2010 13:41:38 +0000 (4 08:41 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 4 Jun 2010 14:22:17 +0000 (4 09:22 -0500)
tree35548968d315551a33f153fd9f6e0b83ee256dc5
parent358c360feb346dff8f911e2d1dbcdd6319393f1d
machine: package all init arguments into a QemuOpts (v2)

This patch creates a QemuOpts structure and stores all of the machine init
arguments in that structure.  It introduces a temporary list of QemuOptDescs
in vl.c such that the current common options can be validated.

The long term vision is that that list becomes a #define and that each machine
can optionally provide it's own QemuOptDescs list using the common options as
a base.  This enables per-machine options.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
--
v1 -> v2:
  - cpu_model -> cpu
qemu-config.c
qemu-config.h
vl.c