Skip to contentSkip to conversation

xenstat for qdisk backend seems wrong

DISCUSSION Jungnam Lee 2 participants 2 messages Mar 14, 2014

lore
Share & tools
lore
#0 lore raw

Hi, all.
I created vm with the latest xen and linux, then found that vbd related fields is always shown as 0 in xentop. It seems xenstat_collect_vbd() in xenstat_linux.c does not have codes to handle this type. Also there is no statistics in /sys/bus/xen-backend/devices/qdisk-*-*/. Any guess on this?

Thanks.

--
Jungnam

#1 lore raw
Quoted 6 lines · Jungnam Lee

Hi, all.
I created vm with the latest xen and linux, then found that vbd related fields is always shown as 0 in xentop. It seems xenstat_collect_vbd() in xenstat_linux.c does not have codes to handle this type. Also there is no statistics in /sys/bus/xen-backend/devices/qdisk-*-*/. Any guess on this?

It's pretty likely that this is simply not implemented. Patches (to both qemu and xenstat as necessary) would be most welcome. I'm not sure what it would look like since qdisk wouldn't normally have a sysfs interface. Perhaps these stats can be gathered by speaking to the qemu via qmp?

Ian