[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH] x86/svm: invert valid condition in svm_get_pending_event()
Fixes: 9864841914c2 ("x86/vm_event: add support for VM_EVENT_REASON_INTERRUPT") Signed-off-by: Jinoh Kang <jinoh.kang.kr@xxxxxxxxx> --- xen/arch/x86/hvm/svm/svm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/hvm/svm/svm.c b/xen/arch/x86/hvm/svm/svm.c index 01dd592d9b83..beb076ea8d62 100644 --- a/xen/arch/x86/hvm/svm/svm.c +++ b/xen/arch/x86/hvm/svm/svm.c @@ -2415,7 +2415,7 @@ static bool cf_check svm_get_pending_event( { const struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; - if ( vmcb->event_inj.v ) + if ( !vmcb->event_inj.v ) return false; info->vector = vmcb->event_inj.vector; -- 2.41.0
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |