From: "Ky Srinivasan" Subject: Re: [PATCH][RESEND] PV drivers for HVM guests Date: Thu, 19 Oct 2006 07:53:42 -0600 Message-ID: <45374AE9.E57C.0030.0@novell.com> References: <4535F8F5.E57C.0030.0@novell.com>Your message of Wed, 18 Oct 2006 07:51:45 -0600. <4535F8F5.E57C.0030.0@novell.com> <200610182356.k9INuAF03840@photon.sky.yk.fujitsu.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200610182356.k9INuAF03840@photon.sky.yk.fujitsu.co.jp> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Doi.Tsunehisa@jp.fujitsu.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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@photon.sky.yk.fujitsu.co.jp>, 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@novell.com) > > 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 >> #include >> #include >> +#include >> >> #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