blockdev.c (a39a24fbb05055d00026eb569ff3f7b868ca8785) | blockdev.c (a911e6ae7ce47d51b519d462c1d99d53b37b0f8c) |
---|---|
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 * --- 1154 unchanged lines hidden (view full) --- 1163void qmp_blockdev_snapshot_sync(bool has_device, const char *device, 1164 bool has_node_name, const char *node_name, 1165 const char *snapshot_file, 1166 bool has_snapshot_node_name, 1167 const char *snapshot_node_name, 1168 bool has_format, const char *format, 1169 bool has_mode, NewImageMode mode, Error **errp) 1170{ | 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 * --- 1154 unchanged lines hidden (view full) --- 1163void qmp_blockdev_snapshot_sync(bool has_device, const char *device, 1164 bool has_node_name, const char *node_name, 1165 const char *snapshot_file, 1166 bool has_snapshot_node_name, 1167 const char *snapshot_node_name, 1168 bool has_format, const char *format, 1169 bool has_mode, NewImageMode mode, Error **errp) 1170{ |
1171 BlockdevSnapshot snapshot = { | 1171 BlockdevSnapshotSync snapshot = { |
1172 .has_device = has_device, 1173 .device = (char *) device, 1174 .has_node_name = has_node_name, 1175 .node_name = (char *) node_name, 1176 .snapshot_file = (char *) snapshot_file, 1177 .has_snapshot_node_name = has_snapshot_node_name, 1178 .snapshot_node_name = (char *) snapshot_node_name, 1179 .has_format = has_format, --- 2442 unchanged lines hidden --- | 1172 .has_device = has_device, 1173 .device = (char *) device, 1174 .has_node_name = has_node_name, 1175 .node_name = (char *) node_name, 1176 .snapshot_file = (char *) snapshot_file, 1177 .has_snapshot_node_name = has_snapshot_node_name, 1178 .snapshot_node_name = (char *) snapshot_node_name, 1179 .has_format = has_format, --- 2442 unchanged lines hidden --- |