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

2016-01-15 Thread Peter Maydell
On 15 January 2016 at 16:10, Peter Maydell wrote: > On 12 January 2016 at 15:47, Max Reitz wrote: >> The series "BlockBackend and media" intended all block devices with >> removable media to implement a tray model; if the devices does not have >> a tray, it should emulate one. > > I tried this fo

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

2016-01-15 Thread Peter Maydell
On 12 January 2016 at 15:47, Max Reitz wrote: > The series "BlockBackend and media" intended all block devices with > removable media to implement a tray model; if the devices does not have > a tray, it should emulate one. I tried this for the zaurus (spitz) board, and although "change sd0 file"

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

2016-01-12 Thread Max Reitz
The series "BlockBackend and media" intended all block devices with removable media to implement a tray model; if the devices does not have a tray, it should emulate one. While this may make sense from a technical perspective (blockdev-*-tray are guest device controlling operations, invoking blk_d