From: Ian Campbell Subject: Re: xenstat for qdisk backend seems wrong Date: Fri, 14 Mar 2014 09:50:23 +0000 Message-ID: <1394790623.16364.67.camel@kazak.uk.xensource.com> References: <1394773472.27038.13.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1394773472.27038.13.camel@localhost> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jungnam Lee Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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