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

2016-01-15 Thread Eric Blake
On 01/12/2016 08:47 AM, 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 > blockdev-{insert,remove}-medium commands required it to return

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

2016-01-12 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 blockdev-{insert,remov