qemu/accel/kvm
David Hildenbrand 67548f0965 kvm: kvm_log_sync() is only called with known memory sections
Flatview will make sure that we can only end up in this function with
memory sections that correspond to exactly one slot. So we don't
have to iterate multiple times. There won't be overlapping slots but
only matching slots.

Properly align the section and look up the corresponding slot. This
heavily simplifies this function.

We can now get rid of kvm_lookup_overlapping_slot().

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170911174933.20789-7-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-09-19 14:09:34 +02:00
..
kvm-all.c kvm: kvm_log_sync() is only called with known memory sections 2017-09-19 14:09:34 +02:00
Makefile.objs accel: move kvm related accelerator files into accel/ 2017-06-15 11:04:06 +02:00
trace-events accel: move kvm related accelerator files into accel/ 2017-06-15 11:04:06 +02:00