Loading qemu-options.hx +2 −1 Original line number Diff line number Diff line Loading @@ -953,7 +953,7 @@ DEF("spice", HAS_ARG, QEMU_OPTION_spice, "-spice [port=port][,tls-port=secured-port][,x509-dir=<dir>]\n" " [,x509-key-file=<file>][,x509-key-password=<file>]\n" " [,x509-cert-file=<file>][,x509-cacert-file=<file>]\n" " [,x509-dh-key-file=<file>][,addr=addr][,ipv4|ipv6]\n" " [,x509-dh-key-file=<file>][,addr=addr][,ipv4|ipv6|unix]\n" " [,tls-ciphers=<list>]\n" " [,tls-channel=[main|display|cursor|inputs|record|playback]]\n" " [,plaintext-channel=[main|display|cursor|inputs|record|playback]]\n" Loading Loading @@ -982,6 +982,7 @@ Set the IP address spice is listening on. Default is any address. @item ipv4 @item ipv6 @item unix Force using the specified IP version. @item password=<secret> Loading ui/spice-core.c +9 −0 Original line number Diff line number Diff line Loading @@ -436,6 +436,11 @@ static QemuOptsList qemu_spice_opts = { },{ .name = "ipv6", .type = QEMU_OPT_BOOL, #ifdef SPICE_ADDR_FLAG_UNIX_ONLY },{ .name = "unix", .type = QEMU_OPT_BOOL, #endif },{ .name = "password", .type = QEMU_OPT_STRING, Loading Loading @@ -708,6 +713,10 @@ void qemu_spice_init(void) addr_flags |= SPICE_ADDR_FLAG_IPV4_ONLY; } else if (qemu_opt_get_bool(opts, "ipv6", 0)) { addr_flags |= SPICE_ADDR_FLAG_IPV6_ONLY; #ifdef SPICE_ADDR_FLAG_UNIX_ONLY } else if (qemu_opt_get_bool(opts, "unix", 0)) { addr_flags |= SPICE_ADDR_FLAG_UNIX_ONLY; #endif } spice_server = spice_server_new(); Loading Loading
qemu-options.hx +2 −1 Original line number Diff line number Diff line Loading @@ -953,7 +953,7 @@ DEF("spice", HAS_ARG, QEMU_OPTION_spice, "-spice [port=port][,tls-port=secured-port][,x509-dir=<dir>]\n" " [,x509-key-file=<file>][,x509-key-password=<file>]\n" " [,x509-cert-file=<file>][,x509-cacert-file=<file>]\n" " [,x509-dh-key-file=<file>][,addr=addr][,ipv4|ipv6]\n" " [,x509-dh-key-file=<file>][,addr=addr][,ipv4|ipv6|unix]\n" " [,tls-ciphers=<list>]\n" " [,tls-channel=[main|display|cursor|inputs|record|playback]]\n" " [,plaintext-channel=[main|display|cursor|inputs|record|playback]]\n" Loading Loading @@ -982,6 +982,7 @@ Set the IP address spice is listening on. Default is any address. @item ipv4 @item ipv6 @item unix Force using the specified IP version. @item password=<secret> Loading
ui/spice-core.c +9 −0 Original line number Diff line number Diff line Loading @@ -436,6 +436,11 @@ static QemuOptsList qemu_spice_opts = { },{ .name = "ipv6", .type = QEMU_OPT_BOOL, #ifdef SPICE_ADDR_FLAG_UNIX_ONLY },{ .name = "unix", .type = QEMU_OPT_BOOL, #endif },{ .name = "password", .type = QEMU_OPT_STRING, Loading Loading @@ -708,6 +713,10 @@ void qemu_spice_init(void) addr_flags |= SPICE_ADDR_FLAG_IPV4_ONLY; } else if (qemu_opt_get_bool(opts, "ipv6", 0)) { addr_flags |= SPICE_ADDR_FLAG_IPV6_ONLY; #ifdef SPICE_ADDR_FLAG_UNIX_ONLY } else if (qemu_opt_get_bool(opts, "unix", 0)) { addr_flags |= SPICE_ADDR_FLAG_UNIX_ONLY; #endif } spice_server = spice_server_new(); Loading