summaryrefslogtreecommitdiffstats
path: root/templates/machines
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-10-01 15:18:44 +0200
committerKevin Hilman <khilman@baylibre.com>2018-10-06 15:03:52 +0000
commit88ef8e5daa50f58a6e5515e7ffaf1a9b0be40867 (patch)
treeb12665dcf10da569bbf0d587575109185d2f3d16 /templates/machines
parent7ce95e6cf230ddaff55fe1aa11d7e4c43a5b410c (diff)
templates/machines: qemu: Add an USB host controller
This patch adds an emulated USB host controller to qemu. Bug-AGL: SPEC-1773 Change-Id: Iba405d87598c9e527d5b754b12998081a22fd44f Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Diffstat (limited to 'templates/machines')
-rw-r--r--templates/machines/qemux86-64.jinja22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/machines/qemux86-64.jinja2 b/templates/machines/qemux86-64.jinja2
index 5562d79..122fa6d 100644
--- a/templates/machines/qemux86-64.jinja2
+++ b/templates/machines/qemux86-64.jinja2
@@ -5,7 +5,7 @@
{%- set device_arch = "x86_64" %}
{%- set device_mach = "x86" %}
{%- set qemu_arch = "x86_64" %}
-{%- set qemu_args = "-cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt -smp 2 -m 2048 -soundhw hda" %}
+{%- set qemu_args = "-cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt -smp 2 -m 2048 -soundhw hda -device usb-ehci" %}
{%- set qemu_cmdline = "console=ttyS0,115200 root=/dev/hda debug verbose systemd.log_color=false " %}
{%- set rootfs_type = rootfs_type|default("ramdisk") %}
{%- if build_type == 'release' %}