aboutsummaryrefslogtreecommitdiffstats
path: root/templates/machines/qemux86-64.jinja2
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2020-09-30 09:20:52 +0200
committerCorentin LABBE <clabbe@baylibre.com>2020-09-30 09:25:03 +0200
commit2e205f46eeb17de2a3abcf2111b9c33ef5bda4d2 (patch)
tree475c19d4b63d66c232df6ac5eaba5fd03de3fe75 /templates/machines/qemux86-64.jinja2
parentd766b5ab6ca2268260bb6bf04509789e1f845764 (diff)
SPEC-3597: Add video device to qemu arm/arm64
We need to add video device to qemu ARM/ARM64. Both arm and arm64 use the virt qemu machine which dont have any video device. But since they have both a PCI bus, we could add a VGA device. Along with the VGA device, let's add some input peripheral for all qemu. Bug-AGL: SPEC-3597 Change-Id: Ic2cee663145abf0b668ca166f40f46318e526bc7 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Diffstat (limited to 'templates/machines/qemux86-64.jinja2')
-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 5641172..fc4609d 100644
--- a/templates/machines/qemux86-64.jinja2
+++ b/templates/machines/qemux86-64.jinja2
@@ -6,7 +6,7 @@
{%- set sdk_arch = "x86-64" %}
{%- set device_mach = "x86" %}
{%- set qemu_arch = "x86_64" %}
-{%- set qemu_args = "-machine q35 -cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt -smp 2 -m 2048 -soundhw hda -device usb-ehci -device virtio-rng-pci -vga virtio" %}
+{%- set qemu_args = "-machine q35 -cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt -smp 2 -m 2048 -soundhw hda -device usb-ehci -device virtio-rng-pci -vga virtio -device qemu-xhci -device usb-tablet -device usb-kbd " %}
{%- set qemu_cmdline = "console=ttyS0,115200 root=/dev/sda verbose systemd.log_color=false rw fstab=no no_timer_check" %}
{%- set rootfs_type = rootfs_type|default("rootvd") %}
{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'snapshot') or (build_type == 'prerelease') %}