All of lore.kernel.org
 help / color / mirror / Atom feed
* xenstat for qdisk backend seems wrong
@ 2014-03-14  5:04 Jungnam Lee
  2014-03-14  9:50 ` Ian Campbell
  0 siblings, 1 reply; 2+ messages in thread
From: Jungnam Lee @ 2014-03-14  5:04 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: xenstat for qdisk backend seems wrong
  2014-03-14  5:04 xenstat for qdisk backend seems wrong Jungnam Lee
@ 2014-03-14  9:50 ` Ian Campbell
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Campbell @ 2014-03-14  9:50 UTC (permalink / raw)
  To: Jungnam Lee; +Cc: xen-devel

On Fri, 2014-03-14 at 14:04 +0900, Jungnam Lee wrote:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-14  9:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-14  5:04 xenstat for qdisk backend seems wrong Jungnam Lee
2014-03-14  9:50 ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.