gluster.c (4235d77349e93e7157555f20f1892088f55edff4) gluster.c (87ea75d5e135c0527c6a9dbac4317913409f28c7)
1/*
2 * GlusterFS backend for QEMU
3 *
4 * Copyright (C) 2012 Bharata B Rao <bharata@linux.vnet.ibm.com>
5 *
6 * Pipe handling mechanism in AIO implementation is derived from
7 * block/rbd.c. Hence,
8 *

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

293 BDRVGlusterState *s = bs->opaque;
294 int open_flags = O_BINARY;
295 int ret = 0;
296 GlusterConf *gconf = g_malloc0(sizeof(GlusterConf));
297 QemuOpts *opts;
298 Error *local_err = NULL;
299 const char *filename;
300
1/*
2 * GlusterFS backend for QEMU
3 *
4 * Copyright (C) 2012 Bharata B Rao <bharata@linux.vnet.ibm.com>
5 *
6 * Pipe handling mechanism in AIO implementation is derived from
7 * block/rbd.c. Hence,
8 *

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

293 BDRVGlusterState *s = bs->opaque;
294 int open_flags = O_BINARY;
295 int ret = 0;
296 GlusterConf *gconf = g_malloc0(sizeof(GlusterConf));
297 QemuOpts *opts;
298 Error *local_err = NULL;
299 const char *filename;
300
301 opts = qemu_opts_create_nofail(&runtime_opts);
301 opts = qemu_opts_create(&runtime_opts, NULL, 0, &error_abort);
302 qemu_opts_absorb_qdict(opts, options, &local_err);
303 if (error_is_set(&local_err)) {
304 qerror_report_err(local_err);
305 error_free(local_err);
306 ret = -EINVAL;
307 goto out;
308 }
309

--- 393 unchanged lines hidden ---
302 qemu_opts_absorb_qdict(opts, options, &local_err);
303 if (error_is_set(&local_err)) {
304 qerror_report_err(local_err);
305 error_free(local_err);
306 ret = -EINVAL;
307 goto out;
308 }
309

--- 393 unchanged lines hidden ---