Re: [Xen-devel] [PATCH 0 of 5] PV on HVM Xen

From: Stefano Stabellini
Date: Wed Mar 10 2010 - 12:51:38 EST


On Wed, 10 Mar 2010, Pasi Kärkkäinen wrote:
> On Wed, Mar 10, 2010 at 03:46:54PM +0000, Stefano Stabellini wrote:
> > Hi all,
> > this is a reduced and rebased version of the patch series I sent
> > yesterday "enhanced PV on HVM": this series is based on Linux 2.5.32 and
> > can be applied now, it includes everything but the pirq remapping
> > related functions that are not ready to be upstreamed at the moment.
> >
> > Therefore it just achieves the goal of enabling PV devices in Linux
> > running in a Xen HVM domain, it doesn't allow event channels delivery in
> > place of interrupts.
> >
> > The patch series consists of 5 patches, each patch comes with a detailed
> > description.
> > In order for this to work we also need a patch for Xen, that is being
> > worked on as we speak.
> >
>
> Hmm.. is it possible to get PV-on-HVM drivers working on older Xen versions,
> that don't have additional patches?
>
> Just like the unmodified_drivers works for 2.6.18 and 2.6.27.
>

The problem is that the old unmodified_drivers use a normal interrupt
from the xen pci platform device to receive event channels, and this
doesn't play well with the idea of remapping all the interrupts with
event channels, that is one if the main goals of the previous "enhanced"
patch series.
For this reason the new PV on HVM patch series sets up a new vector
based callback mechanism.

However it might be still possible to provide an additional, backward
compatible, delivery mechanism in case the new one fails.
I'll try to explore this option.