kvm: kvm_log_start/stop are only called with known sections
commit343562e8fa2222046feb3a730f60397784d108de
authorDavid Hildenbrand <david@redhat.com>
Mon, 11 Sep 2017 17:49:32 +0000 (11 19:49 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 Sep 2017 12:09:33 +0000 (19 14:09 +0200)
tree83fffee465584970a20bab6f9115290680f3d2e4
parentf357f564be0bd45245b3ccfbbe20ace08fe83ca8
kvm: kvm_log_start/stop are only called with known sections

Let's properly align the sections first and bail out if we would ever
get called with a memory section we don't know yet.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170911174933.20789-6-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-all.c