qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] spice: Add -spice disable-agent-file-transfer cmdline option (rhbz#961850)
@ 2013-06-06 15:01 Hans de Goede
  0 siblings, 0 replies; 4+ messages in thread
From: Hans de Goede @ 2013-06-06 15:01 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: Hans de Goede, qemu-devel

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 ui/spice-core.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/ui/spice-core.c b/ui/spice-core.c
index bcc4199..2faac93 100644
--- a/ui/spice-core.c
+++ b/ui/spice-core.c
@@ -446,6 +446,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,
         },{
@@ -739,6 +742,15 @@ 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) {
-- 
1.8.2.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [Qemu-devel] [PATCH 0/1] spice: Add -spice disable-agent-file-transfer cmdline option (v2)
@ 2013-06-06 15:18 Hans de Goede
  2013-06-06 15:18 ` [Qemu-devel] [PATCH] spice: Add -spice disable-agent-file-transfer cmdline option (rhbz#961850) Hans de Goede
  0 siblings, 1 reply; 4+ messages in thread
From: Hans de Goede @ 2013-06-06 15:18 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: qemu-devel

Hi All,

Now with documentation for the new option...

Regards,

Hans

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [Qemu-devel] [PATCH 0/1] spice: Add -spice disable-agent-file-transfer cmdline option (v3)
@ 2013-06-08 13:37 Hans de Goede
  2013-06-08 13:37 ` [Qemu-devel] [PATCH] spice: Add -spice disable-agent-file-transfer cmdline option (rhbz#961850) Hans de Goede
  0 siblings, 1 reply; 4+ messages in thread
From: Hans de Goede @ 2013-06-08 13:37 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: qemu-devel

Hi All,

And here is v3 of this patch, history:

v2: Add documentation for the new cmdline option
v3: Break a line which was longer then 80 chars

Regards,

Hans

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-11  5:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-06 15:01 [Qemu-devel] [PATCH] spice: Add -spice disable-agent-file-transfer cmdline option (rhbz#961850) Hans de Goede
  -- strict thread matches above, loose matches on Subject: below --
2013-06-06 15:18 [Qemu-devel] [PATCH 0/1] spice: Add -spice disable-agent-file-transfer cmdline option (v2) Hans de Goede
2013-06-06 15:18 ` [Qemu-devel] [PATCH] spice: Add -spice disable-agent-file-transfer cmdline option (rhbz#961850) Hans de Goede
2013-06-08 13:37 [Qemu-devel] [PATCH 0/1] spice: Add -spice disable-agent-file-transfer cmdline option (v3) Hans de Goede
2013-06-08 13:37 ` [Qemu-devel] [PATCH] spice: Add -spice disable-agent-file-transfer cmdline option (rhbz#961850) Hans de Goede
2013-06-11  5:56   ` Gerd Hoffmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).