From: Daan De Meyer Date: Wed, 29 May 2024 12:19:17 +0000 (+0200) Subject: test: Use virtio-scsi for keydev drive X-Git-Tag: v256-rc4~90^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb47645e21e88c5df81ddbc9ac6e4bd85a0c7b35;p=thirdparty%2Fsystemd.git 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). --- 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',