mirror of
https://github.com/qemu/qemu.git
synced 2025-08-08 08:05:17 +00:00
kvm: Update comments for sync_dirty_bitmap
It's obviously obsolete. Do some update. Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Message-Id: <20190603065056.25211-8-peterx@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
077874e01f
commit
4a12a11a39
@ -478,13 +478,13 @@ static int kvm_get_dirty_pages_log_range(MemoryRegionSection *section,
|
|||||||
#define ALIGN(x, y) (((x)+(y)-1) & ~((y)-1))
|
#define ALIGN(x, y) (((x)+(y)-1) & ~((y)-1))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* kvm_physical_sync_dirty_bitmap - Grab dirty bitmap from kernel space
|
* kvm_physical_sync_dirty_bitmap - Sync dirty bitmap from kernel space
|
||||||
* This function updates qemu's dirty bitmap using
|
|
||||||
* memory_region_set_dirty(). This means all bits are set
|
|
||||||
* to dirty.
|
|
||||||
*
|
*
|
||||||
* @start_add: start of logged region.
|
* This function will first try to fetch dirty bitmap from the kernel,
|
||||||
* @end_addr: end of logged region.
|
* and then updates qemu's dirty bitmap.
|
||||||
|
*
|
||||||
|
* @kml: the KVM memory listener object
|
||||||
|
* @section: the memory section to sync the dirty bitmap with
|
||||||
*/
|
*/
|
||||||
static int kvm_physical_sync_dirty_bitmap(KVMMemoryListener *kml,
|
static int kvm_physical_sync_dirty_bitmap(KVMMemoryListener *kml,
|
||||||
MemoryRegionSection *section)
|
MemoryRegionSection *section)
|
||||||
|
Loading…
Reference in New Issue
Block a user