WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[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 13:49:57 +0900
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 30 Jun 2009 21:50:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C66F9336.E654%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: <7kmy7qnogg.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx> <C66F9336.E654%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Keir,

Thanks for your review and comments.

Keir Fraser writes:
> Well, looking at patch 1/2 to start with, some of the issues you address are
> not particular to the PIT, but to any interrupt delivered via vpt.c. I
> suspect what you really need is a hook into vpt.c when a vcpu goes down, to
> move all its vpt's (except its own LAPIC one) onto another vcpu's list. And
> on create_periodic_time() ignore the suggested vcpu given by the caller if
> that vcpu is down. And disable the IRQ0_SPECIAL_ROUTING in vioapic.c if
> vcpu0 is down.

This doesn't work since the ioapic is completely disabled.

I've found a interesting thread in LKML archives.
Subject: [PATCH] kexec: force x86_64 arches to boot kdump kernels on boot cpu
http://lkml.org/lkml/2007/11/26/346

Probably we should fix the guest bios(MP table, ioapic initialization).

I'm looking into it.

Thanks,
Kouya

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel