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

vdpa/virtio: Change hw idx get from state to mem #97

Merged
merged 4 commits into from
Jun 20, 2024

Conversation

kailiangz1
Copy link
Collaborator

Hw idx is get from state while, and last avai idx might different with used idx, but qemu side only get avail idx,so, change to get from memory.

RM: 3954807

Hw idx is get from state while, and last avai idx might different with
used idx, but qemu side only get avail idx,so, change to get from memory.

RM: 3954807
Signed-off-by: Kailiang <kailiangz@nvidia.com>
When config, get idx from memory, not from last avail
idx.

RM: 3954807
Signed-off-by: Kailiang <kailiangz@nvidia.com>
In presetup, q is not ready, set hw idx to 0
as default.

RM: 3954807
Signed-off-by: Kailiang <kailiangz@nvidia.com>
Notify date should pring once, not necessary for
every vq

Signed-off-by: Kailiang <kailiangz@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant