From: Kouya Shimura Subject: Re: [PATCH 1/2] x86, hvm: allow another vcpu to receive PIT IRQ (support kexec/kdump on hvm) Date: Wed, 1 Jul 2009 17:48:36 +0900 Message-ID: <7keit0okkb.fsf@pingu.sky.yk.fujitsu.co.jp> References: <7khbxxnh1m.fsf@pingu.sky.yk.fujitsu.co.jp> 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.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Keir Fraser writes: > So... You want virtual wire through IO-APIC? Yes, I'm struggling. > Still some logic changes to vpt.c will be required, since platform timers > only tick and generate interrupts when vpt logic is executed on vcpu0's > return-to-guest path. Same for irq passthrough (handled by your patch 2/2). Indeed, also vioapic.c doesn't support virtual wire mode. > Hmmm... Okay I think this might be workable. Device passthru and vpt > subsystems could be fired off of whichever vcpu owns the LAPIC identifier > currently programmed into IOAPIC0:PIN0, rather than being hardwired to > VCPU0. Okay, but 2/2 patch can wait. First of all, I'll remake 1/2 patch. Thanks, Kouya