[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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.