qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] block bug: tray status is not updated (and/or guest ign


From: Markus Armbruster
Subject: Re: [Qemu-devel] block bug: tray status is not updated (and/or guest ignores it)
Date: Fri, 27 May 2011 16:30:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Amit Shah <address@hidden> 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.

[...]



reply via email to

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