Re: [Qemu-block] [PATCH v3 2/4] blockdev: Fix 'change' for slot devices

2016-01-25 Thread Alberto Garcia
On Fri 22 Jan 2016 11:50:48 PM CET, Max Reitz wrote: > 'change' and related operations did not work when used on guest devices > featuring removable media but no actual tray, because > blk_dev_is_tray_open() always returned false for them and the >

[Qemu-block] [PATCH v3 2/4] blockdev: Fix 'change' for slot devices

2016-01-22 Thread Max Reitz
'change' and related operations did not work when used on guest devices featuring removable media but no actual tray, because blk_dev_is_tray_open() always returned false for them and the blockdev-{insert,remove}-medium commands required it to return true. Fix this by making