Commit graph

6 commits

Author SHA1 Message Date
Xi Wang cd00a8233a port virtio_disk to virtio spec 1.0+
The legacy interface is confusing. It's better to make virtio_disk
conform to the virtio spec. This is supported in QEMU since 4.2 by
disabling force-legacy for virtio-mmio.
2021-10-17 23:05:09 -07:00
Robert Morris 3092fe2c9e improve virtio_disk comments; bring it closer to wording in the spec 2020-10-05 19:30:27 -04:00
Frans Kaashoek af6c35e14b Introduce alloc3_desc and UsedArea to make code easier to read 2019-07-01 08:20:35 -04:00
Robert Morris 46744c4a13 for spinlocks, use gcc intrinsics, but say what they compile to 2019-06-13 10:00:50 -04:00
Robert Morris ca39672a30 clean up virtio code 2019-06-13 09:40:17 -04:00
Robert Morris de9d72c908 virtio disk driver 2019-06-13 06:49:02 -04:00