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



commit 85a9eac3b32f8d05f1b6b17d5b07233e3fde04cf
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]