Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751154AbZDNJH3 (ORCPT ); Tue, 14 Apr 2009 05:07:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751401AbZDNJHN (ORCPT ); Tue, 14 Apr 2009 05:07:13 -0400 Received: from mx2.redhat.com ([66.187.237.31]:53821 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751305AbZDNJHM (ORCPT ); Tue, 14 Apr 2009 05:07:12 -0400 Date: Tue, 14 Apr 2009 12:07:03 +0300 From: Gleb Natapov To: Glauber Costa Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, avi@redhat.com, "H. Peter Anvin" Subject: Re: [PATCH] deal with interrupt shadow state for emulated instruction Message-ID: <20090414090703.GV25543@redhat.com> References: <1239653210-10422-1-git-send-email-glommer@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1239653210-10422-1-git-send-email-glommer@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1027 Lines: 22 On Mon, Apr 13, 2009 at 04:06:50PM -0400, Glauber Costa wrote: > diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h > index 3fc4623..0db1be7 100644 > --- a/arch/x86/include/asm/kvm_host.h > +++ b/arch/x86/include/asm/kvm_host.h > @@ -513,6 +513,7 @@ struct kvm_x86_ops { > void (*run)(struct kvm_vcpu *vcpu, struct kvm_run *run); > int (*handle_exit)(struct kvm_run *run, struct kvm_vcpu *vcpu); > void (*skip_emulated_instruction)(struct kvm_vcpu *vcpu); > + void (*interrupt_shadow_mask)(struct kvm_vcpu *vcpu, int mask); Note that this conflicts with my "Move interrupt injection logic to x86.c" patch. It adds drop_interrupt_shadow callback. Your callback is more general so it should replace mine when/if my patchset will go in. -- Gleb. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/