From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Subject: Re: Question: block device for HVM Date: Tue, 22 Feb 2011 15:55:16 +0800 Message-ID: <4D636BE4.8020000@gmail.com> References: <4D63626A.7030507@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Fajar A. Nugraha" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 2011-2-22 15:53, Fajar A. Nugraha wrote: > On Tue, Feb 22, 2011 at 2:14 PM, Randy wrote: >> 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.