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


Re: [Xen-devel] [PATCH SERIES] enhanced PV on Xen HVM

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH SERIES] enhanced PV on Xen HVM
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Tue, 2 Mar 2010 18:41:24 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>
Delivery-date: Tue, 02 Mar 2010 10:37:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1003021817540.22259@kaball-desktop>
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: <alpine.DEB.2.00.1003021817540.22259@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Tue, 2 Mar 2010, Stefano Stabellini wrote:
> Hi all,
> this patch series is derived from an earlier version of Shen's "PV
> extension of HVM" patch series.
> It tries to achieve two goals:
> - enable PV devices in Linux running in a Xen HVM domain;
> - receive evtchns in place of interrupts to avoid expensive EOIs.
> The main difference between the two patch series is the way the second
> goals is achieved: in this patch series I am trying to reuse the same
> code that is used in the Linux kernel to setup GSI to pirq mappings when
> running as dom0.
> In this case the GSIs that are being remapped correspond to emulated
> interrupts, but Xen knows the difference and handles the two cases
> separately.
> It should be easy to use this mechanism also to map interrupts or MSIs
> from pci passthrough devices with minimal changes to the Linux kernel.
> The patch series consists of 5 patches, 1 for Xen and 4 for Linux; each
> patch comes with a detailed description.
> Any comment, critic or suggestion is very welcome.

I should point out that the Linux side of the patch series is developed
against the branch "xen/dom0/apic-xiantao" of the pvops tree, that is
the master branch plus the recent apic rework.
Moreover it still needs few fixes: in particular the PV on HVM SMP
initialization code is exactly the same as in the last patch series from
Shen, therefore it doesn't address any of Jeremy's comments yet.

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>