rbd.c (4235d77349e93e7157555f20f1892088f55edff4) rbd.c (87ea75d5e135c0527c6a9dbac4317913409f28c7)
1/*
2 * QEMU Block driver for RADOS (Ceph)
3 *
4 * Copyright (C) 2010-2011 Christian Brunner <chb@muc.de>,
5 * Josh Durgin <josh.durgin@dreamhost.com>
6 *
7 * This work is licensed under the terms of the GNU GPL, version 2. See
8 * the COPYING file in the top-level directory.

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

456 char conf[RBD_MAX_CONF_SIZE];
457 char clientname_buf[RBD_MAX_CONF_SIZE];
458 char *clientname;
459 QemuOpts *opts;
460 Error *local_err = NULL;
461 const char *filename;
462 int r;
463
1/*
2 * QEMU Block driver for RADOS (Ceph)
3 *
4 * Copyright (C) 2010-2011 Christian Brunner <chb@muc.de>,
5 * Josh Durgin <josh.durgin@dreamhost.com>
6 *
7 * This work is licensed under the terms of the GNU GPL, version 2. See
8 * the COPYING file in the top-level directory.

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

456 char conf[RBD_MAX_CONF_SIZE];
457 char clientname_buf[RBD_MAX_CONF_SIZE];
458 char *clientname;
459 QemuOpts *opts;
460 Error *local_err = NULL;
461 const char *filename;
462 int r;
463
464 opts = qemu_opts_create_nofail(&runtime_opts);
464 opts = qemu_opts_create(&runtime_opts, NULL, 0, &error_abort);
465 qemu_opts_absorb_qdict(opts, options, &local_err);
466 if (error_is_set(&local_err)) {
467 qerror_report_err(local_err);
468 error_free(local_err);
469 qemu_opts_del(opts);
470 return -EINVAL;
471 }
472

--- 569 unchanged lines hidden ---
465 qemu_opts_absorb_qdict(opts, options, &local_err);
466 if (error_is_set(&local_err)) {
467 qerror_report_err(local_err);
468 error_free(local_err);
469 qemu_opts_del(opts);
470 return -EINVAL;
471 }
472

--- 569 unchanged lines hidden ---