QemuOpts: switch over -device.

Make -device switch use the QemuOpts framework.
Everything should continue to work like it did before.

New: "-set device.$id.$property=$value" works.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
This commit is contained in:
Gerd Hoffmann 2009-07-31 12:25:37 +02:00 committed by Anthony Liguori
parent d058fe03e5
commit f31d07d175
5 changed files with 73 additions and 56 deletions

View file

@ -1,3 +1,4 @@
extern QemuOptsList qemu_drive_opts;
extern QemuOptsList qemu_device_opts;
int qemu_set_option(const char *str);