Activity log for bug #2030745

Date Who What changed Old value New value Message
2023-08-08 12:01:09 Dimitri John Ledkov bug added bug
2023-08-08 12:01:30 Dimitri John Ledkov summary Make virtio-blk builtin Support initrdless boot on default qemu virt models and openstack
2023-08-08 12:05:44 Dimitri John Ledkov description Currently qemu & openstack for the most simple invocations of "virtio" drive type use virtio-blk. One can use virtio-scsi, and many do, but it's not a given. To continue support minimal images without initrd, and enable in-place no-change migration, we should also make virtio-blk builtin. This can be revisited once openstack import defaults to "--property hw_disk_bus=scsi --property hw_scsi_model=virtio-scsi", and similarly qemu default virt model depends on virtio-scsi as well. Currently qemu & openstack for the most simple invocations of "virtio" drive type use virtio-blk. One can use virtio-scsi, and many do, but it's not a given. To continue support minimal images without initrd, and enable in-place no-change migration, we should also make virtio-blk builtin. This can be revisited once openstack & qemu defaults change to virtio-scsi (if ever). Test cases: Qemu with `-drive if=virtio,format=$format,file=$image` should work, requires virtio-blk today. Qemu with `-device virtio-scsi-pci,id=scsi0 \ -drive if=none,id=rootfs,format=$format,file=$image -device scsi-hd,drive=rootfs,bus=scsi0.0"` already works, requires virtio-scsi, and should continue to work. Openstack with openstack image create \ --container-format bare \ --disk-format qcow2 \ --file my-minimal.qcow2 should work and currently requires virtio-blk. Openstack with openstack image create \ --container-format bare \ --disk-format qcow2 \ --property hw_disk_bus=scsi \ --property hw_scsi_model=virtio-scsi \ --file my-minimal.qcow2 already works, and should continue to work, requires virtio-scsi.
2023-08-09 09:14:47 Utkarsh Gupta bug added subscriber Utkarsh Gupta
2023-08-09 09:39:14 Philip Roche bug added subscriber Philip Roche
2023-08-09 13:27:52 Thomas Bechtold bug added subscriber Thomas Bechtold
2023-08-11 11:22:10 Philip Roche bug added subscriber Andrew Cloke
2023-08-15 14:08:19 Dimitri John Ledkov linux (Ubuntu): status New In Progress
2023-09-13 22:49:37 Launchpad Janitor linux (Ubuntu): status In Progress Fix Released