virtio-devices: Rename BlockIoUring to Block

Now that BlockIoUring is the only implementation of virtio-block,
handling both synchronous and asynchronous backends based on the
AsyncIo trait, we can rename it to Block.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2021-01-22 11:15:13 +01:00
committed by Rob Bradford
parent 41cfdb50cd
commit 2824642e80
5 changed files with 27 additions and 27 deletions

View File

@@ -1670,7 +1670,7 @@ impl DeviceManager {
};
let dev = Arc::new(Mutex::new(
virtio_devices::BlockIoUring::new(
virtio_devices::Block::new(
id.clone(),
image,
disk_cfg