diff options
author | Kevin Wolf <kwolf@redhat.com> | 2018-02-16 18:48:25 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-03-09 15:17:47 +0100 |
commit | aa045c2d37c831541607c0a81212f9d3f2dacad9 (patch) | |
tree | b6b2d35e54d93c2dede670fd505bd4528e7b2a9f /block/nfs.c | |
parent | d41a55885de18f4fe8dddb8ae88be80497f8eb05 (diff) |
rbd: Use qemu_rbd_connect() in qemu_rbd_do_create()
This is almost exactly the same code. The differences are that
qemu_rbd_connect() supports BlockdevOptionsRbd.server and that the cache
mode is set explicitly.
Supporting 'server' is a welcome new feature for image creation.
Caching is disabled by default, so leave it that way.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/nfs.c')
0 files changed, 0 insertions, 0 deletions