Andrew Walbran
|
af366563b8
Factor out helper methods to send requests.
|
1 year ago |
Andrew Walbran
|
098c5fb0c1
Add support for getting device ID.
|
1 year ago |
Andrew Walbran
|
446881e103
Add new feature and request type constants from VirtIO 1.2.
|
1 year ago |
Andrew Walbran
|
a6d6aebed9
Add support for flushing block device.
|
1 year ago |
Andrew Walbran
|
2b545f5eb0
Use AtomicBool for fake queue notification status.
|
2 years ago |
Andrew Walbran
|
9a21715e0d
Factor out helper method to wait for queue.
|
2 years ago |
Andrew Walbran
|
713ac2f890
Update to latest version of bitflags crate.
|
2 years ago |
Andrew Walbran
|
62fbbdc164
Try taking buffers by reference rather than pointer.
|
2 years ago |
Andrew Walbran
|
4b6045b8f3
Suppress available buffer notifications if the device asks to.
|
2 years ago |
Andrew Walbran
|
63b964c1aa
Test reading and writing block device.
|
2 years ago |
Andrew Walbran
|
72e5aaee34
Make queue size a const generic parameter.
|
2 years ago |
Andrew Walbran
|
66b081ebcf
Improve error reporting of VirtIOBlk (#52)
|
2 years ago |
Andrew Walbran
|
90d508a8aa
Unshare buffers in pop_used.
|
2 years ago |
Andrew Walbran
|
43804de05b
Take token as parameter to pop_used rather than returning it.
|
2 years ago |
Andrew Walbran
|
352e7cc2ee
Reword Rustdoc comment.
|
2 years ago |
Andrew Walbran
|
1dd9f61a1a
Tidy up imports in examples.
|
2 years ago |
Andrew Walbran
|
cdeb49198d
Make modules public rather than re-exporting all their contents.
|
2 years ago |
Andrew Walbran
|
7d9ef6910f
Move devices into a separate module.
|
2 years ago |