summaryrefslogtreecommitdiffstats
path: root/templates/machines/qemux86-64.jinja2
AgeCommit message (Collapse)AuthorFilesLines
2020-10-13SPEC-3631: Add network to qemuCorentin LABBE1-0/+1
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>
2020-09-30SPEC-3597: Add video device to qemu arm/arm64Corentin LABBE1-1/+1
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>
2020-09-25Update qemu machine to use q35 on x86Jan-Simon Moeller1-2/+2
This fits what we do when calling runqemu. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ic5ffa2f2a65b5b55c820063300171cc31d3d878c
2020-09-23SPEC-3597: add a virtual display device via vncCorentin LABBE1-1/+1
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>
2020-06-02Add prerelease type to generatorjellyfish_9.99.1jellyfish/9.99.19.99.1Jan-Simon Moeller1-1/+1
Allow the tool to generate jobs against the prerelease location. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I7f00ee52ad85b2aecc52679da4e98857a5dd59cb
2020-05-04SPEC-3210: qemu do not use ramdiskCorentin LABBE1-1/+1
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>
2020-04-16SPEC-3210: qemu x86 need no_timer_checkCorentin LABBE1-1/+1
After upgraded our lab to 2020.02 and so upgraded to buster, the qemu version has increased. With this new version, the qemu x86 jobs fail with a kernel panic about IO APIC timer. This is a know issue and the simpliest fix is to add no_timer_check to the kernel cmdline. Change-Id: I75c2427e683690bfe961f482ad5267d1d957c36f Bug-AGL: SPEC-3210 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-03-04Add kernel config option to mount rootfs rwJan-Simon Moeller1-1/+1
This is needed if we do not let systemd remount it. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I6f3ddbbc45844bff2a4adb423c7ecb8b57c0c0fd
2020-03-04Add fstab=no option in case of netbootJan-Simon Moeller1-1/+1
to avoid systemd fstab generator to mount partitions that do not exist in the netboot case. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I4c08bd50690062202590d7aae8f6508798f29997
2019-09-26Add virtio-rng-pci device on qemux86-64Jan-Simon Möller1-1/+1
To fix the xmlsec ptest in https://gerrit.automotivelinux.org/gerrit/#/c/AGL/releng-scripts/+/22510/ we added the virtio-rng-pci to the qemuarm and qemuarm64 targets. Do this also to the x86-64 target. Change-Id: I3ab0a08371656137621120d7eb5356ba993c8b2b Bug-AGL: SPEC-2739 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-07-23Remove debug from qemu cmdlinehalibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.08.0.48.0.38.0.28.0.18.0.0Jan-Simon Möller1-1/+1
This silences a lot of useless systemd messages. Change-Id: Icacd3bb09125ff4a16b57764490e570a1fc9258b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-03utils/agljobtemplate.py: Fix APPURL generationCorentin LABBE1-0/+1
The generated APPURL was invalid: - it needed to be always using ci - it missed branch and arches path This patch move the generation of the application url in the jinja file for accessing the new sdk_arch Bug-AGL: SPEC-1850 Change-Id: Ie3ffff5f6181fdc89c3ebbd41078e4d60a06992b Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-04-30Fix rfs_image for qemux86-64Jan-Simon Möller1-1/+1
Change-Id: Ieadfc20e9abbc01a272faf16f59d88ff0f1a3ff5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-06templates/machines: qemu: Add an USB host controllerCorentin LABBE1-1/+1
This patch adds an emulated USB host controller to qemu. Bug-AGL: SPEC-1773 Change-Id: Iba405d87598c9e527d5b754b12998081a22fd44f Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2018-09-28Add lab-jsmoeller template and fix typo in qemuJan-Simon Möller1-1/+1
Change-Id: I207c8fef7d85dceb60c1da65c0c7f5f3405952ec Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-01-23templates/machines: qemu: disable systemd log colorsKevin Hilman1-1/+1
systemd log colors make for noisy/unreadable logs in the CI system. Disable for CI jobs. Change-Id: Ibcf751c61116eb21a731ad3ceae06b8d07deead6 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-01-18templates: fix the rootfs name for qemu release buildsLoys Ollivier1-1/+5
The rootfs filename has changed for the release builds. Change the default to the new filename for qemu. Change-Id: I1d53010df912dd30d48dd0ee3bf3e4730d79497a Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2018-01-02templates/machines/qemux86-64.jinja2: add smp parameter to qemu machineLoys Ollivier1-1/+1
There is a deadlock at boot time in the current AGL builds which is non critical. Add the smp option to created qemu machines. So they can use 2 cores and finish booting. Change-Id: I26198d1c3191acd98b96558af0abc976c971690a Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-12Update qemu defaultsLoys Ollivier1-0/+1
Update the default package names for the qemu to match the AGL CI build artifacts. These defaults can still be overwritten using the command line. Change-Id: Id87abe03b4f4adcf0b67eb20151158bd0103343d Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-05templates: qemu: add device_arch, device_machKevin Hilman1-0/+2
device_arch and device_mach are needed for metadata fields used when submitting results to a kernelCI backend. Ensure they have proper defaults. Change-Id: I8789ab4590c7f133afbfe10c481deb2621e5e978 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-09-26Sort machine and metadata definition fieldsLoys Ollivier1-4/+4
Sort the machine fields, metadata fields. Easier to go through them and search for fields. Change-Id: I657717fda116d78c5733bd1be4000645a3694713 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-09-19rfs-image: provide command line options to setup the image nameJerome Brunet1-1/+0
Provide 2 new command line options: --img-name and --img-ext These two options require one another since the name image will be composed from both of them in the following way: rfs_image = img_name + "-" + yocto-machine + "." + img_ext Change-Id: I2b6d174b4c141cea28ce63c3c7c7beae1a82ed4c Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
2017-09-07rootfs_type: add default rootfs type for each deviceJerome Brunet1-0/+1
Add a default rootfs type for each device. the type can still be overridden from the command line. The 'boot' parameter is no longer required with this change Change-Id: I666287d83652bcd81d9619eee75bf9be292d936a Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-09-01initial snapshot: LAVA job creation based on templatesKevin Hilman1-0/+8
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>