Re: [Qemu-block] [PATCH v3 27/36] sheepdog: QAPIfy "redundancy" create option

2018-02-26 Thread Max Reitz
On 2018-02-23 20:25, Kevin Wolf wrote: > The "redundancy" 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

[Qemu-block] [PATCH v3 27/36] sheepdog: QAPIfy "redundancy" create option

2018-02-23 Thread Kevin Wolf
The "redundancy" 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