blkverify.c (33c6cae44eccea5e627c2dc5cbf31456db90fc38) | blkverify.c (87ea75d5e135c0527c6a9dbac4317913409f28c7) |
---|---|
1/* 2 * Block protocol for block driver correctness testing 3 * 4 * Copyright (C) 2010 IBM, Corp. 5 * 6 * This work is licensed under the terms of the GNU GPL, version 2 or later. 7 * See the COPYING file in the top-level directory. 8 */ --- 111 unchanged lines hidden (view full) --- 120 Error **errp) 121{ 122 BDRVBlkverifyState *s = bs->opaque; 123 QemuOpts *opts; 124 Error *local_err = NULL; 125 const char *filename, *raw; 126 int ret; 127 | 1/* 2 * Block protocol for block driver correctness testing 3 * 4 * Copyright (C) 2010 IBM, Corp. 5 * 6 * This work is licensed under the terms of the GNU GPL, version 2 or later. 7 * See the COPYING file in the top-level directory. 8 */ --- 111 unchanged lines hidden (view full) --- 120 Error **errp) 121{ 122 BDRVBlkverifyState *s = bs->opaque; 123 QemuOpts *opts; 124 Error *local_err = NULL; 125 const char *filename, *raw; 126 int ret; 127 |
128 opts = qemu_opts_create_nofail(&runtime_opts); | 128 opts = qemu_opts_create(&runtime_opts, NULL, 0, &error_abort); |
129 qemu_opts_absorb_qdict(opts, options, &local_err); 130 if (error_is_set(&local_err)) { 131 error_propagate(errp, local_err); 132 ret = -EINVAL; 133 goto fail; 134 } 135 136 /* Parse the raw image filename */ --- 292 unchanged lines hidden --- | 129 qemu_opts_absorb_qdict(opts, options, &local_err); 130 if (error_is_set(&local_err)) { 131 error_propagate(errp, local_err); 132 ret = -EINVAL; 133 goto fail; 134 } 135 136 /* Parse the raw image filename */ --- 292 unchanged lines hidden --- |