There's no such thing as a virtio-blk CD-ROM, only hard-disks. For installation it shouldn't matter, since .iso images usually can work also as hard-disk images (for putting them on a USB stick).
If you want to test installation from a "real" virtio CD-ROM, use virtio-scsi: -drive file=/path/to/file.iso,if=none,id=cd -device virtio-scsi-pci -device scsi-cd,drive=cd or -drive file=/path/to/file.iso,if=none,media=cdrom,id=cd -device virtio- scsi-pci -device scsi-disk,drive=cd ** Changed in: qemu Status: New => Invalid ** Changed in: qemu (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1155403 Title: virtio cdrom detected as hard disk Status in QEMU: Invalid Status in “qemu” package in Ubuntu: Invalid Bug description: Trying to install Ubuntu or Debian using virtio to emulate the cdrom fails. This appears to be due to the drive appearing to be a hard disk, rather than a cdrom, despite the media=cdrom argument to qemu. I'm not sure if this is a bug in qemu, or the kernel virtio driver? To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1155403/+subscriptions