diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2020-09-14 21:05:53 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2020-09-15 11:31:10 +0200 |
commit | 7bae7c805d82675eb3a02c744093703d84ada2d6 (patch) | |
tree | 7ba6514d0b7247e1a284f45be6c0b0078e2a08b3 /block | |
parent | bfd0989acffe0b348a4be5155a4688d92c34b1ef (diff) | |
download | qemu-7bae7c805d82675eb3a02c744093703d84ada2d6.zip qemu-7bae7c805d82675eb3a02c744093703d84ada2d6.tar.gz qemu-7bae7c805d82675eb3a02c744093703d84ada2d6.tar.bz2 |
block/rbd: add 'namespace' to qemu_rbd_strong_runtime_opts[]
Commit 19ae9ae014 ("block/rbd: Add support for ceph namespaces")
introduced namespace support for RBD, but we forgot to add the
new 'namespace' options to qemu_rbd_strong_runtime_opts[].
The 'namespace' is used to identify the image, so it is a strong
option since it can changes the data of a BDS.
Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1821528
Fixes: 19ae9ae014 ("block/rbd: Add support for ceph namespaces")
Cc: Florian Florensa <fflorensa@online.net>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20200914190553.74871-1-sgarzare@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/rbd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/rbd.c b/block/rbd.c index 171c67e..9bd2bce 100644 --- a/block/rbd.c +++ b/block/rbd.c @@ -1247,6 +1247,7 @@ static QemuOptsList qemu_rbd_create_opts = { static const char *const qemu_rbd_strong_runtime_opts[] = { "pool", + "namespace", "image", "conf", "snapshot", |