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] Creating partitions on domain U

To: "Adam Heath" <doogie@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Creating partitions on domain U
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 20 Jan 2005 00:46:02 -0000
Cc: "Ryan Harper" <ryanh@xxxxxxxxxx>, "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 20 Jan 2005 00:47:18 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcT+h6FrNVdnRU+4RmKA0uFJ92dmdAAAROew
Thread-topic: [Xen-devel] Creating partitions on domain U
> > For the moment, just comment out the references to blkif_revalidate.
> >
> > Adam: this explains why resize wasn't working for you under 2.6.
> 
> But I never got a compile error.

No, the compile error was with the patch that added support for ioctls
to 2.6, and highlighted the fact that the revalidate routine wasn't even
implemented for 2.6.
 
> How much work do you estimate it would take to fix?  I'm not 
> above kernel
> hacking.

Not a huge deal. It's just a case of taking the code that's in 2.4
blkfront directory (some of which is already n 2.6 but commented out),
and make it compile and work under 2.6.

Some of the fixes are obvious (extra parameter to get_gendisk), but some
of the changes require a little more thought.

Ian


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel