mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
nestedsvm: remove pointless BUG_ON
It's already handled just above. Signed-off-by: Matthew Daley <mattjd@gmail.com>
This commit is contained in:
1 parent
0d7fe8fe3b
commit
c4e2dfccdd
1 file changed
-1
@@ -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)
|
||||
|
||||