From eb47645e21e88c5df81ddbc9ac6e4bd85a0c7b35 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 29 May 2024 14:19:17 +0200 Subject: [PATCH] test: Use virtio-scsi for keydev drive Otherwise qemu defaults to ide for which the module isn't always available (e.g. it's missing in the debian linux cloud images). --- test/TEST-24-CRYPTSETUP/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/TEST-24-CRYPTSETUP/meson.build b/test/TEST-24-CRYPTSETUP/meson.build index cef370bd656..af41f161bfe 100644 --- a/test/TEST-24-CRYPTSETUP/meson.build +++ b/test/TEST-24-CRYPTSETUP/meson.build @@ -15,7 +15,8 @@ integration_tests += [ 'luks.options=0d318174-56b0-4d6e-a324-ac1e7e7d235d=x-initrd.attach', ], 'qemu-args' : [ - '-drive', 'format=raw,cache=unsafe,file=@0@'.format(project_build_root / 'mkosi.output/keydev.raw'), + '-drive', 'id=keydev,if=none,format=raw,cache=unsafe,file=@0@'.format(project_build_root / 'mkosi.output/keydev.raw'), + '-device', 'scsi-hd,drive=keydev', ], 'mkosi-args' : integration_test_template['mkosi-args'] + [ '--runtime-size=11G', -- 2.47.3