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

virtio-rng: add a control virtqueue #83

Open
vivier opened this issue Jul 16, 2020 · 2 comments
Open

virtio-rng: add a control virtqueue #83

vivier opened this issue Jul 16, 2020 · 2 comments

Comments

@vivier
Copy link

vivier commented Jul 16, 2020

If for some reasons the host cannot provide enough entropy to the device, the driver is stuck waiting for the enqueued request buffers. Because of that, we cannot switch to another entropy device or to stop and unload the driver.

We need a way to retrieve these buffers and release all the driver resources.

Adding a control virtqueue with a command to flush the request virtqueue seems to be the way to do it.

@vivier
Copy link
Author

vivier commented Jul 16, 2020

Proposed changes to the specifications:
0001-virtio-rng-add-a-control-queue.txt

@vivier
Copy link
Author

vivier commented Jul 17, 2020

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

1 participant