From: Asutosh Das Subject: Help: xc_introduce_domain query Date: Tue, 26 May 2009 16:30:37 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1511062522==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-api-bounces-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org Errors-To: xen-api-bounces-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org To: xen-api-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org, xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org List-Id: xen-devel@lists.xenproject.org --===============1511062522== Content-Type: multipart/alternative; boundary=000e0cd2301a04a06f046acea3fc --000e0cd2301a04a06f046acea3fc 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, Asutosh Das # (+91) 9818 4494 69 --000e0cd2301a04a06f046acea3fc 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 g= et 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 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_introd= uce_domain and xs_write.

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








--000e0cd2301a04a06f046acea3fc-- --===============1511062522== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1511062522==--