From: anurag tripathi Subject: Help: xc_introduce_domain query Date: Wed, 27 May 2009 11:49:07 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0706229763==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0706229763== Content-Type: multipart/alternative; boundary=0016362836062323fd046aded280 --0016362836062323fd046aded280 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi I am trying to boot a guest domain linux 2.6.18 as guest on xen. I have written an application that would do 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/, 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, Anurag Tripathi --0016362836062323fd046aded280 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Hi

I am trying to boot a guest domain linux 2.6.18 as guest on xen. I have = written an application that would do 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 s= eek" and the stuff that I want to write doesn't get reflected in x= enstore. However, if I run the same xs_write command without the xs_introdu= ce_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 doma= in-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/&l= t;n>, where n !=3D 1.

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

Xend writes the device details (e.g vbd) in a loop(xend/server/DevContro= ller.py,=A0 createDevices). I didn't quite understand why its doing tha= t way.
--
Thank you,
Warm Regards,
Anurag Tripathi

--0016362836062323fd046aded280-- --===============0706229763== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0706229763==--