]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: MTRR: Use default type for non-MTRR-covered gfn before WARN_ON
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 4 Aug 2015 16:58:26 +0000 (10:58 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Aug 2015 09:57:57 +0000 (11:57 +0200)
commitfc1a8126bf8095b10f5a79893f2d2b19227f88f2
tree541ef7a235820e06fc72f261b0505405199f2a81
parent7307f70c6d525aa050d3027035215fb5473aa1bb
KVM: MTRR: Use default type for non-MTRR-covered gfn before WARN_ON

The patch was munged on commit to re-order these tests resulting in
excessive warnings when trying to do device assignment.  Return to
original ordering: https://lkml.org/lkml/2015/7/15/769

Fixes: 3e5d2fdceda1 ("KVM: MTRR: simplify kvm_mtrr_get_guest_memory_type")
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mtrr.c