From: weiming Subject: Re: Question about XenAPI Date: Fri, 21 Aug 2009 10:51:46 -0400 Message-ID: References: <200908211659413123178@ncic.ac.cn> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1280817267==" Return-path: In-Reply-To: <200908211659413123178@ncic.ac.cn> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: zhangxiang Cc: xen-devel List-Id: xen-devel@lists.xenproject.org --===============1280817267== Content-Type: multipart/alternative; boundary=0014851732e407d2850471a80365 --0014851732e407d2850471a80365 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello, It's in the VM class. You can check the xenAPI manual (PDF) on the website for detail. zephyr On Fri, Aug 21, 2009 at 4:59 AM, zhangxiang 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@lists.xensource.com > http://lists.xensource.com/xen-devel > > --0014851732e407d2850471a80365 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

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

zephyr

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

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


--0014851732e407d2850471a80365-- --===============1280817267== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1280817267==--