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

Get virtio notify offset multiply from PCI configuration #41

Open
tjhu opened this issue Mar 26, 2021 · 0 comments
Open

Get virtio notify offset multiply from PCI configuration #41

tjhu opened this issue Mar 26, 2021 · 0 comments
Assignees

Comments

@tjhu
Copy link
Contributor

tjhu commented Mar 26, 2021

We are hard coding it to 4 because this https://github.com/qemu/qemu/blob/d55f518248f263bb8d0852f98e47102ea09d4f89/hw/virtio/virtio-pci.c#L226

It's either 4 or 4k.

We should read it from the PCI configuration instead https://docs.oasis-open.org/virtio/virtio/v1.1/cs01/virtio-v1.1-cs01.html#x1-1150004

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

2 participants