Re: [Qemu-devel] [PATCH v2] rbd: allow client id to be specified in config string

2011-08-23 Thread Stefan Hajnoczi
On Mon, Aug 22, 2011 at 02:45:48PM -0700, Sage Weil wrote: > diff --git a/block/rbd.c b/block/rbd.c > index d5659cd..b0cd750 100644 > --- a/block/rbd.c > +++ b/block/rbd.c > @@ -169,6 +169,34 @@ done: > return ret; > } > > +static char *qemu_rbd_parse_clientname(const char *conf, char *clie

[Qemu-devel] [PATCH v2] rbd: allow client id to be specified in config string

2011-08-22 Thread Sage Weil
Allow the client id to be specified in the config string via 'id=' so that users can control who they authenticate as. Currently they are stuck with the default ('admin'). This is necessary for anyone using authentication in their environment. Signed-off-by: Sage Weil --- v2: whoops, fixed defa