On Wed, May 01, 2019 at 03:45:58PM -0700, ivo welch wrote: > Ladies and Gents--- I want to learn how to write a pseudo-storage > device, where the host can observe and potentially intercept read and > write requests to LBAs by the guest(s). I am looking for a starter > docs, tutorials, examples, general docs, etc. (Or perhaps is someone > interested in helping me set this up for pay, especially if such docs > are hard to find?) Writing a new emulated device is not necessary. You can configure an NBD server or iSCSI target. QEMU sends I/O requests your custom server so you can do anything you want. Writing an NBD server is fairly simple or you can use existing code like nbdkit (https://github.com/libguestfs/nbdkit). Stefan
Attachment:
signature.asc
Description: PGP signature