[gnome-boxes] vm-configurator: Don't autoport spice in new VMs



commit c723802633a8903957b0cf50906ea3df48a7c851
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Apr 21 12:38:09 2016 +0100

    vm-configurator: Don't autoport spice in new VMs
    
    If we set autoport=true on spice display in new VMs, spice will still
    expose the VM's display on a local TCP port even if Boxes itself
    connnects to FD socket.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=738573

 src/vm-configurator.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
index 80cef3e..e646b59 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -485,7 +485,7 @@ private class Boxes.VMConfigurator {
 
     public static void add_graphics_device (Domain domain) {
         var graphics = new DomainGraphicsSpice ();
-        graphics.set_autoport (true);
+        graphics.set_autoport (false);
         graphics.set_image_compression (DomainGraphicsSpiceImageCompression.OFF);
         domain.add_device (graphics);
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]