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

Initial attempt to add virtio-rng to install VM #260

Closed
wants to merge 1 commit into from

Conversation

imcleod
Copy link
Contributor

@imcleod imcleod commented Apr 30, 2018

F29/rawhide composes are hitting an issue where the kernel is now timing out at boot, waiting for sufficient entropy. The hope is that allowing entropy pass-through from the host will correct this. I'm opening this PR as a starting point. This feature seems to have been added to libvirt quite a while ago (2012).

Reference for failed rawhide image builds: https://bugzilla.redhat.com/show_bug.cgi?id=1572916

Tested briefly on my F27 laptop installing an F27 guest. I could see that the virtio-rng module loaded in the install guest which I believe is what we want to occur.

@nullr0ute
Copy link
Collaborator

Work fine with my testing

@clalancette
Copy link
Owner

@imcleod This looks OK to me with a slight tweak. My biggest question with it has to do with aarch64 and s390x. Do we need to do something different/conditional for those?

@imcleod
Copy link
Contributor Author

imcleod commented Jun 20, 2018

@clalancette - I'm not entirely sure. In my limited experience, the virtio devices are cross-architecture. I guess I'm in a better position to test, thanks to some indirect hardware access. Let me get back to you.

@nullr0ute
Copy link
Collaborator

Works fine with aarch64 at least. I don't believe we've seen issues with s390x (or at least it's ignored)

@clalancette
Copy link
Owner

Great, thanks for the testing and the advice. I've now applied this with some small fixups. Thanks for the patch!

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

Successfully merging this pull request may close these issues.

3 participants