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

cpu.write_mem to MMIO devices is ignored #95

Open
vringar opened this issue Dec 17, 2024 · 2 comments · May be fixed by #96
Open

cpu.write_mem to MMIO devices is ignored #95

vringar opened this issue Dec 17, 2024 · 2 comments · May be fixed by #96

Comments

@vringar
Copy link

vringar commented Dec 17, 2024

As write_mem used the cpu_memory_rw_debug function it can not write to MMIO devices. The relevant upstream issue
I needed this for my fuzzing, so I adapted the proposed patch and it works for me.
I'm unable to engage with the QEMU mailing list, but I'd happily upstream this to you, if you are interested in taking it.

@rmalmain
Copy link
Collaborator

indeed, thanks for the proposition. i think it would be nice to expose this in some way.
do you mind opening a pr with the changes you did? i can have a look at your patch.

@vringar
Copy link
Author

vringar commented Dec 20, 2024

I've challenged myself and am currently trying to get the patch directly into QEMU as well v1 v2

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

Successfully merging a pull request may close this issue.

2 participants