Re: [Qemu-devel] [PATCH v2 1/4] qmp: Introduce blockdev-change-medium

2014-12-05 Thread Eric Blake
On 12/05/2014 06:18 AM, Max Reitz wrote: >> >> Should there be a way to empty a cdrom drive? That is, how do I change >> a drive from visiting a file to being empty? > > Doesn't 'eject' work? Oh, good point. More cross-referencing documentation work, then :) At which point, THIS command can kee

Re: [Qemu-devel] [PATCH v2 1/4] qmp: Introduce blockdev-change-medium

2014-12-05 Thread Max Reitz
On 2014-12-05 at 14:10, Eric Blake wrote: On 12/05/2014 03:08 AM, Max Reitz wrote: Introduce a new QMP command 'blockdev-change-medium' which is intended to replace the 'change' command for block devices. The existing function qmp_change_blockdev() is accordingly renamed to qmp_blockdev_change_m

Re: [Qemu-devel] [PATCH v2 1/4] qmp: Introduce blockdev-change-medium

2014-12-05 Thread Eric Blake
On 12/05/2014 03:08 AM, Max Reitz wrote: > Introduce a new QMP command 'blockdev-change-medium' which is intended > to replace the 'change' command for block devices. The existing function > qmp_change_blockdev() is accordingly renamed to > qmp_blockdev_change_medium(). > > Signed-off-by: Max Reit

[Qemu-devel] [PATCH v2 1/4] qmp: Introduce blockdev-change-medium

2014-12-05 Thread Max Reitz
Introduce a new QMP command 'blockdev-change-medium' which is intended to replace the 'change' command for block devices. The existing function qmp_change_blockdev() is accordingly renamed to qmp_blockdev_change_medium(). Signed-off-by: Max Reitz --- blockdev.c| 7 --- inclu