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

[Xen-API] Re Help regarding xm commands/APIs'

  • To: xen-api@xxxxxxxxxxxxxxxxxxx
  • From: Asutosh Das <das.asutosh@xxxxxxxxx>
  • Date: Wed, 8 Apr 2009 16:42:16 +0530
  • Delivery-date: Wed, 08 Apr 2009 04:12:20 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=StOnZTZydtefB6WvNPr/lSJTq8AIyFUChcVp902jQcNlVgPbbbctEMBbmg9tC3IZm5 vtNq/AglxH2u4KvkVFPenvAetZoEOvKvjpbebY4Y8V/EsP/tLxL+xHNEhlufrT0pLdIG b4y0rCoDJfUpr1F8j1P711H0RgXZ/lMkLs/jY=
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

I just wanted to know how xm create command parses the xen-configuration file and attaches the console to the newly built domain.

I know that by using libxc functions, the loading of domainU-linux is possible(int xc_linux_build() ). But I am unable to find an api in libxc to set up the domain-u console , root-file-system and disks.

Please can somebody let me know the apis'/files/method (any help will do) relating to :-

1. attaching the booting domain-u linux kernel to the console.
2. providing access to disk devices that I want the domainU to access and root file system.

I do not want to use the xm tool.

 I would really appreciate any help, like the APIs' in libxc that are used or how "xm create -c"  parses the config file and boots the domainU kernel.                       

Thank you,
Warm Regards,

xen-api mailing list



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