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/
Home Products Support Community News


Re: [Xen-devel] Question about XenAPI

To: zhangxiang <zhangxiang@xxxxxxxxxx>
Subject: Re: [Xen-devel] Question about XenAPI
From: weiming <zephyr.zhao@xxxxxxxxx>
Date: Fri, 21 Aug 2009 10:51:46 -0400
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 21 Aug 2009 07:52:31 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=tCQrMxwCF265F2CJtolD4Zj/5QYwWTHK8o0e3zXEik8=; b=WIbNQ0ML+9x7nl7sEMBPFmZwvGRT2HWJbVNOLip58e4T8kKRuinYyDKgOiF3/dANxt ebU+8Yuflut8GUVPWFh4/H9sM079kEc05T9wLYw+CKhVtEfNDlJGClSSa0xuaenRugfl 0c519xNIKWtArsatJVgA/Qc3LWWGzBvkagK7s=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=UfMmyiMDmIENqzjIvMSIJZSD2UTCc55VmCP0w7L61aaeE0cbqiu+45rZoqUDhVISBl dCPA+bwsxOfWNyeYHI++c3JI+R35ZyTJoFMm5zboiIvUxSIJMPxBi3ym6EPKxqEkFK+X t0ewr2StL6afnSpGSn+xNwjAYURvIhvg7Z/oY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200908211659413123178@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200908211659413123178@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

It's in the VM class.
You can check the xenAPI manual (PDF) on the website for detail.


On Fri, Aug 21, 2009 at 4:59 AM, zhangxiang <zhangxiang@xxxxxxxxxx> wrote:
Hello everyone!
   DomU can use the disk parttion of Dom0 as its virtual disk, for example a DomU, whose Domid is 2, use "/dev/sdb1" of Dom0 as its virtual disk.
   My question is that: in dom0, how can I get the name of parttion (such as "/dev/sdb1") which a DomU uses as its virtual disk by the Domid of DomU? Can I use XenAPI in C programing language to implement it? It really bother me a lot.
   Thank you very much for your help!
Xiang Zhang
National Research Center for Intelligent Computing Systems
Institute of Computing Technology
Chinese Academy of Sciences
Jun 18th, 2009

Xen-devel mailing list

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>