[gnome-boxes] libvirt-machine: Cloned VM inherits last access time



commit 8470634c63c480a85dbabc28c773b521d4d7a951
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu May 5 18:05:35 2016 +0100

    libvirt-machine: Cloned VM inherits last access time
    
    This ensures that a cloned VM appears right next to it's source VM.

 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 205d7a1..3b13d1d 100644
--- a/src/libvirt-machine.vala
+++ b/src/libvirt-machine.vala
@@ -696,7 +696,7 @@ private class Boxes.LibvirtMachine: Boxes.Machine {
             var media = new LibvirtClonedMedia (storage_volume.get_path (), config);
             var vm_cloner = media.get_vm_creator ();
             var clone_machine = yield vm_cloner.create_vm (null);
-            vm_cloner.launch_vm (clone_machine);
+            vm_cloner.launch_vm (clone_machine, this.config.access_last_time);
 
             ulong under_construct_id = 0;
             under_construct_id = clone_machine.notify["under-construction"].connect (() => {


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