[libvirt] [PATCH] qemu: hotplug: Report error if we hit tray status timeout

Peter Krempa pkrempa at redhat.com
Tue May 17 13:15:14 UTC 2016


On Tue, May 17, 2016 at 15:09:51 +0200, Michal Privoznik wrote:
> On 17.05.2016 14:19, Cole Robinson wrote:
> > On 05/17/2016 08:10 AM, Cole Robinson wrote:
> >> On 05/17/2016 04:39 AM, Michal Privoznik wrote:
> >>> On 03.05.2016 01:09, Cole Robinson wrote:

[...]

> > Well I guess that explains it:
> > 
> > commit abb3e55b5b718d6392441f56ba0729a62105ac56
> > Author: Max Reitz <mreitz at redhat.com>
> > Date:   Fri Jan 29 20:49:12 2016 +0100
> > 
> >     Revert "hw/block/fdc: Implement tray status"
> > 
> > The cover letter here has an explanation:
> > http://lists.nongnu.org/archive/html/qemu-devel/2016-01/msg04471.html
> > 
> 
> That's rather unpleasant. How is libvirt supposed to know when device
> tray has moved then?

A floppy drive doesn't have the tray in reality. So as with a real drive
the medium will always eject if you "push the button". [1]  The guest
can't reject it. I'll tweak the code appropriately since it
might not work with floppies correctly at this point.

Peter

[1] I've seen floppy drives (or were it ls120) with software eject
functionality ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160517/e941921e/attachment-0001.sig>


More information about the libvir-list mailing list