block.c (160a29e2f8b2d100246ab446813409f72d1e0767) block.c (439cc330c58c6973a5c73dab36c334e29607d47b)
1/*
2 * QEMU System Emulator block driver
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 * Copyright (c) 2020 Virtuozzo International GmbH.
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

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

4913 qdict_del(bs->explicit_options, child->name);
4914 qdict_del(bs->options, child->name);
4915 }
4916 /* backing is probably removed, so it's not handled by previous loop */
4917 qdict_del(bs->explicit_options, "backing");
4918 qdict_del(bs->options, "backing");
4919
4920 bdrv_refresh_limits(bs, NULL, NULL);
1/*
2 * QEMU System Emulator block driver
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 * Copyright (c) 2020 Virtuozzo International GmbH.
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

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

4913 qdict_del(bs->explicit_options, child->name);
4914 qdict_del(bs->options, child->name);
4915 }
4916 /* backing is probably removed, so it's not handled by previous loop */
4917 qdict_del(bs->explicit_options, "backing");
4918 qdict_del(bs->options, "backing");
4919
4920 bdrv_refresh_limits(bs, NULL, NULL);
4921 bdrv_refresh_total_sectors(bs, bs->total_sectors);
4921}
4922
4923/*
4924 * Abort the reopen, and delete and free the staged changes in
4925 * reopen_state
4926 */
4927static void bdrv_reopen_abort(BDRVReopenState *reopen_state)
4928{

--- 3323 unchanged lines hidden ---
4922}
4923
4924/*
4925 * Abort the reopen, and delete and free the staged changes in
4926 * reopen_state
4927 */
4928static void bdrv_reopen_abort(BDRVReopenState *reopen_state)
4929{

--- 3323 unchanged lines hidden ---