Amit Shah <amit.s...@redhat.com> writes: [...] > What's weird though is 'eject' in the monitor makes the cdrom go away > -- a subsequent mount in the guest results in a no medium error. I > thought we had solved that, Markus?
You fell into QEMU's "let's overload names until everybody's hopelessly confused" trap. You're in good company. Monitor command "eject" does *not* manipulate the tray. It cuts the connection between the block device guest part and host part. Block devices without a host part look like "no medium" to the guest. Running /usr/bin/eject does manipulate the tray. When you open, then close the tray, you get the same medium back. IIRC, running mount in the guest closes the tray automatically. [...]