Re: [Qemu-devel] Disk Image Read Location

2017-09-19 Thread Stefan Hajnoczi
On Mon, Sep 18, 2017 at 06:47:38PM +, Derrick McKee wrote: > I am trying to figure out if a particular disk operation is reading from > the same location in an image file. The following trace event is fired when a BlockBackend (a drive) is read: # block/block-backend.c blk_co_preadv(void

Re: [Qemu-devel] Disk Image Read Location

2017-09-18 Thread John Snow
On 09/18/2017 02:47 PM, Derrick McKee wrote: > Hi, > Hi Derrick; > I am trying to figure out if a particular disk operation is reading from > the same location in an image file. I am simulating a USB disk, and during Which device handles the USB disk emulation? hw/usb/dev-storage.c? ("usb-st

Re: [Qemu-devel] Disk Image Read Location

2017-09-18 Thread Max Reitz
On 2017-09-18 20:47, Derrick McKee wrote: > Hi, > > I am trying to figure out if a particular disk operation is reading from > the same location in an image file. I am simulating a USB disk, and during > an operation the guest OS performs, I would like to know how many times the > backing image f

[Qemu-devel] Disk Image Read Location

2017-09-18 Thread Derrick McKee
Hi, I am trying to figure out if a particular disk operation is reading from the same location in an image file. I am simulating a USB disk, and during an operation the guest OS performs, I would like to know how many times the backing image file is read. I have identified the function address_s