From: Stefano Stabellini Subject: Re: [PATCH 0/4] Add posted interrupt supporting Date: Sat, 20 Apr 2013 14:33:36 +0100 Message-ID: References: <1365487291-2283-1-git-send-email-yang.z.zhang@intel.com> <20130409202640.GA2509@phenom.dumpdata.com> <20130410132208.GF4865@phenom.dumpdata.com> <20130410134244.GB5686@phenom.dumpdata.com> <51715E7C02000078000CF056@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Zhang, Yang Z" Cc: Konrad Rzeszutek Wilk , Stefano Stabellini , "xen-devel@lists.xen.org" , "keir.xen@gmail.com" , Jan Beulich , "Zhang, Xiantao" List-Id: xen-devel@lists.xenproject.org On Sat, 20 Apr 2013, Zhang, Yang Z wrote: > Jan Beulich wrote on 2013-04-19: > >>>> On 19.04.13 at 13:49, Stefano Stabellini > > wrote: > >> I am also interested in this question and I cannot find a clear answer: > >> when a guest vcpu wants to issue an IPI to another vcpu, will it trap > >> into Xen? Or will everything work automagically? > > > > For PV, obviously, this is done by a hypercall. > > > > For HVM this ought to depend on the level of hardware assistance > > in LAPIC virtualization: Traditionally, the involved LAPIC register > > accesses would trap into the hypervisor. But with full APIC > > virtualization, this should not be happening anymore. > No. Actually, only self IPI will handled by hardware directly. All other vIPIs still cause APIC write vmexit. Thanks for the clarification, that answers my question.