qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1155403] Re: virtio cdrom detected as hard disk


From: Paolo Bonzini
Subject: [Qemu-devel] [Bug 1155403] Re: virtio cdrom detected as hard disk
Date: Mon, 18 Mar 2013 09:13:45 -0000

> It seems the installer does not consider virtio devices when doing its
search.

That's another bug in the installer then.

> it seems a bit wasteful to go through a layer of scsi emulation.

Indeed treating the virtio disk similarly to installation from a USB
stick is better, but SCSI emulation is actually a very good way to not
reinvent the wheel. CD-ROM/DVD-ROM media need a lot of magic (such as
subdivision of the medium into tracks, different media formats, etc.)
and emulating those in virtio-blk would be even more wasteful.

> Shouldn't qemu at least warn you that the media=argument does nothing
> on virtio devices instead of silently ignoring it?

Yes, that's a legitimate request.

>  Or better yet, shouldn't it automatically use virtio-scsi instead?

No, virtio-scsi is relatively new and not all distros have picked it up
yet.

-- 
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]