From bc944019a9f558454ede39b95e5da39fca0c81f8 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Tue, 13 Oct 2020 07:35:05 +0200 Subject: SPEC-3631: Add network to qemu qemu machines does not have a network card by default. So let's add one. Change-Id: I6ea5d5625ee5c24b5ee49652f1aa838580a6f952 Bug-AGL: SPEC-3631 Signed-off-by: Corentin LABBE --- templates/machines/qemux86-64.jinja2 | 1 + 1 file changed, 1 insertion(+) (limited to 'templates/machines/qemux86-64.jinja2') diff --git a/templates/machines/qemux86-64.jinja2 b/templates/machines/qemux86-64.jinja2 index fc4609d..74b3915 100644 --- a/templates/machines/qemux86-64.jinja2 +++ b/templates/machines/qemux86-64.jinja2 @@ -6,6 +6,7 @@ {%- set sdk_arch = "x86-64" %} {%- set device_mach = "x86" %} {%- set qemu_arch = "x86_64" %} +{%- set qemu_model = "model=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") %} -- cgit 1.2.3-korg