diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-07-15 13:59:26 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-27 08:39:29 -0500 |
commit | bd3c948db739a6c9c5e42ec838ef1220beea8e4e (patch) | |
tree | 87f710249e970c7d683e473d3aed646524d27031 /qemu-options.hx | |
parent | 8ffb1bcf56a4b62d80c8dbefa715cd16394255e0 (diff) |
qdev: add -device command line option.
The -device switch is the users frontend to the qdev_device_add function
added by the previous patch.
Also adds a linked list where command line options can be saved.
Use it for the new -device and for the -usbdevice and -bt switches.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r-- | qemu-options.hx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-options.hx b/qemu-options.hx index a58287cbff..560944d767 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -381,6 +381,8 @@ Network adapter that supports CDC ethernet and RNDIS protocols. @end table ETEXI +DEF("device", HAS_ARG, QEMU_OPTION_device, + "-device driver[,options] add device\n") DEF("name", HAS_ARG, QEMU_OPTION_name, "-name string1[,process=string2] set the name of the guest\n" " string1 sets the window title and string2 the process name (on Linux)\n") |