Peter Xu e65e5f50db 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>
2021-05-26 14:49:45 +02:00
..
2021-03-12 12:40:10 +00:00
2019-07-02 13:37:00 +02:00
2021-03-15 11:01:23 +01:00
2020-10-05 16:41:22 +02:00
2021-02-16 17:15:39 +01:00
2021-01-07 05:09:41 -10:00
2020-11-15 16:44:18 +01:00
2020-09-09 09:27:09 -04:00