This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Re: [PATCH 1/2] x86, hvm: allow another vcpu to receive PIT

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH 1/2] x86, hvm: allow another vcpu to receive PIT IRQ (support kexec/kdump on hvm)
From: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
Date: Wed, 1 Jul 2009 17:48:36 +0900
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 01 Jul 2009 01:49:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C670D507.E84D%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <7khbxxnh1m.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx> <C670D507.E84D%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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.


Xen-devel mailing list