diff options
Diffstat (limited to 'meta/conf/machine/include')
| -rw-r--r-- | meta/conf/machine/include/qemuboot-mips.inc | 2 | ||||
| -rw-r--r-- | meta/conf/machine/include/qemuboot-x86.inc | 2 | ||||
| -rw-r--r-- | meta/conf/machine/include/riscv/qemuriscv.inc | 3 |
3 files changed, 0 insertions, 7 deletions
diff --git a/meta/conf/machine/include/qemuboot-mips.inc b/meta/conf/machine/include/qemuboot-mips.inc index e99bade2e3..230f032c53 100644 --- a/meta/conf/machine/include/qemuboot-mips.inc +++ b/meta/conf/machine/include/qemuboot-mips.inc | |||
| @@ -3,8 +3,6 @@ IMAGE_CLASSES += "qemuboot" | |||
| 3 | QB_MACHINE = "-machine malta" | 3 | QB_MACHINE = "-machine malta" |
| 4 | QB_KERNEL_CMDLINE_APPEND = "console=ttyS0 console=tty" | 4 | QB_KERNEL_CMDLINE_APPEND = "console=ttyS0 console=tty" |
| 5 | QB_OPT_APPEND = "-usb -device usb-tablet" | 5 | QB_OPT_APPEND = "-usb -device usb-tablet" |
| 6 | # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy | ||
| 7 | QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0" | ||
| 8 | 6 | ||
| 9 | # For graphics to work we need to define the VGA device as well as the necessary USB devices | 7 | # For graphics to work we need to define the VGA device as well as the necessary USB devices |
| 10 | QB_OPT_APPEND += "-vga std" | 8 | QB_OPT_APPEND += "-vga std" |
diff --git a/meta/conf/machine/include/qemuboot-x86.inc b/meta/conf/machine/include/qemuboot-x86.inc index ccc6dcd3bf..2a4760c717 100644 --- a/meta/conf/machine/include/qemuboot-x86.inc +++ b/meta/conf/machine/include/qemuboot-x86.inc | |||
| @@ -10,6 +10,4 @@ QB_AUDIO_DRV = "alsa" | |||
| 10 | QB_AUDIO_OPT = "-soundhw ac97,es1370" | 10 | QB_AUDIO_OPT = "-soundhw ac97,es1370" |
| 11 | QB_KERNEL_CMDLINE_APPEND = "oprofile.timer=1" | 11 | QB_KERNEL_CMDLINE_APPEND = "oprofile.timer=1" |
| 12 | QB_OPT_APPEND = "-usb -device usb-tablet" | 12 | QB_OPT_APPEND = "-usb -device usb-tablet" |
| 13 | # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy | ||
| 14 | QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0" | ||
| 15 | 13 | ||
diff --git a/meta/conf/machine/include/riscv/qemuriscv.inc b/meta/conf/machine/include/riscv/qemuriscv.inc index 759c8a196e..0e88c91aa6 100644 --- a/meta/conf/machine/include/riscv/qemuriscv.inc +++ b/meta/conf/machine/include/riscv/qemuriscv.inc | |||
| @@ -33,6 +33,3 @@ QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@" | |||
| 33 | QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0" | 33 | QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0" |
| 34 | QB_SERIAL_OPT = "-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=virtcon" | 34 | QB_SERIAL_OPT = "-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=virtcon" |
| 35 | QB_TCPSERIAL_OPT = " -device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon" | 35 | QB_TCPSERIAL_OPT = " -device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon" |
| 36 | # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy | ||
| 37 | QB_OPT_APPEND = " -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-device,rng=rng0" | ||
| 38 | |||
