[pve-devel] Qemu / virtio-rng-pci

Alexandre DERUMIER aderumier at odiso.com
Mon Jun 1 17:11:22 CEST 2015


>>Sure. I'm just thinking about the check regarding Qemu 2.3. I would also
>>like to use it for older qemu versions / installations.
>
>>Is there no other way to support it and not to break live migration?

I don't see how to do it, adding a new pci device by default will break live migration.
Or we need to add a new option in vmid.conf

@Dietmar : any opinion ?


@stef : Can't you maintain a patch to enable it for qemu 2.2 for your needs ?



----- Mail original -----
De: "Stefan Priebe" <s.priebe at profihost.ag>
À: "aderumier" <aderumier at odiso.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 1 Juin 2015 14:58:16
Objet: Re: [pve-devel] Qemu / virtio-rng-pci

Am 01.06.2015 um 14:51 schrieb Alexandre DERUMIER: 
> I just send a patch. 

Oh great. 

> can you test it ? 

Sure. I'm just thinking about the check regarding Qemu 2.3. I would also 
like to use it for older qemu versions / installations. 

Is there no other way to support it and not to break live migration? 

> (I'm using /dev/random, not sure we want to add support for hardware entropy devices ?) 

I think not right now. Intel already implemented a CPU Feature flag, so 
that you do not need entropy devices at all. So i think they get 
replaced anyway. 

See: http://en.wikipedia.org/wiki/RdRand 

Stefan 

> ----- Mail original ----- 
> De: "Stefan Priebe" <s.priebe at profihost.ag> 
> À: "pve-devel" <pve-devel at pve.proxmox.com> 
> Envoyé: Lundi 1 Juin 2015 12:41:56 
> Objet: [pve-devel] Qemu / virtio-rng-pci 
> 
> Hi, 
> 
> while i had not enough entropy in some virtual machines i was wondering 
> why we don't use virtio-rng-pci as default which is available since qemu 
> 1.3? 
> 
> Here is a red hat article on it: 
> http://rhelblog.redhat.com/2015/03/09/red-hat-enterprise-linux-virtual-machines-access-to-random-numbers-made-easy/ 
> 
> Stefan 
> _______________________________________________ 
> pve-devel mailing list 
> pve-devel at pve.proxmox.com 
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
> 



More information about the pve-devel mailing list