Skip to contentSkip to conversation

Help: xc_introduce_domain query

DISCUSSION anurag tripathi 1 participant 1 message May 27, 2009

lore
Share & tools
lore
#0 lore raw

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/<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.

Signature · 3 lines
Thank you,
Warm Regards,
Anurag Tripathi

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel