vhdx.c (aaffb853359829a37daaf883c773e8320b55c723) vhdx.c (b92902dfeaafbceaf744ab7473f2d070284f6172)
1/*
2 * Block driver for Hyper-V VHDX Images
3 *
4 * Copyright (c) 2013 Red Hat, Inc.,
5 *
6 * Authors:
7 * Jeff Cody <jcody@redhat.com>
8 *

--- 2032 unchanged lines hidden (view full) ---

2041 ret = 0;
2042delete_and_exit:
2043 blk_unref(blk);
2044 bdrv_unref(bs);
2045 g_free(creator);
2046 return ret;
2047}
2048
1/*
2 * Block driver for Hyper-V VHDX Images
3 *
4 * Copyright (c) 2013 Red Hat, Inc.,
5 *
6 * Authors:
7 * Jeff Cody <jcody@redhat.com>
8 *

--- 2032 unchanged lines hidden (view full) ---

2041 ret = 0;
2042delete_and_exit:
2043 blk_unref(blk);
2044 bdrv_unref(bs);
2045 g_free(creator);
2046 return ret;
2047}
2048
2049static int coroutine_fn vhdx_co_create_opts(const char *filename,
2049static int coroutine_fn vhdx_co_create_opts(BlockDriver *drv,
2050 const char *filename,
2050 QemuOpts *opts,
2051 Error **errp)
2052{
2053 BlockdevCreateOptions *create_options = NULL;
2054 QDict *qdict;
2055 Visitor *v;
2056 BlockDriverState *bs = NULL;
2057 Error *local_err = NULL;

--- 195 unchanged lines hidden ---
2051 QemuOpts *opts,
2052 Error **errp)
2053{
2054 BlockdevCreateOptions *create_options = NULL;
2055 QDict *qdict;
2056 Visitor *v;
2057 BlockDriverState *bs = NULL;
2058 Error *local_err = NULL;

--- 195 unchanged lines hidden ---