blockdev.c (8e0adf64140ab93aba79be2f0227a47eda78e464) | blockdev.c (e12f3784097a26a1ba51be420f41038b4c0ae5d1) |
---|---|
1/* 2 * QEMU host block devices 3 * 4 * Copyright (c) 2003-2008 Fabrice Bellard 5 * 6 * This work is licensed under the terms of the GNU GPL, version 2 or 7 * later. See the COPYING file in the top-level directory. 8 * --- 2746 unchanged lines hidden (view full) --- 2755 int64_t replace_size; 2756 2757 if (!has_node_name) { 2758 error_setg(errp, "a node-name must be provided when replacing a" 2759 " named node of the graph"); 2760 goto out; 2761 } 2762 | 1/* 2 * QEMU host block devices 3 * 4 * Copyright (c) 2003-2008 Fabrice Bellard 5 * 6 * This work is licensed under the terms of the GNU GPL, version 2 or 7 * later. See the COPYING file in the top-level directory. 8 * --- 2746 unchanged lines hidden (view full) --- 2755 int64_t replace_size; 2756 2757 if (!has_node_name) { 2758 error_setg(errp, "a node-name must be provided when replacing a" 2759 " named node of the graph"); 2760 goto out; 2761 } 2762 |
2763 to_replace_bs = check_to_replace_node(replaces, &local_err); | 2763 to_replace_bs = check_to_replace_node(bs, replaces, &local_err); |
2764 2765 if (!to_replace_bs) { 2766 error_propagate(errp, local_err); 2767 goto out; 2768 } 2769 2770 replace_aio_context = bdrv_get_aio_context(to_replace_bs); 2771 aio_context_acquire(replace_aio_context); --- 480 unchanged lines hidden --- | 2764 2765 if (!to_replace_bs) { 2766 error_propagate(errp, local_err); 2767 goto out; 2768 } 2769 2770 replace_aio_context = bdrv_get_aio_context(to_replace_bs); 2771 aio_context_acquire(replace_aio_context); --- 480 unchanged lines hidden --- |