Age | Commit message (Collapse) | Author | Files | Lines |
|
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 <clabbe@baylibre.com>
|
|
We need to add a virtual display device for testing homescreen.
Let's add a vnc to do this.
But we need to avoid VNC to open a network port, so we will use an unix
socket.
For handling the fact that two job could run in parallel, each unix
patch need to be unique. We will generate an unique path with gerrit id,
branch, and a random int.
The vnc is added for all qemu since it seems to not hurt ARM/ARM64.
We also add a virtio display device on x86_64 since apps are tested only
on x86_64.
Change-Id: I22412df75cad16f151f73d0d93b0e38ae386ef4d
Bug-AGL: SPEC-3597
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
On 2020.02, qemu jobs fail to mount the rootfs.
This is due to LAVA ignore now compression for ramdisk and the AGL image
is in xz.
But AGL qemu jobs in fact does not use a ramdisk but a virtio disk.
Renaming the ramdisk definition entry to rootvd handle this issue.
Furthermore, let's introduce a new rootfs type rootvd.
Change-Id: I71ef6dee0d859c6aa0b29f1d47ac14dd4db900d8
Bug-AGL: SPEC-3210
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
By default LAVA set the test device on IDE.
Stretch version of qemu doesnt care about this setting and was always
using virtio.
But buster qemu care now about this and fail with:
machine type does not support if=ide,bus=0,unit=0
This patch adds the necessary to restore the use of virtio.
Change-Id: If34194d82b6104b9b5be7118a5194bd3b61fc090
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
LAVA expect machine, memory and cpu to be passed as argument in context and not
via extra args.
This patchs introduce qemu_cpu, qemu_memory and qemu_machine as jinja
variables.
Change-Id: I8893943947a046f90be388febccfc29c7923d5b4
Bug-AGL: SPEC-2376
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Without transfer_overlay, LAVA will use libguestfs to insert the overlay
into the rootfs. This will cause problems with rootfs that have security
enabled, so use transfer_overlay to load the overlay after the rootfs
has been booted.
Tested with QEMU devices in lab-baylibre.
Change-Id: Ib27e5e862c64e8b302fa486f113fed4fdc6f5e83
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: I5d545d3531f4c4190453724738076bd4eddfc4d6
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|