]> git.ipfire.org Git - thirdparty/systemd.git/commit
vmspawn: use qemu_device_driver_to_string() in resolve_disk_driver
authorChristian Brauner <brauner@kernel.org>
Mon, 20 Apr 2026 09:07:38 +0000 (11:07 +0200)
committerChristian Brauner <brauner@kernel.org>
Fri, 24 Apr 2026 12:39:24 +0000 (14:39 +0200)
commit74a07cb774cd9c8372a5e6868bdfdad9961dbee5
treec7955e92c024a4a8493d341fea70fc18034f6268
parent258c66784527bdffc8df0a3ad8437926bda5894c
vmspawn: use qemu_device_driver_to_string() in resolve_disk_driver

Drop the inline DiskType → QEMU device driver switch and call the shared
helper instead. serial_max and the CD-ROM read-only flag stay inline
since they are vmspawn-local.

Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
src/vmspawn/vmspawn.c