Re: [Qemu-block] [PATCH v8 06/15] blockdev: Add blockdev-remove-medium

2015-10-27 Thread Kevin Wolf
Am 26.10.2015 um 21:39 hat Max Reitz geschrieben: > Signed-off-by: Max Reitz > +if (bdrv_op_is_blocked(bs, BLOCK_OP_TYPE_EJECT, errp)) { > +goto out; > +} > + > +/* This follows the convention established by bdrv_make_anon() */ > +if

[Qemu-block] [PATCH v8 06/15] blockdev: Add blockdev-remove-medium

2015-10-26 Thread Max Reitz
Signed-off-by: Max Reitz --- blockdev.c | 51 +++ qapi/block-core.json | 16 qmp-commands.hx | 45 + 3 files changed, 112 insertions(+) diff --git