[SPDK] Re: Can I use spdk_pci_hook_device to implement a virtual NVMe device?
oscar.huang at microchip.com
| Newsgroups | dev.linux.lists.spdk |
|---|---|
| Message-ID | <[email protected]> |
Hi, Jim, I haven't. I have no experience on creating code to trap memory access. I googled a little bit. It looks like I can use mprotect to set memory access properties so that certain signal can be triggered when the memory area is read or written. Will give it a try. Thanks for your suggestion, Jim. -Oscar