WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] XEN special debug information

To: Lil Evil <Lil_Evil@xxxxxx>
Subject: Re: [Xen-devel] XEN special debug information
From: Daniel Stodden <stodden@xxxxxxxxxx>
Date: Tue, 18 Mar 2008 01:21:45 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 17 Mar 2008 17:22:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080317221802.50360@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Fakultät für Informatik I10, Technische Universität München
References: <20080317221802.50360@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 2008-03-17 at 23:18 +0100, Lil Evil wrote:
> Hi,
> 
> I ve been trying to get some information out of xen for a while now.
> unfortunately, I failed so far.
> I want to do some virtual hard disk write analysis and therefor would need 
> xen to return me the LBA of the sector written.
> If been looking into the source code blkback/blkfront, but I have 
> difficulties identifying the write function.
> Could anybody kindly point me into the right direction?

blkif is rather well documented in xen/include/public/io/blkif.h

Did you find this this already?

It's comparatively simple. A request message carries a number of
segments, each segment a range of sectors (up to 8 x 512 == 4096, i.e. a
page size, therefore the format).

The type of operation is either read or write, encoded in the request.

Daniel

-- 
Daniel Stodden
LRR     -      Lehrstuhl für Rechnertechnik und Rechnerorganisation
Institut für Informatik der TU München             D-85748 Garching
http://www.lrr.in.tum.de/~stodden         mailto:stodden@xxxxxxxxxx
PGP Fingerprint: F5A4 1575 4C56 E26A 0B33  3D80 457E 82AE B0D8 735B



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>