summaryrefslogtreecommitdiffstats
path: root/templates/machines/qemuarm64.jinja2
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2020-09-30 09:20:52 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-09-30 11:42:54 +0000
commit5280722c7d07a3cef3ac016b2d1031a076528fd1 (patch)
tree28f8bb1c3c6bdffa8be775a15921be797047c0bd /templates/machines/qemuarm64.jinja2
parent1336c3d2f132dbefc156ccc8e261062048fa295c (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> (cherry picked from commit 2e205f46eeb17de2a3abcf2111b9c33ef5bda4d2)
Diffstat (limited to 'templates/machines/qemuarm64.jinja2')
-rw-r--r--templates/machines/qemuarm64.jinja22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/machines/qemuarm64.jinja2 b/templates/machines/qemuarm64.jinja2
index eaa6ed2..0e280eb 100644
--- a/templates/machines/qemuarm64.jinja2
+++ b/templates/machines/qemuarm64.jinja2
@@ -9,7 +9,7 @@
{%- set qemu_cpu = "cortex-a57" %}
{%- set qemu_machine = "virt" %}
{%- set qemu_memory = "2048" %}
-{%- set qemu_args = "-smp 2 -soundhw hda -device usb-ehci -device virtio-rng-pci" %}
+{%- set qemu_args = "-smp 2 -soundhw hda -device usb-ehci -device virtio-rng-pci -device VGA,vgamem_mb=64,edid=on -device qemu-xhci -device usb-tablet -device usb-kbd " %}
{%- set qemu_cmdline = "console=ttyAMA0,115200 root=/dev/vda verbose systemd.log_color=false " %}
{%- set guestfs_interface = "virtio" %}
{%- set rootfs_type = rootfs_type|default("rootvd") %}