
8 Jul
2019
8 Jul
'19
3:09 p.m.
On Thu, Jul 04, 2019 at 04:26:30PM +0200, Peter Krempa wrote:
'blockdev-add' allows us to use qemu to format images to our desired format. This patch implements helpers which convert a virStorageSourcePtr into JSON objects describing the required configuration.
Signed-off-by: Peter Krempa <pkrempa@redhat.com> --- src/qemu/qemu_block.c | 321 ++++++++++++++++++++++++++++++++++++++++++ src/qemu/qemu_block.h | 6 + 2 files changed, 327 insertions(+)
Reviewed-by: Ján Tomko <jtomko@redhat.com> Jano