From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Daley Subject: [PATCH 1/6] nestedsvm: remove pointless BUG_ON Date: Fri, 8 Nov 2013 13:45:07 +1300 Message-ID: <1383871513-11316-2-git-send-email-mattjd@gmail.com> References: <1383871513-11316-1-git-send-email-mattjd@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1383871513-11316-1-git-send-email-mattjd@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Keir Fraser , Suravee Suthikulpanit , Matthew Daley , xen-devel@lists.xen.org, Jan Beulich , Boris Ostrovsky List-Id: xen-devel@lists.xenproject.org It's already handled just above. Signed-off-by: Matthew Daley --- xen/arch/x86/hvm/svm/nestedsvm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/x86/hvm/svm/nestedsvm.c b/xen/arch/x86/hvm/svm/nestedsvm.c index e32c872..705b653 100644 --- a/xen/arch/x86/hvm/svm/nestedsvm.c +++ b/xen/arch/x86/hvm/svm/nestedsvm.c @@ -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) -- 1.7.10.4