Commit [e5d23a] Maximize Restore History

virtio-rng: fix boot with virtio-rng device

Commit "virtio-rng: support multiple virtio-rng devices" has broken
boot with a virtio-rng device because the 'init' callback of the
virtio-rng device was left unitialized to garbage, and got called
by the hwrng infrastructure, killing the guest on boot.

Signed-off-by: Sasha Levin <>
Signed-off-by: Rusty Russell <>
Fixes: 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce

Sasha Levin Sasha Levin 2014-05-16

Rusty Russell Rusty Russell 2014-05-18

changed drivers/char/hw_random/virtio-rng.c
drivers/char/hw_random/virtio-rng.c Diff Switch to side-by-side view