Function panda_sys::memory_region_get_dirty[][src]

pub unsafe extern "C" fn memory_region_get_dirty(
    mr: *mut MemoryRegion,
    addr: hwaddr,
    size: hwaddr,
    client: c_uint
) -> bool
Expand description

memory_region_get_dirty: Check whether a range of bytes is dirty for a specified client.

Checks whether a range of bytes has been written to since the last call to memory_region_reset_dirty() with the same @client. Dirty logging must be enabled.

@mr: the memory region being queried. @addr: the address (relative to the start of the region) being queried. @size: the size of the range being queried. @client: the user of the logging information; %DIRTY_MEMORY_MIGRATION or %DIRTY_MEMORY_VGA.