From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH] x86/hvm: implement save/restore for posted interrupts Date: Thu, 17 Jul 2014 09:11:01 +0200 Message-ID: <20140717071101.GA3046@aepfle.de> References: <1404400159-27346-1-git-send-email-olaf@aepfle.de> <20140716142844.GA13820@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline 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: "Tian, Kevin" Cc: Keir Fraser , "Nakajima, Jun" , "Dong, Eddie" , "xen-devel@lists.xen.org" , "Xu, Dongxiao" , Jan Beulich , "Zhang, Yang Z" List-Id: xen-devel@lists.xenproject.org On Wed, Jul 16, Tian, Kevin wrote: > could you figure out the reason? irr->pir propagation should happen automatically > when injecting a pending irr, which is supposed to be triggered in the restore path. > Otherwise I don't understand how it's handled even w/o pir concept... I can probably do that. And I think initially I just changed lapic_save_regs, which was not enough. I think in the end the reason is that with posted irqs the code paths are different and just having IRR set is not enough. Olaf