diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-03-11 11:13:27 -0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-09-21 18:36:42 +0200 |
commit | 29b0040be6371c403dae0fef7fec36b814e300e8 (patch) | |
tree | 04c22eb647ed3d1985cb84adb5a82ec07374b9fe /qemu-config.c | |
parent | cd4ec0b4d169faba8cc03a16b361700e32a83bd6 (diff) | |
download | hqemu-29b0040be6371c403dae0fef7fec36b814e300e8.zip hqemu-29b0040be6371c403dae0fef7fec36b814e300e8.tar.gz |
spice: core bits
Add -spice command line switch. Has support setting passwd and port for
now. With this patch applied the spice client can successfully connect
to qemu. You can't do anything useful yet though.
Diffstat (limited to 'qemu-config.c')
-rw-r--r-- | qemu-config.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/qemu-config.c b/qemu-config.c index e3b746c..5c6ae63 100644 --- a/qemu-config.c +++ b/qemu-config.c @@ -351,6 +351,24 @@ static QemuOptsList qemu_cpudef_opts = { }, }; +QemuOptsList qemu_spice_opts = { + .name = "spice", + .head = QTAILQ_HEAD_INITIALIZER(qemu_spice_opts.head), + .desc = { + { + .name = "port", + .type = QEMU_OPT_NUMBER, + },{ + .name = "password", + .type = QEMU_OPT_STRING, + },{ + .name = "disable-ticketing", + .type = QEMU_OPT_BOOL, + }, + { /* end if list */ } + }, +}; + static QemuOptsList *vm_config_groups[32] = { &qemu_drive_opts, &qemu_chardev_opts, |