diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2012-08-09 16:07:20 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2012-08-10 10:25:12 +0200 |
| commit | 9315cbfd8d7074eca44fbc5f93902e97b27d5240 (patch) | |
| tree | 593ae6bf75d47063a3a4604cd2ea25c33c207aae /json-parser.c | |
| parent | 13e3dce068773c971ff2f19d986378c55897c4a3 (diff) | |
| download | focaccia-qemu-9315cbfd8d7074eca44fbc5f93902e97b27d5240.tar.gz focaccia-qemu-9315cbfd8d7074eca44fbc5f93902e97b27d5240.zip | |
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 <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'json-parser.c')
0 files changed, 0 insertions, 0 deletions