diff options
author | Peter Xu | 2019-06-03 08:50:52 +0200 |
---|---|---|
committer | Juan Quintela | 2019-07-15 15:39:02 +0200 |
commit | 4a12a11a39a6d8399dd222ae2cebe08a8529224a (patch) | |
tree | 32622f620c07b6653ed17051e2113c34c79a1c96 /accel/kvm/kvm-all.c | |
parent | memory: Introduce memory listener hook log_clear() (diff) | |
download | qemu-4a12a11a39a6d8399dd222ae2cebe08a8529224a.tar.gz qemu-4a12a11a39a6d8399dd222ae2cebe08a8529224a.tar.xz qemu-4a12a11a39a6d8399dd222ae2cebe08a8529224a.zip |
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>
Diffstat (limited to 'accel/kvm/kvm-all.c')
-rw-r--r-- | accel/kvm/kvm-all.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c index 3d86ae5052..a3df19da56 100644 --- a/accel/kvm/kvm-all.c +++ b/accel/kvm/kvm-all.c @@ -478,13 +478,13 @@ static int kvm_get_dirty_pages_log_range(MemoryRegionSection *section, #define ALIGN(x, y) (((x)+(y)-1) & ~((y)-1)) /** - * kvm_physical_sync_dirty_bitmap - Grab 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. + * kvm_physical_sync_dirty_bitmap - Sync dirty bitmap from kernel space * - * @start_add: start of logged region. - * @end_addr: end of logged region. + * This function will first try to fetch dirty bitmap from the kernel, + * 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, MemoryRegionSection *section) |