From 29b0040be6371c403dae0fef7fec36b814e300e8 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 11 Mar 2010 11:13:27 -0300 Subject: 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. --- qemu-config.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'qemu-config.c') diff --git a/qemu-config.c b/qemu-config.c index e3b746cc2..5c6ae6327 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, -- cgit v1.2.3