From: "zhangxiang" Subject: Question about XenAPI Date: Fri, 21 Aug 2009 16:59:42 +0800 Message-ID: <200908211659413123178@ncic.ac.cn> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0266443246==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============0266443246== Content-Type: multipart/alternative; boundary="=====003_Dragon542477210642_=====" This is a multi-part message in MIME format. --=====003_Dragon542477210642_===== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 --=====003_Dragon542477210642_===== Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit
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
--=====003_Dragon542477210642_=====-- --===============0266443246== 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 --===============0266443246==--