WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] Help: xc_introduce_domain query

To: xen-api@xxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] Help: xc_introduce_domain query
From: Asutosh Das <das.asutosh@xxxxxxxxx>
Date: Tue, 26 May 2009 16:30:37 +0530
Cc:
Delivery-date: Tue, 26 May 2009 04:00:43 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=pFJAR+HVkm79LPT2yGXZ5WoXM+JBs0FKecE4FDovTgQ=; b=gKbgTs/HBlCBR5BCK3bXpTBClAS69cAvQMQKTdh06DRBQQoUY67GKV2ocaHn3LEsEV kL/7FTH7+7lp2K1HHrIEtVPin9jSIyiX05qxzjpucrKuQJV61DnldVrElb2bRZBhwCOv 2rPN2251eCWmsiaTSZciyGx65JM5I1YiI1lzY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=rCcdSJcrXC7t1gm3SnJUYj0WBztSBTeGNCx1KsFNS8W2Z2O42GfdMo0LlifNPpYbRP HzGbIT8eB7IYxQ0N8wT3apT5nJTEAuLazwiSI+fUztcaI+u18RUbj1OjHK/Wi+OJ47xm cLo+jA74KIZ/TwUOrhJsKwIWNSF0sI2X3o5Hw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
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









_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] Help: xc_introduce_domain query, Asutosh Das <=