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

[Xen-API] Re xc_introduce_domain query


  • To: xen-api@xxxxxxxxxxxxxxxxxxx
  • From: Asutosh Das <das.asutosh@xxxxxxxxx>
  • Date: Tue, 26 May 2009 16:27:22 +0530
  • Delivery-date: Tue, 26 May 2009 03:57:30 -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=XSF5Pf4bGe8X+Bzfh8qkSa1SPQ6V6plp7DcGy6Li8xH/aYI5m1LMz3F6uHsjDUaXvg 98TgE5No2QpDF1OK9qWwN+dAt6hasHq4Z/2h3s5jBnC/LMuJS+MZFDUWX0HF3NGuIQjv SEZLJp7uha4UXLxN+HdOoZg4hA0SrIPqRyqvs=
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

Hi
I am trying to boot a guest domain linux 2.6.18 as guest on xen. I have written an application that would does whatever xend does to boot the domain. I introduced the domain (xc_introduce_domain) API and then I am trying to write the device details to xenstore. But I get an error of "Illegal seek" and the stuff that I want to write doesn't get reflected in xenstore. However, if I run the same xs_write command without the xs_introduce_domain(), I get a success and it reflects on Xenstore.
After a bit of digging, I realized that I am able to write to xenstore domain-path except for the domain-id that the guest-domain is booting. i.e. if the domain-path is /local/domain/1 , I am able to write to /local/domain/<n>, where n != 1.

Please can you help me know, if there is any relation between xs_introduce_domain and xs_write.

Xend writes the device details (e.g vbd) in a loop(xend/server/DevController.py,  createDevices). I didn't quite understand why its doing that way.
--
Thank you,
Warm Regards,
Asutosh Das
# (+91) 9818 4494 69



_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

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