mirror of
https://git.yoctoproject.org/poky
synced 2026-02-15 21:23:04 +01:00
Replace the deprecated '-usbdevice' option with '-device usb-xx' option. This would fix runqemu boot error like below. '-usbdevice' is deprecated, please use '-device usb-...' instead (From OE-Core rev: 2f1f3480d344f8521e01f456d2dcd6c4e989ec59) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 lines
356 B
HTML
9 lines
356 B
HTML
# For runqemu
|
|
IMAGE_CLASSES += "qemuboot"
|
|
QB_MEM = "-m 256"
|
|
QB_MACHINE = "-machine malta"
|
|
QB_KERNEL_CMDLINE_APPEND = "console=ttyS0 console=tty"
|
|
# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
|
|
QB_OPT_APPEND = "-vga cirrus -show-cursor -usb -device usb-tablet -device virtio-rng-pci"
|
|
QB_SYSTEM_NAME = "qemu-system-${TUNE_ARCH}"
|