vmdk.c (b2ab5f545fa1eaaf2955dd617bee19a8b3279786) vmdk.c (de335638a399b614d510b978b5c6d1b237e0ac79)
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

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

2840
2841 vmdk_free_extents(bs);
2842 g_free(s->create_type);
2843
2844 migrate_del_blocker(s->migration_blocker);
2845 error_free(s->migration_blocker);
2846}
2847
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

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

2840
2841 vmdk_free_extents(bs);
2842 g_free(s->create_type);
2843
2844 migrate_del_blocker(s->migration_blocker);
2845 error_free(s->migration_blocker);
2846}
2847
2848static int64_t coroutine_fn
2848static int64_t coroutine_fn GRAPH_RDLOCK
2849vmdk_co_get_allocated_file_size(BlockDriverState *bs)
2850{
2851 int i;
2852 int64_t ret = 0;
2853 int64_t r;
2854 BDRVVmdkState *s = bs->opaque;
2855
2856 ret = bdrv_co_get_allocated_file_size(bs->file->bs);

--- 278 unchanged lines hidden ---
2849vmdk_co_get_allocated_file_size(BlockDriverState *bs)
2850{
2851 int i;
2852 int64_t ret = 0;
2853 int64_t r;
2854 BDRVVmdkState *s = bs->opaque;
2855
2856 ret = bdrv_co_get_allocated_file_size(bs->file->bs);

--- 278 unchanged lines hidden ---