Loading qemu-options.hx +5 −2 Original line number Diff line number Diff line Loading @@ -917,8 +917,8 @@ DEF("spice", HAS_ARG, QEMU_OPTION_spice, " [,jpeg-wan-compression=[auto|never|always]]\n" " [,zlib-glz-wan-compression=[auto|never|always]]\n" " [,streaming-video=[off|all|filter]][,disable-copy-paste]\n" " [,agent-mouse=[on|off]][,playback-compression=[on|off]]\n" " [,seamless-migration=[on|off]]\n" " [,disable-agent-file-xfer][,agent-mouse=[on|off]]\n" " [,playback-compression=[on|off]][,seamless-migration=[on|off]]\n" " enable spice\n" " at least one of {port, tls-port} is mandatory\n", QEMU_ARCH_ALL) Loading Loading @@ -961,6 +961,9 @@ Allow client connects without authentication. @item disable-copy-paste Disable copy paste between the client and the guest. @item disable-agent-file-xfer Disable spice-vdagent based file-xfer between the client and the guest. @item tls-port=<nr> Set the TCP port spice is listening on for encrypted channels. Loading ui/spice-core.c +13 −0 Original line number Diff line number Diff line Loading @@ -445,6 +445,9 @@ static QemuOptsList qemu_spice_opts = { },{ .name = "disable-copy-paste", .type = QEMU_OPT_BOOL, },{ .name = "disable-agent-file-xfer", .type = QEMU_OPT_BOOL, },{ .name = "sasl", .type = QEMU_OPT_BOOL, Loading Loading @@ -739,6 +742,16 @@ void qemu_spice_init(void) spice_server_set_agent_copypaste(spice_server, false); } if (qemu_opt_get_bool(opts, "disable-agent-file-xfer", 0)) { #if SPICE_SERVER_VERSION >= 0x000c04 spice_server_set_agent_file_xfer(spice_server, false); #else error_report("this qemu build does not support the " "\"disable-agent-file-xfer\" option"); exit(1); #endif } compression = SPICE_IMAGE_COMPRESS_AUTO_GLZ; str = qemu_opt_get(opts, "image-compression"); if (str) { Loading Loading
qemu-options.hx +5 −2 Original line number Diff line number Diff line Loading @@ -917,8 +917,8 @@ DEF("spice", HAS_ARG, QEMU_OPTION_spice, " [,jpeg-wan-compression=[auto|never|always]]\n" " [,zlib-glz-wan-compression=[auto|never|always]]\n" " [,streaming-video=[off|all|filter]][,disable-copy-paste]\n" " [,agent-mouse=[on|off]][,playback-compression=[on|off]]\n" " [,seamless-migration=[on|off]]\n" " [,disable-agent-file-xfer][,agent-mouse=[on|off]]\n" " [,playback-compression=[on|off]][,seamless-migration=[on|off]]\n" " enable spice\n" " at least one of {port, tls-port} is mandatory\n", QEMU_ARCH_ALL) Loading Loading @@ -961,6 +961,9 @@ Allow client connects without authentication. @item disable-copy-paste Disable copy paste between the client and the guest. @item disable-agent-file-xfer Disable spice-vdagent based file-xfer between the client and the guest. @item tls-port=<nr> Set the TCP port spice is listening on for encrypted channels. Loading
ui/spice-core.c +13 −0 Original line number Diff line number Diff line Loading @@ -445,6 +445,9 @@ static QemuOptsList qemu_spice_opts = { },{ .name = "disable-copy-paste", .type = QEMU_OPT_BOOL, },{ .name = "disable-agent-file-xfer", .type = QEMU_OPT_BOOL, },{ .name = "sasl", .type = QEMU_OPT_BOOL, Loading Loading @@ -739,6 +742,16 @@ void qemu_spice_init(void) spice_server_set_agent_copypaste(spice_server, false); } if (qemu_opt_get_bool(opts, "disable-agent-file-xfer", 0)) { #if SPICE_SERVER_VERSION >= 0x000c04 spice_server_set_agent_file_xfer(spice_server, false); #else error_report("this qemu build does not support the " "\"disable-agent-file-xfer\" option"); exit(1); #endif } compression = SPICE_IMAGE_COMPRESS_AUTO_GLZ; str = qemu_opt_get(opts, "image-compression"); if (str) { Loading