Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to obtain and modify actual data in zns.c? #158

Open
realcedriccheng opened this issue Nov 5, 2024 · 0 comments
Open

Is it possible to obtain and modify actual data in zns.c? #158

realcedriccheng opened this issue Nov 5, 2024 · 0 comments

Comments

@realcedriccheng
Copy link
Contributor

Hello, I am new to FEMU and QEMU and I am currently trying to use FEMU as a ZNS emulator. I was wondering is it possible to obtain and modify actual data in zns.c?

Currently FEMU let the backend_rw to handle read and write data of &req->qsg. And data in qsg seem reachable by cur_addr and cur_len. How can I create a buffer in zns.c and copy the data into it, and then use the buffer as the argument of backend_rw?

I tried previously and FEMU just stopped working. I guess this is related to some constraints of address space. Could you please give me some tips on it?

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant