diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2017-08-18 18:19:14 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-19 22:15:39 +0100 |
commit | f6857d9832a799f39e1c9d6b09fbb7c76fca88da (patch) | |
tree | c567bfc5bf0357b612ddeb831ead7abc33b31941 /meta/conf/machine/include/qemuboot-x86.inc | |
parent | 045e3f9283b879f0a09a1512ec509b0c86948b45 (diff) | |
download | poky-f6857d9832a799f39e1c9d6b09fbb7c76fca88da.tar.gz |
qemu conf: replace deprecated option with new option
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>
Diffstat (limited to 'meta/conf/machine/include/qemuboot-x86.inc')
-rw-r--r-- | meta/conf/machine/include/qemuboot-x86.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/include/qemuboot-x86.inc b/meta/conf/machine/include/qemuboot-x86.inc index acf9d55c40..0596e2ed3f 100644 --- a/meta/conf/machine/include/qemuboot-x86.inc +++ b/meta/conf/machine/include/qemuboot-x86.inc | |||
@@ -12,7 +12,7 @@ QB_AUDIO_DRV = "alsa" | |||
12 | QB_AUDIO_OPT = "-soundhw ac97,es1370" | 12 | QB_AUDIO_OPT = "-soundhw ac97,es1370" |
13 | QB_KERNEL_CMDLINE_APPEND = "vga=0 uvesafb.mode_option=${UVESA_MODE} oprofile.timer=1 uvesafb.task_timeout=-1" | 13 | QB_KERNEL_CMDLINE_APPEND = "vga=0 uvesafb.mode_option=${UVESA_MODE} oprofile.timer=1 uvesafb.task_timeout=-1" |
14 | # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy | 14 | # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy |
15 | QB_OPT_APPEND = "-vga vmware -show-cursor -usb -usbdevice tablet -device virtio-rng-pci" | 15 | QB_OPT_APPEND = "-vga vmware -show-cursor -usb -device usb-tablet -device virtio-rng-pci" |
16 | 16 | ||
17 | KERNEL_MODULE_AUTOLOAD += "uvesafb" | 17 | KERNEL_MODULE_AUTOLOAD += "uvesafb" |
18 | KERNEL_MODULE_PROBECONF += "uvesafb" | 18 | KERNEL_MODULE_PROBECONF += "uvesafb" |