vm_memory/
bitmap.rs

1// Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2// SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
3
4//! This module holds abstractions that enable tracking the areas dirtied by writes of a specified
5//! length to a given offset. In particular, this is used to track write accesses within a
6//! `GuestMemoryRegion` object, and the resulting bitmaps can then be aggregated to build the
7//! global view for an entire `GuestMemory` object.
8
9#[cfg(feature = "backend-bitmap")]
10pub use vm_memory_new::bitmap::{ArcSlice, AtomicBitmap, RefSlice};
11
12pub use vm_memory_new::bitmap::{Bitmap, BitmapSlice, NewBitmap, WithBitmapSlice, BS, MS};