Structs§
- Atomic
Bitmap Mmap AtomicBitmapMmap
implements a simple memory-mapped bitmap on the page level with test and set operations. The main use case is to support live migration on vhost-user backends (seeVHOST_USER_PROTOCOL_F_LOG_SHMFD
andVHOST_USER_SET_LOG_BASE
in the vhost-user protocol specification). It uses a fixed memory page size ofLOG_PAGE_SIZE
bytes, so it converts addresses to page numbers before setting or clearing the bits.- Bitmap
Mmap Region BitmapMmapRegion
implements a bitmap tha can be replaced at runtime. The main use case is to support live migration on vhost-user backends (seeVHOST_USER_PROTOCOL_F_LOG_SHMFD
andVHOST_USER_SET_LOG_BASE
in the vhost-user protocol specification). It uses a fixed memory page size ofVHOST_LOG_PAGE
bytes (i.e.,4096
bytes), so it converts addresses to page numbers before setting or clearing the bits.- Mmap
LogReg MmaplogReg
mmaps the frontend bitmap backing memory in the current process.
Traits§
- Bitmap
Replace - A
Bitmap
with an internalBitmap
that can be replaced at runtime - MemRegion
Bitmap - A bitmap relative to a memory region