[gnome-boxes] libvirt-machine: Don't autosave live & installation



commit a70546c9eb3786454a8259ccb0850d8a68fefbeb
Author: Zeeshan Ali <zeenix gmail com>
Date:   Wed Oct 5 15:38:21 2016 +0200

    libvirt-machine: Don't autosave live & installation
    
    Express installation is not available for all OSes so it's not a very rare
    case to have multiple (non-express) installations running in background.
    Also it installation from a live session is a pretty common case now. So
    let's just not do autosave for all live and under-installation VMs, not
    just express installed ones.

 src/libvirt-machine.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libvirt-machine.vala b/src/libvirt-machine.vala
index b841069..28e708d 100644
--- a/src/libvirt-machine.vala
+++ b/src/libvirt-machine.vala
@@ -42,7 +42,7 @@ private class Boxes.LibvirtMachine: Boxes.Machine {
             return (base.should_autosave &&
                     connection == App.app.default_connection &&
                     !run_in_bg &&
-                    (vm_creator == null || !vm_creator.express_install));
+                    vm_creator == null);
         }
     }
 


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