diff options
author | Kevin Wolf | 2018-01-09 16:50:57 +0100 |
---|---|---|
committer | Kevin Wolf | 2018-03-09 15:17:47 +0100 |
commit | b0292b851b85ba81c0cfedf5b576c32189cfaa11 (patch) | |
tree | 0b9bde93bb32195746ad36129979c6e2394cb6aa /qapi/qmp-dispatch.c | |
parent | block: Make bdrv_is_whitelisted() public (diff) | |
download | qemu-b0292b851b85ba81c0cfedf5b576c32189cfaa11.tar.gz qemu-b0292b851b85ba81c0cfedf5b576c32189cfaa11.tar.xz qemu-b0292b851b85ba81c0cfedf5b576c32189cfaa11.zip |
block: x-blockdev-create QMP command
This adds a synchronous x-blockdev-create QMP command that can create
qcow2 images on a given node name.
We don't want to block while creating an image, so this is not the final
interface in all aspects, but BlockdevCreateOptionsQcow2 and
.bdrv_co_create() are what they actually might look like in the end. In
any case, this should be good enough to test whether we interpret
BlockdevCreateOptions as we should.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qapi/qmp-dispatch.c')
0 files changed, 0 insertions, 0 deletions