]> git.ipfire.org Git - thirdparty/systemd.git/commit
vmspawn: Use virtio-blk-pci for image instead of virtio-scsi-pci
authorDaanDeMeyer <daan.j.demeyer@gmail.com>
Thu, 3 Jul 2025 12:50:05 +0000 (14:50 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 10 Jul 2025 14:18:33 +0000 (16:18 +0200)
commit1f24a954e488a1e09db0539f1fb850ee31b0586f
tree0076eb2a1d6f752171c3a7ce2a3c38dc18c3e52b
parent6ed684db417fc4de7b95794e0b09025a48a38d6c
vmspawn: Use virtio-blk-pci for image instead of virtio-scsi-pci

We don't need a full blown SCSI controller just to present the main
root drive device to the VM. Let's simplify the storage stack by using
virtio-blk-pci instead.

Additionally, virtio-blk-pci is a builtin module in Arch and Fedora
which means we can do qemu direct kernel boot without needing an initrd.
src/vmspawn/vmspawn.c