aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2021-05-06 12:05:43 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2021-05-26 14:49:45 +0200
commite65e5f50db0a54a69cc62c2118d010244bf133ac (patch)
tree8bd85f1afebebcc779487a94f36d93eeedf700d7 /hw
parentea776d15adc021a9f38179d27227a7f4d90a8698 (diff)
downloadqemu-e65e5f50db0a54a69cc62c2118d010244bf133ac.zip
qemu-e65e5f50db0a54a69cc62c2118d010244bf133ac.tar.gz
qemu-e65e5f50db0a54a69cc62c2118d010244bf133ac.tar.bz2
KVM: Provide helper to get kvm dirty log
Provide a helper kvm_slot_get_dirty_log() to make the function kvm_physical_sync_dirty_bitmap() clearer. We can even cache the as_id into KVMSlot when it is created, so that we don't even need to pass it down every time. Since at it, remove return value of kvm_physical_sync_dirty_bitmap() because it should never fail. Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <20210506160549.130416-5-peterx@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions