KVM: Cache kvm slot dirty bitmap size
commit563d32ba9bb92df6170a53826a174e59ae73412f
authorPeter Xu <peterx@redhat.com>
Thu, 6 May 2021 16:05:46 +0000 (6 12:05 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 26 May 2021 12:49:45 +0000 (26 14:49 +0200)
treea3f18056a423091f40179d118bdf28de6398c8b9
parent29b7e8be76a142f6715e20bc13dc61ded1b8d2a7
KVM: Cache kvm slot dirty bitmap size

Cache it too because we'll reference it more frequently in the future.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20210506160549.130416-8-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-all.c
include/sysemu/kvm_int.h