mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -1637,6 +1637,7 @@ dependencies = [
|
||||
"serde_json",
|
||||
"test_infra",
|
||||
"thiserror",
|
||||
"vm-memory",
|
||||
"vmm-sys-util",
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user