cloud-hypervisor/vm-virtio
Rob Bradford 9101bdd7a9 vm-virtio: block: Ensure backing file consistency
Correctly implement the virtio specification by setting the writeback
field on the request based on the algorithm in the spec.

TEST=Boot with hypervisor-firmware with CH in verbose mode. See info
level messages saying cache mode is writethrough in firmware (no support
for flush or WCE). Once in the Linux kernel see messages that mode is
writeback.

Fixes: #1216
Fixes: #680

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-05-21 08:40:43 +02:00
..
src vm-virtio: block: Ensure backing file consistency 2020-05-21 08:40:43 +02:00
Cargo.toml build: Use same virtio-bindings version 2020-05-20 12:55:59 +02:00