[openqa-tests/sam/upstream-container] Try to fix QEMU video config
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [openqa-tests/sam/upstream-container] Try to fix QEMU video config
- Date: Thu, 6 Oct 2022 12:03:17 +0000 (UTC)
commit 98bb5253e944304495ef33914bb4d2660a191cec
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Thu Oct 6 13:58:56 2022 +0200
Try to fix QEMU video config
Latest openqa_worker container (84fac6ea78897) has:
* isotovideo 4.6.1664981305.4269ef9 [interface v32]
* qemu 6.2.0
A warning appears:
```
[2022-10-06T11:50:50.304399Z] [debug] qemu version detected: 6.2.0
[2022-10-06T11:50:50.304999Z] [warn] !!! backend::qemu::_set_graphics_backend: QEMUVGA is deprecated,
please set QEMU_VIDEO_DEVICE
```
QEMU then fails:
```
[2022-10-06T11:50:52.153582Z] [warn] !!! : qemu-system-x86_64: -device
virtio-vga,edid=on,xres=1024,yres=768: 'virtio-vga' is not a valid device model name
```
Use new arguments suggested by James Thomas.
utils/setup_worker.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/utils/setup_worker.sh b/utils/setup_worker.sh
index 1678c66..c4491b8 100755
--- a/utils/setup_worker.sh
+++ b/utils/setup_worker.sh
@@ -26,10 +26,11 @@ openqa-cli api --apikey $OPENQA_API_KEY --apisecret $OPENQA_API_SECRET \
backend=qemu \
settings[ARCH]=x86_64 \
settings[PART_TABLE_TYPE]=gpt \
+ settings[QEMU_APPEND]="display egl-headless,gl=on" \
settings[QEMUCPU]=host \
settings[QEMUCPUS]=2 \
settings[QEMURAM]=2560 \
- settings[QEMUVGA]=virtio \
+ settings[QEMU_VIDEO_DEVICE]="virtio-gpu-gl-pci,edid=on,max_outputs=1" \
settings[UEFI]=1 \
settings[UEFI_PFLASH_CODE]=/usr/share/qemu/ovmf-x86_64-code.bin \
settings[WORKER_CLASS]=$worker_class | tee --append openqa.log | jq -e .id > /tmp/machine_id
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]