cloud-hypervisor/block_util/src
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
..
async_io.rs block_util: Add new traits for handling disk files asynchronously 2021-01-22 16:10:34 +00:00
fixed_vhd_async.rs block_util, vmm: Add fixed VHD asynchronous implementation 2021-02-01 13:45:08 +00:00
fixed_vhd_sync.rs block_util: Add synchronous support for fixed VHD disk files 2021-02-01 13:45:08 +00:00
lib.rs block_util: Mark dirty pages manually with "VolatileSlice::as_ptr()" 2021-06-03 08:34:45 +01:00
qcow_sync.rs block_util: Factorize common code for synchronous implementations 2021-01-22 16:10:34 +00:00
raw_async.rs deps: bump io-uring from 0.4.0 to 0.5.0 2021-03-01 11:08:25 +00:00
raw_sync.rs block_util: Simplify RAW synchronous implementation 2021-02-01 13:45:08 +00:00
vhd.rs block_util: Use vmm_sys_util::tempfile::Tempfile 2021-02-22 14:29:53 +01:00