[gnome-boxes] Unset cache on disk driver for main storage



commit 9d8760e47a9f89e3d5b029108dd9091b65b7be9a
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sat Feb 25 02:47:24 2012 +0200

    Unset cache on disk driver for main storage
    
    https://bugzilla.gnome.org/show_bug.cgi?id=670777

 src/vm-configurator.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
index 5f290e4..79c0152 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -151,6 +151,7 @@ private class Boxes.VMConfigurator {
         disk.set_source (target_path);
         disk.set_target_dev ("hda");
         disk.set_target_bus (DomainDiskBus.IDE);
+        disk.set_driver_cache (DomainDiskCacheType.NONE);
 
         domain.add_device (disk);
     }



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