]> xenbits.xensource.com Git - xen.git/commitdiff
nestedsvm: remove pointless BUG_ON
authorMatthew Daley <mattjd@gmail.com>
Fri, 8 Nov 2013 10:09:37 +0000 (11:09 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 8 Nov 2013 10:09:37 +0000 (11:09 +0100)
It's already handled just above.

Signed-off-by: Matthew Daley <mattjd@gmail.com>
xen/arch/x86/hvm/svm/nestedsvm.c

index e32c8724d2acff7779897c36ebeae60771d12f01..705b65339092480e7c98be145e6732aab9edd346 100644 (file)
@@ -847,7 +847,6 @@ nsvm_vmcb_guest_intercepts_msr(unsigned long *msr_bitmap,
         /* MSR not in the permission map: Let the guest handle it. */
         return NESTEDHVM_VMEXIT_INJECT;
 
-    BUG_ON(msr_bit == NULL);
     msr &= 0x1fff;
 
     if (write)