]> git.ipfire.org Git - thirdparty/dracut.git/commit
ci: add function to generate qemu disk arguments
authorHarald Hoyer <harald@redhat.com>
Mon, 19 Apr 2021 14:30:50 +0000 (16:30 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Mon, 19 Apr 2021 20:32:00 +0000 (22:32 +0200)
commit2cfd778a45d592b42852b90cdfaf1b700ba423bc
treedba86cb3661a69cb8cc4d8cfdb71e51a249b81f6
parent97b86d37f950356864f0658398b19f6cc03f494a
ci: add function to generate qemu disk arguments

`qemu_add_drive_args` can be used to generate arguments to specify disks
for a qemu machine (`-M q35`).

This is mostly useful to address those raw disks via `/dev/disk/by-id`,
because due to parallel probing in the kernel `/dev/sd*` can point to
anything.
test/test-functions