Blue screen when disk uses cache='writeback'
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| qemu (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
I am running Windows 2008R2 as KVM guest on Ubuntu 12.04 hypervisor. Disk controller and network card are virtio devices with drivers from https:/
Everything worked fine until I changed disk controller cache from the default (writethrough) to writeback. This introduced occasional blue screens. I noticed that they are linked to high disk IO. For example restoring over 1GB of backup files will results in a blue screen on around 4 out of 5 attempts. Also Windows update crashes the system sometimes. When idle the system will run fine for hours or sometimes even days.
After removing cache='writeback' from the config everything came back to normal.
qemu-kvm:
Installed: 1.0+noroms-
Candidate: 1.0+noroms-
Version table:
*** 1.0+noroms-
500 http://
100 /var/lib/
1.
500 http://
1.
500 http://
| affects: | qemu → qemu (Ubuntu) |

Hi Jacek,
I haven't seen other writeback related crashes and the info so far isn't enough to debug anything.
Did you get any related host logs on the crashes. libvirt/ qemu/<guestname >.log?
In dmesg or the guest log in /var/log/