rbd.c (67f17e23baca5dd545fe98b01169cc351a70fe35) rbd.c (b92902dfeaafbceaf744ab7473f2d070284f6172)
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.

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

432 return ret;
433}
434
435static int qemu_rbd_co_create(BlockdevCreateOptions *options, Error **errp)
436{
437 return qemu_rbd_do_create(options, NULL, NULL, errp);
438}
439
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.

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

432 return ret;
433}
434
435static int qemu_rbd_co_create(BlockdevCreateOptions *options, Error **errp)
436{
437 return qemu_rbd_do_create(options, NULL, NULL, errp);
438}
439
440static int coroutine_fn qemu_rbd_co_create_opts(const char *filename,
440static int coroutine_fn qemu_rbd_co_create_opts(BlockDriver *drv,
441 const char *filename,
441 QemuOpts *opts,
442 Error **errp)
443{
444 BlockdevCreateOptions *create_options;
445 BlockdevCreateOptionsRbd *rbd_opts;
446 BlockdevOptionsRbd *loc;
447 Error *local_err = NULL;
448 const char *keypairs, *password_secret;

--- 899 unchanged lines hidden ---
442 QemuOpts *opts,
443 Error **errp)
444{
445 BlockdevCreateOptions *create_options;
446 BlockdevCreateOptionsRbd *rbd_opts;
447 BlockdevOptionsRbd *loc;
448 Error *local_err = NULL;
449 const char *keypairs, *password_secret;

--- 899 unchanged lines hidden ---