Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd virtio-rng support #1260
Comments
fabiand
added
kind/enhancement
help wanted
topic/virtualization
labels
Jul 3, 2018
This comment was marked as outdated.
Show comment
Hide comment
This comment was marked as outdated.
michalskrivanek
Jul 3, 2018
Member
@fabiand
why openstack/ovirt flavor? this should use virtuned, worst case presets until we have virtuned.
For low level kubevirt API why do we need anything else than libvirt-level attributes?
|
@fabiand |
This comment was marked as outdated.
Show comment
Hide comment
This comment was marked as outdated.
fabiand
Jul 3, 2018
Member
@michalskrivanek the "flavors" can be implemented by virtuned - we just do not have it right now, nothing is stopping us on using it on the longer run.
My point is that we do not want to expose all of the low-level knobs. But expose "flavors" which will set the internal (libvirt) knobs to the values.
I.e. openstack has values for ( backend, rate period and bytes), and ovirt as well. Selecting "flavor: ovirt" will set the libvirt knobs to the values which ovirt currently has.
|
@michalskrivanek the "flavors" can be implemented by virtuned - we just do not have it right now, nothing is stopping us on using it on the longer run. My point is that we do not want to expose all of the low-level knobs. But expose "flavors" which will set the internal (libvirt) knobs to the values. I.e. openstack has values for ( backend, rate period and bytes), and ovirt as well. Selecting "flavor: ovirt" will set the libvirt knobs to the values which ovirt currently has. |
fabiand
added this to the v2 milestone
Jul 3, 2018
fabiand
assigned
petrkotas
Jul 19, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
petrkotas
Jul 27, 2018
Member
Lets split this issue into three separate ones.
- Implement the API support, which is done in #1385,
- Implement new presents with default for the virtio RNG,
- Tackle the challenge with hardware RNG device.
|
Lets split this issue into three separate ones.
|
fabiand commentedJul 3, 2018
•
edited
Design: https://docs.google.com/document/d/1G75lPm0dCf3ZcFnG6NJpUDZgTaQnFKKM7_glpXzH9uc/edit#
This issue is about adding a virtio rng device type including it's knbos, and two configuration profiles which reflect the oVirt and OpenStack configuration.
The device can be added by a user on demand (thus is not automatically added to each VM).
The device should expose all the detailed settings you can configure on the the virtio-rng device.
And in addition it must expose a
profilefield which will set the knobs (i.e. backend, rate period and byets) according to profiles derived from oVirt and OpenStack.A user can eitehr set the knbos himself, or choose from these two options.
The backend should be
/dev/randomif available ordev/urandomas a fallback.API
libvirt reference. https://libvirt.org/formatdomain.html#elementsRng
Open Questions