Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
python-virtinst
virtinst-add-cache-modes.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virtinst-add-cache-modes.diff of Package python-virtinst
Index: virtinst-0.600.2/virtinst/VirtualDisk.py =================================================================== --- virtinst-0.600.2.orig/virtinst/VirtualDisk.py +++ virtinst-0.600.2/virtinst/VirtualDisk.py @@ -301,10 +301,13 @@ class VirtualDisk(VirtualDevice): driver_types = [DRIVER_TAP_RAW, DRIVER_TAP_QCOW, DRIVER_TAP_QED, DRIVER_TAP_VMDK, DRIVER_TAP_VDISK] + CACHE_MODE_DIRECTSYNC = "directsync" CACHE_MODE_NONE = "none" + CACHE_MODE_UNSAFE = "unsafe" CACHE_MODE_WRITETHROUGH = "writethrough" CACHE_MODE_WRITEBACK = "writeback" - cache_types = [CACHE_MODE_NONE, CACHE_MODE_WRITETHROUGH, + cache_types = [CACHE_MODE_DIRECTSYNC, CACHE_MODE_NONE, + CACHE_MODE_UNSAFE, CACHE_MODE_WRITETHROUGH, CACHE_MODE_WRITEBACK] DEVICE_DISK = "disk" @@ -585,7 +588,7 @@ class VirtualDisk(VirtualDevice): @type bus: C{str} @param shareable: If disk can be shared among VMs @type shareable: C{bool} - @param driverCache: Disk cache mode (none, writethrough, writeback) + @param driverCache: Disk cache mode (none, directsync, unsafe, writethrough, writeback) @type driverCache: member of cache_types @param selinuxLabel: Used for labelling new or relabel existing storage @type selinuxLabel: C{str}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor