Re: [Qemu-devel] Functions to intercept Disk IO information?

2015-10-21 Thread Fam Zheng
On Thu, 10/22 14:18, QuQ Edsel wrote: > Thank you for reply! > But as I insert a printf message in dma_buf_rw, compile and boot up the VM, > there are no messages printed even when I open/create/edit a .txt or .jpeg > file ? > If dma_buf_rw is called it is supposed to print messages in the monitor.

Re: [Qemu-devel] Functions to intercept Disk IO information?

2015-10-21 Thread QuQ Edsel
Thank you for reply! But as I insert a printf message in dma_buf_rw, compile and boot up the VM, there are no messages printed even when I open/create/edit a .txt or .jpeg file ? If dma_buf_rw is called it is supposed to print messages in the monitor... On the other hand, the dma_blk_io called in i

Re: [Qemu-devel] Functions to intercept Disk IO information?

2015-10-21 Thread Fam Zheng
On Thu, 10/22 01:13, QuQ Edsel wrote: > Hi, > My friends and I were assigned a task to find out a point to insert a > callback function to intercept Disk IO activities such as read/write a .txt > file. Our final goal is to generate a report for target process/file 's > Disk IO activities. We have Q

[Qemu-devel] Functions to intercept Disk IO information?

2015-10-21 Thread QuQ Edsel
Hi, My friends and I were assigned a task to find out a point to insert a callback function to intercept Disk IO activities such as read/write a .txt file. Our final goal is to generate a report for target process/file 's Disk IO activities. We have QEMU 2.3 with KVM enabled. We have been looking f