aboutsummaryrefslogtreecommitdiff
path: root/qemu-config.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-03-11 11:13:32 -0300
committerGerd Hoffmann <kraxel@redhat.com>2010-10-08 12:49:51 +0200
commitc448e8552b0f6135dabddf944a7110f929c08320 (patch)
treeae59702704c61d71858722ea409a2d57a290283a /qemu-config.c
parent4447d609688e75a40a10b559e3b6ae83843e3095 (diff)
spice: tls support
Add options to the -spice command line switch to setup tls.
Diffstat (limited to 'qemu-config.c')
-rw-r--r--qemu-config.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/qemu-config.c b/qemu-config.c
index 32917cbda4..26748a5b7a 100644
--- a/qemu-config.c
+++ b/qemu-config.c
@@ -362,11 +362,35 @@ QemuOptsList qemu_spice_opts = {
.name = "port",
.type = QEMU_OPT_NUMBER,
},{
+ .name = "tls-port",
+ .type = QEMU_OPT_NUMBER,
+ },{
.name = "password",
.type = QEMU_OPT_STRING,
},{
.name = "disable-ticketing",
.type = QEMU_OPT_BOOL,
+ },{
+ .name = "x509-dir",
+ .type = QEMU_OPT_STRING,
+ },{
+ .name = "x509-key-file",
+ .type = QEMU_OPT_STRING,
+ },{
+ .name = "x509-key-password",
+ .type = QEMU_OPT_STRING,
+ },{
+ .name = "x509-cert-file",
+ .type = QEMU_OPT_STRING,
+ },{
+ .name = "x509-cacert-file",
+ .type = QEMU_OPT_STRING,
+ },{
+ .name = "x509-dh-key-file",
+ .type = QEMU_OPT_STRING,
+ },{
+ .name = "tls-ciphers",
+ .type = QEMU_OPT_STRING,
},
{ /* end if list */ }
},