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

[Xen-devel] [PATCH] xc_XXX_build - add parallel routines to support inpu

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] xc_XXX_build - add parallel routines to support input via buffer rather than files
From: B Thomas <bjthomas3@xxxxxxxxx>
Date: Mon, 16 Jan 2006 16:05:36 -0500
Delivery-date: Mon, 16 Jan 2006 21:12:57 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=LT9y0GeSKk+qZRwut8VBNUICyjBwKh17W55s7SFyZC26ElTF1596uNLYEOR/2E6AjzacEWfbFKMdVYSVkqG7J2pWxVwusdNIXHiYcSGk+OtHF4/4RDI8he1wbNQsTUqdI3Sah2ZXG5qGcJuuQuBQBtBjEhxD1ffMJ6vJw2gmkFA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
I have a need to pass image and ramdisk via buffers, and not files.  I added some parallel routines so as not to disturb the existing APIs. This may, or may not, have been the correct choice, but it works.  In this patch, you'll find xc_linux_build_mem and xc_vmx_build_mem as the new interfaces, which accept buffer pointer/size arguments rather than filename arguments. The old interfaces remain (both in code and working status). Some internal shuffling was needed to accomodate this, which I've tried to minimize. I've tested most of this, the expection being IA64, which I don't have.

-b

Attachment: libxc.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>