Skip to contentSkip to conversation

Question: block device for HVM

DISCUSSION Randy 2 participants 3 messages Feb 22, 2011

lore
Share & tools
lore

Randy

author
#0 lore raw

Hi all,

I want to get the statistics of block device of HVM. I found xen created a vbd (/sys/bus/xen-backend/devices/vbd-1-768) when I created a HVM. But the vbd statistics (e.g. rd_req, wr_req, wr_sect, rd_sect) are all 0. For PV guest or PV driver, I can get the vbd's statistics directly. So I'm wondering vbd is not really used by HVM. Could anyone kindly tell me which device is used for block device in dom0 for HVM? Thanks in advance.

Randy

#1 lore raw
Quoted 8 lines · Randy

Hi all,

I want to get the statistics of block device of HVM. I found xen created a vbd (/sys/bus/xen-backend/devices/vbd-1-768) when I created a HVM. But the vbd statistics (e.g. rd_req, wr_req, wr_sect, rd_sect) are all 0. For PV guest or PV driver, I can get the vbd's statistics directly. So I'm wondering vbd is not really used by HVM. Could anyone kindly tell me which device is used for block device in dom0 for HVM? Thanks in advance.

If the HVM domU uses PV drivers (like gplpv) the stats will be updated.

Signature · 1 line
Fajar
author
#2 lore raw
Quoted 11 lines · Fajar A. Nugraha
Quoted 8 lines · Randy

Hi all,

I want to get the statistics of block device of HVM. I found xen created a vbd (/sys/bus/xen-backend/devices/vbd-1-768) when I created a HVM. But the vbd statistics (e.g. rd_req, wr_req, wr_sect, rd_sect) are all 0. For PV guest or PV driver, I can get the vbd's statistics directly. So I'm wondering vbd is not really used by HVM. Could anyone kindly tell me which device is used for block device in dom0 for HVM? Thanks in advance.

If the HVM domU uses PV drivers (like gplpv) the stats will be updated.

Yes, but I want the stats without pv drivers.