public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Need to intercept open&write calls for vdi file when VirtualBox is working.
@ 2010-03-24  6:04 Sergey Malykhin
  2010-03-24  6:52 ` David Newall
  0 siblings, 1 reply; 2+ messages in thread
From: Sergey Malykhin @ 2010-03-24  6:04 UTC (permalink / raw)
  To: linux-kernel


Hi,

My problem - I have to intercept open&write function calls to .vdi file
when VirtualBox is working to control which sectors of vdi file were
changed, i.e. I need to get 1. what file was open for writing; 2. data
from buffer; 3. size of data; 4. offset in file;

I tryed: 
          - LD_PRELOAD - not helped

          - using fuse - rewrote write call and successfully
intercepted, but fuse is slow.

I have possibilities to patch ext3 or patch inotify.

Is there any better way to do it?

TIA



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

end of thread, other threads:[~2010-03-24  6:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-24  6:04 Need to intercept open&write calls for vdi file when VirtualBox is working Sergey Malykhin
2010-03-24  6:52 ` David Newall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox