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

Fix BAR2-BAR3 #87

Open
AndrewGavril opened this issue Sep 28, 2023 · 2 comments
Open

Fix BAR2-BAR3 #87

AndrewGavril opened this issue Sep 28, 2023 · 2 comments
Assignees
Labels
qemu Task related to qemu

Comments

@AndrewGavril
Copy link
Collaborator

Reconfiguration of BAR 2 leads to errors in the operation of the device.

@AndrewGavril AndrewGavril added the qemu Task related to qemu label Sep 28, 2023
@mxkrsv
Copy link
Collaborator

mxkrsv commented Sep 29, 2023

I re-checked, and actually disabling ivshmem_bar2 registering in guest PCI space doesn't break anything.

That potentially allows us to register BARs on regions 2 and 3.

There's a new problem, however. When registering 4 BARs, guest system boot hangs. I haven't yet looked at kernel logs.

However, 3 BARs is still fine, and also their indices don't matter.

So, for now, we can register a total of 3 BARs 256MiB each.

@mxkrsv
Copy link
Collaborator

mxkrsv commented Sep 29, 2023

Pushed the third bar enablement changes to #78

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

No branches or pull requests

2 participants