Re: [libvirt] [PATCH 2/2] viriscsi: Request more random bits for interface name

2018-08-05 Thread Eric Blake
On 08/01/2018 06:44 AM, Michal Privoznik wrote: In virStorageBackendCreateIfaceIQN() the virRandomBits() is called in order to use random bits to generate random name for new interface. However, virAsprintf() is expecting 32 bits and we are requesting only 30. Signed-off-by: Michal Privoznik

Re: [libvirt] [PATCH 2/2] viriscsi: Request more random bits for interface name

2018-08-02 Thread Michal Privoznik
On 08/01/2018 04:48 PM, Eric Blake wrote: > On 08/01/2018 06:44 AM, Michal Privoznik wrote: >> In virStorageBackendCreateIfaceIQN() the virRandomBits() is >> called in order to use random bits to generate random name for >> new interface. However, virAsprintf() is expecting 32 bits and we >> are

Re: [libvirt] [PATCH 2/2] viriscsi: Request more random bits for interface name

2018-08-01 Thread Daniel P . Berrangé
On Wed, Aug 01, 2018 at 01:44:33PM +0200, Michal Privoznik wrote: > In virStorageBackendCreateIfaceIQN() the virRandomBits() is > called in order to use random bits to generate random name for > new interface. However, virAsprintf() is expecting 32 bits and we > are requesting only 30. > >

[libvirt] [PATCH 2/2] viriscsi: Request more random bits for interface name

2018-08-01 Thread Michal Privoznik
In virStorageBackendCreateIfaceIQN() the virRandomBits() is called in order to use random bits to generate random name for new interface. However, virAsprintf() is expecting 32 bits and we are requesting only 30. Signed-off-by: Michal Privoznik --- src/util/viriscsi.c | 2 +- 1 file changed, 1