On 2018-02-21 14:53, Kevin Wolf wrote: > The "redundacy" option for Sheepdog image creation is currently a string > that can encode one or two integers depending on its format, which at > the same time implicitly selects a mode. > > This patch turns it into a QAPI union and converts the string into such > a QAPI object before interpreting the values. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > qapi/block-core.json | 45 +++++++++++++++++++++++++ > block/sheepdog.c | 94 > +++++++++++++++++++++++++++++++++++++--------------- > 2 files changed, 112 insertions(+), 27 deletions(-)
Ooooh, thanks! Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature