> -----Original Message----- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Tuesday, September 08, 2015 6:13 PM > To: Wu, Feng > Cc: Andrew Cooper; Tian, Kevin; Zhang, Yang Z; xen-devel@lists.xen.org; Keir > Fraser > Subject: RE: [PATCH v6 15/18] vmx: Properly handle notification event when > vCPU is running > > >>> On 08.09.15 at 11:36, <feng...@intel.com> wrote: > > > > >> -----Original Message----- > >> From: Jan Beulich [mailto:jbeul...@suse.com] > >> Sent: Tuesday, September 08, 2015 5:31 PM > >> To: Wu, Feng > >> Cc: Andrew Cooper; Tian, Kevin; Zhang, Yang Z; xen-devel@lists.xen.org; > Keir > >> Fraser > >> Subject: RE: [PATCH v6 15/18] vmx: Properly handle notification event when > >> vCPU is running > > No problem. Two solutions: > > #1, Register pi_notification_interrupt when iommu_intpost and still > > use event_check_interrupt in the !iommu_intpost case. > > #1, Use pi_notification_interrupt() for both iommu_intpost and > > !iommu_intpost, add the following check it: > > if ( iommu_intpost ) > > raise_softirq(VCPU_KICK_SOFTIRQ); > > > > Which one do you prefer? > > #1 ;-) (the earlier one, to avoid you guessing)
Hmm, sorry for the typo. :) Thanks, Feng > > Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel