block_util: Port synchronous QCOW file to AsyncIo trait

Based on the synchronous QCOW file implementation present in the qcow
crate, we created a new qcow_sync module in block_util that ports this
synchronous implementation to the AsyncIo trait.

The point is to reuse virtio-blk asynchronous implementation for both
synchronous and asynchronous backends.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2021-01-22 09:56:38 +01:00
committed by Rob Bradford
parent 9fc86a91e2
commit 12e20effd7
4 changed files with 207 additions and 57 deletions

View File

@@ -14,6 +14,7 @@ extern crate log;
extern crate serde_derive;
pub mod async_io;
pub mod qcow_sync;
pub mod raw_async;
pub mod raw_sync;