commit | aa045c2d37c831541607c0a81212f9d3f2dacad9 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Fri Feb 16 18:48:25 2018 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Mar 09 15:17:47 2018 +0100 |
tree | b6b2d35e54d93c2dede670fd505bd4528e7b2a9f | |
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>