aboutsummaryrefslogtreecommitdiff
path: root/qemu-config.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-08-27 14:29:16 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-10-08 12:49:51 +0200
commit333b0eebcc8941b8453e837293eaa1191e967c25 (patch)
tree3944a985f58375d58c06a88466419ea2c17fb125 /qemu-config.c
parent17b6dea08bd8c8484bc48dc67add236d2fe002b5 (diff)
spice: add config options for the listening address
Make listening address configurable. Also add options to force using IPv4 or IPv6.
Diffstat (limited to 'qemu-config.c')
-rw-r--r--qemu-config.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/qemu-config.c b/qemu-config.c
index f52e50c377..5a62ae131d 100644
--- a/qemu-config.c
+++ b/qemu-config.c
@@ -365,6 +365,15 @@ QemuOptsList qemu_spice_opts = {
.name = "tls-port",
.type = QEMU_OPT_NUMBER,
},{
+ .name = "addr",
+ .type = QEMU_OPT_STRING,
+ },{
+ .name = "ipv4",
+ .type = QEMU_OPT_BOOL,
+ },{
+ .name = "ipv6",
+ .type = QEMU_OPT_BOOL,
+ },{
.name = "password",
.type = QEMU_OPT_STRING,
},{