Re: [Qemu-devel] IO : Disk Sector Reads not aligned

2013-07-09 Thread Alex Bligh
--On 10 July 2013 01:04:35 +0800 Saptarshi Sen wrote:    the sector reads are not 512 bytes aligned.    I am gathering the stats from hw/ide/core.c in the function    ide_dma_cb. variable :sector_num    Should not these disk reads be 512 bytes aligned. As illustrated by the code below,

[Qemu-devel] IO : Disk Sector Reads not aligned

2013-07-09 Thread Saptarshi Sen
Hi, I am trying to monitor the disk access pattern from the guest. and i am using an IDE as my virtual hard drive. My observation is that the sector reads are not 512 bytes aligned. I am gathering the stats from hw/ide/core.c in the function ide_dma_cb. variable :sector_num