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][PATCH][RESEND] PV drivers for HVM guests

To: <Doi.Tsunehisa@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel][PATCH][RESEND] PV drivers for HVM guests
From: "Ky Srinivasan" <ksrinivasan@xxxxxxxxxx>
Date: Thu, 19 Oct 2006 07:53:42 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 Oct 2006 06:54:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200610182356.k9INuAF03840@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <4535F8F5.E57C.0030.0@xxxxxxxxxx>Your message of Wed, 18 Oct 2006 07:51:45 -0600. <4535F8F5.E57C.0030.0@xxxxxxxxxx> <200610182356.k9INuAF03840@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
We intend  to maintain the source for the unmodified drivers separately in our 
source tree. The idea is that this will track the official xen source tree; we 
would apply the patch to target this source for a particular unmodified guest 
target. This would eliminate the need to carry the compatibility baggage in the 
pristine unmodified driver code.

Regards,

K. Y 

>>> On Wed, Oct 18, 2006 at  7:56 PM, in message
<200610182356.k9INuAF03840@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
<Doi.Tsunehisa@xxxxxxxxxxxxxx> wrote: 
> Hi,
> 
> You (ksrinivasan) said:
>> I am enclosing the patch I have been working on. I have tested this on
>> sles9 (2.6.5) and RHEL 4 (2.6.9). The patch applies cleanly on ChangeSet
>> 11635. This patch was cleaned up based on Ian's and DOI's work.
>> 
>> Signed- off- by: K. Y. Srinivasan (ksrinivasan@xxxxxxxxxx)
> 
>  The patch seems that the source files of unmodified_drivers are split
> from linux- 2.6- xen- sparse, I think.
> 
>   I think it because ...
> 
>> diff - Nur unmodified_drivers/linux- 2.6/blkfront/blkfront.c 
> unmodified_drivers_new/linux- 2.6/blkfront/blkfront.c
>> ---  unmodified_drivers/linux- 2.6/blkfront/blkfront.c       2006- 10- 04 
>> 00:38:41.000000000 
> - 0400
>> +++ unmodified_drivers_new/linux- 2.6/blkfront/blkfront.c    2006- 10- 13 
> 11:11:43.000000000 - 0400
> 
> and
> 
>> @@ - 47,6 +47,7 @@
>>  #include <xen/gnttab.h>
>>  #include <asm/hypervisor.h>
>>  #include <asm/maddr.h>
>> +#include <xen/platform_compat.h>
>>  
>>  #define BLKIF_STATE_DISCONNECTED 0
>>  #define BLKIF_STATE_CONNECTED    1
> 
>   xen/platform_compat.h is introduced, but it exists in unmodified_drviers
> except linux- 2.6- xen- sparse.
> 
>   Am I true ?
> 
> Thanks,
> -  Tsunehisa Doi


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