summaryrefslogtreecommitdiffstats
path: root/templates/boot/generic-qemu-tmpfs.jinja2
AgeCommit message (Collapse)AuthorFilesLines
2020-03-05SPEC-3210: Set the interface for the test deviceCorentin LABBE1-0/+3
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>
2019-05-24generic-qemu-tmpfs: add qemu_cpu and qemu_machineCorentin LABBE1-0/+9
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>
2017-09-11templates: QEMU: use transfer_overlayKevin Hilman1-0/+3
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>
2017-09-01initial snapshot: LAVA job creation based on templatesKevin Hilman1-0/+26
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>