Skip to content
Browse files

Fix /sbin/sfdisk hanging indefinitely

Wire up virtio-rng. This fixes an issue where sfdisk would hang
indefinitely waiting on a read from urandom
( due to a
lack of entropy.
  • Loading branch information...
hankjacobs authored and bradfitz committed Sep 4, 2018
1 parent 9ecb8f7 commit 18ff031dd380b22592a7a128139bf5af2cdf684d
Showing with 1 addition and 0 deletions.
  1. +1 −0 integration_test.go
@@ -192,6 +192,7 @@ func TestInQemu(t *testing.T) {
"-monitor", "unix:"+monSockPath+",server,nowait",
"-device", "virtio-net,netdev=net0",
"-netdev", "user,id=net0,guestfwd=tcp:"+ln.Addr().String(),
"-device", "virtio-rng-pci",
"-device", "virtio-serial",
"-device", "virtio-scsi-pci,id=scsi",
"-kernel", kernelPath,

0 comments on commit 18ff031

Please sign in to comment.
You can’t perform that action at this time.