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

Peter Krempa pkrempa at redhat.com
Tue May 3 06:24:21 UTC 2016


On Mon, May 02, 2016 at 19:09:35 -0400, Cole Robinson wrote:
> If we exceed the timeout waiting for the tray status to change,
> we don't report an error. Fix it
> ---
> I hit this trying to eject floppy media for a win10 VM with F24
> qemu, but I didn't dig deeper to figure out _why_ it's timing out...

Did you try it after:

commit a34faf33011c5c0d7b47ee0849bf1e11635e17c5
Author: Peter Krempa <pkrempa at redhat.com>
Date:   Fri Apr 29 13:38:51 2016 +0200

    qemu: process: Refresh ejectable media tray state on VM start
    
    Empty floppy drives start with tray in "open" state and libvirt did not
    refresh it after startup. The code that inserts media into the tray then
    waited until the tray was open before inserting the media and thus
    floppies could not be inserted.
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1326660

If not, then that's the reason, and the fix below doesn't make much
sense.

Peter
-------------- 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/20160503/d9e3fa50/attachment-0001.sig>


More information about the libvir-list mailing list