]> git.baikalelectronics.ru Git - kernel.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 10:47:21 +0000 (12:47 +0200)
commit4dad57ee08bfb081088dbbefdc22e7c3f9cea01b
tree4acec24fbb0c8e257a2dfb7a42743b477284524b
parentb2a0681d56512a211d609d60266158c55a5b8e04
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: 40e62bf8c79d ("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