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

Block device read not returns #159

Open
BDUG opened this issue Oct 3, 2024 · 1 comment
Open

Block device read not returns #159

BDUG opened this issue Oct 3, 2024 · 1 comment

Comments

@BDUG
Copy link

BDUG commented Oct 3, 2024

While reading a block device the my code stuck in

queue.rs

        // Wait until there is at least one element in the used ring.
        while !self.can_pop() {
            spin_loop();
        }

How can I resolve it?

@qwandor
Copy link
Collaborator

qwandor commented Oct 21, 2024

What VirtIO block device implementation are you using? Is the device actually responding to the read? It works fine in all my tests with QEMU and crosvm, so I'm not going to be able to help here unless you provide details on how to reproduce the issue you're having.

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