vmm: Rely on virtio-blk io_uring when possible

In case the host supports io_uring and the specific io_uring options
needed, the VMM will choose the asynchronous version of virtio-blk.
This will enable better I/O performances compared to the default
synchronous version.

This is also important to note the VMM won't be able to use the
asynchronous version if the backend image is in QCOW format.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2020-07-30 12:44:05 +02:00
committed by Rob Bradford
parent 64283726e7
commit 917027c55b
4 changed files with 88 additions and 52 deletions

1
Cargo.lock generated
View File

@@ -1613,6 +1613,7 @@ dependencies = [
"anyhow",
"arc-swap",
"arch",
"block_util",
"clap",
"credibility",
"devices",