Amit Shah <amit.shah@xxxxxxxxxx> writes: > The code currently only supports one virtio-rng device at a time. > Invoking guests with multiple devices causes the guest to blow up. > > Check if we've already registered and initialised the driver. Also > cleanup in case of registration errors or hot-unplug so that a new > device can be used. > > Reported-by: Peter Krempa <pkrempa@xxxxxxxxxx> > Reported-by: <yunzheng@xxxxxxxxxx> > Signed-off-by: Amit Shah <amit.shah@xxxxxxxxxx> > --- > > Also valid for stable? Yes. We could fix virtio-rng to allow multiple rngs, but of course it will fail anyway since hwrng wants unique names. And changing the name to be virtio-%u will probably break things, for no real upside. Applied, and Cc:stable added. Thanks, Rusty. _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization