Skip to content
Commit dbaff309 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

kvm: warn on more invariant breakage



Modifying a non-existent slot is not allowed.  Also check that the
first loop doesn't move a deleted slot beyond the used part of
the mslots array.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent efbeec70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment