All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Help: xc_introduce_domain query
@ 2009-05-26 11:00 Asutosh Das
  0 siblings, 0 replies; 2+ messages in thread
From: Asutosh Das @ 2009-05-26 11:00 UTC (permalink / raw
  To: xen-api-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR,
	xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR


[-- Attachment #1.1: Type: text/plain, Size: 1044 bytes --]

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.
-- 
Thank you,
Warm Regards,
Asutosh Das
# (+91) 9818 4494 69

[-- Attachment #1.2: Type: text/html, Size: 1229 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Help: xc_introduce_domain query
@ 2009-05-27  6:19 anurag tripathi
  0 siblings, 0 replies; 2+ messages in thread
From: anurag tripathi @ 2009-05-27  6:19 UTC (permalink / raw
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1028 bytes --]

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.
-- 
Thank you,
Warm Regards,
Anurag Tripathi

[-- Attachment #1.2: Type: text/html, Size: 1101 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-27  6:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-26 11:00 Help: xc_introduce_domain query Asutosh Das
  -- strict thread matches above, loose matches on Subject: below --
2009-05-27  6:19 anurag tripathi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.