cloud-hypervisor/block_util
Bo Chen 1b87f332b0 block_util: Mark dirty pages manually with "VolatileSlice::as_ptr()"
As discussed in the working PR in the upstream vm-memory crate repo,
some special functions (e.g. return raw pointers to the wrapped guest
memory) require manual dirty page tracking from their users (e.g.the
VMM). One of the special functions is `VolatileSlice::as_ptr(), which is
used in our code base for supporting async block I/O. This patch
manually mark dirty for guest pages touched while reading from block
devices.

Signed-off-by: Bo Chen <chen.bo@intel.com>
2021-06-03 08:34:45 +01:00
..
src block_util: Mark dirty pages manually with "VolatileSlice::as_ptr()" 2021-06-03 08:34:45 +01:00
Cargo.toml misc: Upgrade to use the vm-memory crate w/ dirty-page-tracking 2021-06-03 08:34:45 +01:00