pub fn get_bdev(slot_idx: usize) -> Option<&'static VirtIoBlock>
Expand description
Get block device.
- Slot 0: Kernel image. For debugging purpose.
- Slot 1: Filesystem disk 1.
pub fn get_bdev(slot_idx: usize) -> Option<&'static VirtIoBlock>
Get block device.