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

support for very large 64-bit bars #710

Open
thomasbarrett opened this issue Sep 17, 2022 · 5 comments
Open

support for very large 64-bit bars #710

thomasbarrett opened this issue Sep 17, 2022 · 5 comments
Assignees

Comments

@thomasbarrett
Copy link

libvfio-user does not appear to support 64-bit BAR. In the 'private.h' file, I noticed that the region size was constrained to uint32_t. Even after fixing this, I can't seem to be able to create a 64-bit BAR. Does anyone have any experience using libvfio-user with 64-bit BARs?

@tmakatos
Copy link
Member

We haven't come across 64-bit BARs so far. FWIU, it's should be just a matter of changing uint32_t to uint64_t in a few places. When you say it doesn't work, what do you mean? Do you have some logs/code to share?

@tmakatos tmakatos self-assigned this Sep 19, 2022
@ramakristipati
Copy link

is this fixed?

@jlevon
Copy link
Collaborator

jlevon commented Feb 20, 2024

No, but we would definitely be interested in patches if you're interested in making this work

@jlevon
Copy link
Collaborator

jlevon commented Mar 27, 2024

@thomasbarrett @ramakristipati can you please try out #792 ?

@jlevon jlevon changed the title 64-bit BAR Support support for very large 64-bit bars Mar 29, 2024
@jlevon
Copy link
Collaborator

jlevon commented Mar 29, 2024

Basic 64-bit support done via #792
What remains is support for individual bars over 4g

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

4 participants