ArchipelProject / Archipel

XMPP Based Orchestrator
http://archipelproject.org
GNU Affero General Public License v3.0
800 stars 126 forks source link

TRNG|/dev/random virtion-rng #1126

Closed yhaenggi closed 9 years ago

yhaenggi commented 9 years ago

Is it possible to include the virtio-rng[0] settings/module into archipel? Having a TRNG on the Host should also benefit the Guests.

[0] http://wiki.qemu-project.org/Features-Done/VirtIORNG

CyrilPeponnet commented 9 years ago

This must be supported by Libvirt if you want to be able to add this device to your vm through the xml definition.

On Mar 19, 2015, at 9:04 AM, K1773R notifications@github.com wrote:

Is it possible to include the virtio-rng[0] settings/module into archipel? Having a TRNG on the Host should also benefit the Guests.

[0] http://wiki.qemu-project.org/Features-Done/VirtIORNG

— Reply to this email directly or view it on GitHub .

yhaenggi commented 9 years ago

according to [0] its already implemented in libvirt. they also add an example, will try this later.

that would be another manual XML entry that i have to set everytime i change something. it would be quite usefull, if archipel can save additional xml entry which would be merged after validating changes. should i open another issue for this?

[0] https://libvirt.org/formatdomain.html#elementsRng

CyrilPeponnet commented 9 years ago

Updating the libvirt model is a pain... Once you had something through the xml editor, don't use the UI to change definition on your vm.

But if you want to improve the libvirt model, you can give a try:

https://github.com/ArchipelProject/Archipel/tree/master/ArchipelClient/ModulesSources/VirtualMachineDefinition/Model

yhaenggi commented 9 years ago

agree...

as a small update; virtio-rng works for me with the XML adjustments :)