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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Tue, Feb 22, 2011 at 2:14 PM, Randy <randy.han@gmail.com> 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. -- Fajar _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 2011-2-22 15:53, Fajar A. Nugraha wrote:> On Tue, Feb 22, 2011 at 2:14 PM, Randy<randy.han@gmail.com> 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. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel