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

[Xen-devel] [PATCH] xc_XXX_build - add parallel routines to support input via buffer rather than files


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

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