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

Re: [Xen-devel] PV drivers for HVM guests

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] PV drivers for HVM guests
From: Muli Ben-Yehuda <muli@xxxxxxxxxx>
Date: Wed, 4 Oct 2006 10:15:51 +0200
Cc: Ky Srinivasan <ksrinivasan@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 04 Oct 2006 01:21:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C14927CD.2084%Keir.Fraser@xxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <45229025.E57C.0030.0@xxxxxxxxxx> <C14927CD.2084%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Wed, Oct 04, 2006 at 08:56:45AM +0100, Keir Fraser wrote:

> > I have implemented both these schemes for the sles9 kernel and
> > would like to get your input on your preference. I personally like
> > option 2. Going forward, the evolution of PV drivers needs to be
> > constrained by the required support for legacy Linux environments.
> 
> A shim layer (i.e., a set of compat macros) that avoids ifdef'ing
> the core driver code is definitely the way to go.

FWIW, neither option has a chance of being accepted upstream. For
upstream acceptance (assuming that it is a goal - it should be,
otherwise you forever chase the latest kernel API change, multiplied
by the number of different distro kernel trees you support) just write
the latest version of the driver to the latest kernel version. But I
suspect you already know this :-)

Cheers,
Muli

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