[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.