blockdev.c (81e5f78a9f4f13548ec1edddaf780d339f18e2d2) | blockdev.c (d5a8ee60a0fbc20a2c2d02f3bda1bb1bd365f1ee) |
---|---|
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 * --- 2378 unchanged lines hidden (view full) --- 2387 } 2388 2389out: 2390 aio_context_release(aio_context); 2391} 2392 2393BlockDeviceInfoList *qmp_query_named_block_nodes(Error **errp) 2394{ | 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 * --- 2378 unchanged lines hidden (view full) --- 2387 } 2388 2389out: 2390 aio_context_release(aio_context); 2391} 2392 2393BlockDeviceInfoList *qmp_query_named_block_nodes(Error **errp) 2394{ |
2395 return bdrv_named_nodes_list(); | 2395 return bdrv_named_nodes_list(errp); |
2396} 2397 2398void qmp_blockdev_backup(const char *device, const char *target, 2399 enum MirrorSyncMode sync, 2400 bool has_speed, int64_t speed, 2401 bool has_on_source_error, 2402 BlockdevOnError on_source_error, 2403 bool has_on_target_error, --- 642 unchanged lines hidden --- | 2396} 2397 2398void qmp_blockdev_backup(const char *device, const char *target, 2399 enum MirrorSyncMode sync, 2400 bool has_speed, int64_t speed, 2401 bool has_on_source_error, 2402 BlockdevOnError on_source_error, 2403 bool has_on_target_error, --- 642 unchanged lines hidden --- |