Skip to content

Commit

Permalink
Merge pull request #160 from kazkojima/qemu-virtio-rng-pr-take2
Browse files Browse the repository at this point in the history
Add -device virtio-rng-pci to qemu options
  • Loading branch information
dayeol committed Mar 4, 2020
2 parents 206563d + 6b3cc36 commit 43bd8c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ add_custom_command(OUTPUT ${scripts}/run-qemu.sh DEPENDS ${scripts}
-kernel ${sm_wrkdir}/bbl \
${extra_qemu_options} \
-netdev user,id=net0,net=192.168.100.1/24,dhcpstart=192.168.100.128,hostfwd=tcp::\$\{HOST_PORT\}-:22 \
-device virtio-net-device,netdev=net0" > run-qemu.sh
-device virtio-net-device,netdev=net0 \
-device virtio-rng-pci" > run-qemu.sh
VERBATIM
COMMAND
chmod +x run-qemu.sh
Expand Down

0 comments on commit 43bd8c0

Please sign in to comment.