vmdk.c (d649689a8ecb2e276cc20d3af6d416e3c299cb17) vmdk.c (b92902dfeaafbceaf744ab7473f2d070284f6172)
1/*
2 * Block driver for the VMDK format
3 *
4 * Copyright (c) 2004 Fabrice Bellard
5 * Copyright (c) 2005 Filip Navara
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to deal

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

2583 goto exit;
2584 }
2585 bdrv_unref(bs);
2586exit:
2587 g_free(ext_filename);
2588 return blk;
2589}
2590
1/*
2 * Block driver for the VMDK format
3 *
4 * Copyright (c) 2004 Fabrice Bellard
5 * Copyright (c) 2005 Filip Navara
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to deal

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

2583 goto exit;
2584 }
2585 bdrv_unref(bs);
2586exit:
2587 g_free(ext_filename);
2588 return blk;
2589}
2590
2591static int coroutine_fn vmdk_co_create_opts(const char *filename, QemuOpts *opts,
2591static int coroutine_fn vmdk_co_create_opts(BlockDriver *drv,
2592 const char *filename,
2593 QemuOpts *opts,
2592 Error **errp)
2593{
2594 Error *local_err = NULL;
2595 char *desc = NULL;
2596 int64_t total_size = 0;
2597 char *adapter_type = NULL;
2598 BlockdevVmdkAdapterType adapter_type_enum;
2599 char *backing_file = NULL;

--- 471 unchanged lines hidden ---
2594 Error **errp)
2595{
2596 Error *local_err = NULL;
2597 char *desc = NULL;
2598 int64_t total_size = 0;
2599 char *adapter_type = NULL;
2600 BlockdevVmdkAdapterType adapter_type_enum;
2601 char *backing_file = NULL;

--- 471 unchanged lines hidden ---