Re: [PATCH v2] qemu_hotplug: Rework media changing process

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

 



On 01/25/2013 07:53 AM, Michal Privoznik wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=892289
> 
> It seems like with new udev within guest OS, the tray is locked,
> so we need to:
> - 'eject'
> - wait for tray to open
> - 'change'
> 
> Moreover, even when doing bare 'eject', we should check for
> 'tray_open' as guest may have locked the tray. However, the
> waiting phase shouldn't be unbounded, so I've chosen 10 retries
> maximum, each per 500ms. This should give enough time for guest
> to eject a media and open the tray.
> ---
> 
> diff to v1:
> - listen to TRAY event instead of active polling
> 

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]