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

xen-devel

[Top] [All Lists]

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

To: "Steven Smith" <sos22-xen@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] PV drivers for HVM guests
From: "Ky Srinivasan" <ksrinivasan@xxxxxxxxxx>
Date: 2006年10月04日 14:50:37 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, sos22@xxxxxxxxxxxxx
Delivery-date: 2006年10月04日 11:51:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> Steven Smith <sos22-xen@xxxxxxxxxxxxx> 10/04/06 6:24 AM >>> 
>> These differences can be dealt with in a couple of different ways:
>> 1) Modify the code in the PV drivers under appropriate compilation
>> switches to deal with the differences in the base kernels.
>> 2) Introduce a compatibility component that bridges the gap between
>> the current PV code and a given Linux target and leave much of the
>> PV driver code untouched.
>How much code is actually required in this abstraction layer?
Not a whole lot. The shim layer I currently have is about 80 lines (about 40 
lines in a header file and about 40 lines in a c file). Along with this I have 
a few ifdefs in the PV driver code to deal with non-existent header files and 
non-existent fields in data structures such as struct bus_type, struct device 
etc. 
Regards,
K. Y
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] PV drivers for HVM guests , Ky Srinivasan
Next by Date: [Xen-devel] Testing status of HVM (Intel VT) on 64bit XEN unstable c/s 11690 , Ed Smith
Previous by Thread: Re: [Xen-devel] PV drivers for HVM guests , Ky Srinivasan
Next by Thread: [Xen-devel] Fix handle of vncunused parameter for HVM framebuffer , Daniel P. Berrange
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /