performance-metrics: Use owned async block I/O

Switch the in-process block microbenchmarks to allocate prefaulted
GuestMemory regions and submit through the memory-target AsyncIo API.

This adds a few setup steps as the existing benchmarks relied on the
unsound iovec API. The new behavior is intended to be as close as
possible to the existing tests and the common path for running
cloud-hypervisor.

Assisted-by: Codex:GPT-5.5
Assisted-by: Claude:Opus-4.7
Signed-off-by: Dylan Reid <dgreid@fb.com>
This commit is contained in:
Dylan Reid
2026-05-22 14:41:18 -07:00
committed by Rob Bradford
parent 358f7671ff
commit 1dfc642e9a
4 changed files with 237 additions and 142 deletions

1
Cargo.lock generated
View File

@@ -1637,6 +1637,7 @@ dependencies = [
"serde_json",
"test_infra",
"thiserror",
"vm-memory",
"vmm-sys-util",
]