Re: [Qemu-block] [PATCH v8 06/15] blockdev: Add blockdev-remove-medium
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 (bs->device_list.tqe_prev) { > +
[Qemu-block] [PATCH v8 06/15] blockdev: Add blockdev-remove-medium
Signed-off-by: Max Reitz --- blockdev.c | 51 +++ qapi/block-core.json | 16 qmp-commands.hx | 45 + 3 files changed, 112 insertions(+) diff --git a/blockdev.c b/blockdev.c