VMware {code} Community
wagde
Contributor
Contributor

Registering a callback on read and write from vmdk

Hi

I'm interested in a feature, and I want to know if VDDK has such a feature.

I want to register my own callback which will be called before calling th read() and write() funcntions to the vmdk.

Or maybe create a new vmdk for a VM and register my own read and write which will perform some operations and then call the regular read and write functions.

Thanx

Wagde

Reply
0 Kudos
1 Reply
hkrishnan
Enthusiast
Enthusiast

Hi Wagde,

There is no facility currently in VDDK to register callbacks prior to calling the read() and write() functions to VMDK. Also all VDDK methods are synchronous.

Thanks,

Hari

Reply
0 Kudos