Skip to contentSkip to conversation

Question about XenAPI

DISCUSSION zhangxiang 2 participants 2 messages Aug 21, 2009

lore
Share & tools
lore

zhangxiang

author
#0 lore raw

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
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Hello,

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

zephyr

Quoted 16 lines · zhangxiang

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

Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel