commit | 69a1220060c1523fd0515216eaa29e22f133b894 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon May 18 08:35:43 2015 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue May 19 20:52:44 2015 +0200 |
tree | 5cbe5e132d31ffeeecfcc91337a24489bbdb7dfc | |
parent | d81135a57aa66e5bec55cdfe4dda79633f9082dd [diff] |
KVM: mips: use id_to_memslot correctly The argument to KVM_GET_DIRTY_LOG is a memslot id; it may not match the position in the memslots array, which is sorted by gfn. Cc: stable@vger.kernel.org Reviewed-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>