« Previous | Next » 

Revision 9315cbfd

ID9315cbfd8d7074eca44fbc5f93902e97b27d5240

Added by Paolo Bonzini almost 12 years ago

virtio-blk: disable write cache if not negotiated

If the guest does not support flushes, we should run in writethrough mode.
The setting is temporary until the next reset, so that for example the
BIOS will run in writethrough mode while Linux will run with a writeback
cache.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences