All of lore.kernel.org
 help / color / mirror / Atom feed
* XEN special debug information
@ 2008-03-17 22:18 Lil Evil
  2008-03-18  0:21 ` Daniel Stodden
  0 siblings, 1 reply; 2+ messages in thread
From: Lil Evil @ 2008-03-17 22:18 UTC (permalink / raw)
  To: xen-devel

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?

thanks very much
lil
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

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

* Re: XEN special debug information
  2008-03-17 22:18 XEN special debug information Lil Evil
@ 2008-03-18  0:21 ` Daniel Stodden
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Stodden @ 2008-03-18  0:21 UTC (permalink / raw)
  To: Lil Evil; +Cc: xen-devel

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@cs.tum.edu
PGP Fingerprint: F5A4 1575 4C56 E26A 0B33  3D80 457E 82AE B0D8 735B

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

end of thread, other threads:[~2008-03-18  0:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-17 22:18 XEN special debug information Lil Evil
2008-03-18  0:21 ` Daniel Stodden

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.