Re: [Qemu-devel] [PATCH] Add cache=unsafe parameter to -drive

2010-05-26 Thread Aurelien Jarno
On Wed, May 26, 2010 at 05:51:49PM +0200, Alexander Graf wrote: > Usually the guest can tell the host to flush data to disk. In some cases we > don't want to flush though, but try to keep everything in cache. > > So let's add a new cache value to -drive that allows us to set the cache > policy to

[Qemu-devel] [PATCH] Add cache=unsafe parameter to -drive

2010-05-26 Thread Alexander Graf
Usually the guest can tell the host to flush data to disk. In some cases we don't want to flush though, but try to keep everything in cache. So let's add a new cache value to -drive that allows us to set the cache policy to most aggressive, disabling flushes. We call this mode "unsafe", as guest d