Am 24.03.2017 um 09:25 hat Markus Armbruster geschrieben: > Post 2.9, we should either finish the QAPIfication of block > configuration we started with blockdev-add, or back it out, i.e. make > the QAPI schema accept anything, and rely on the QemuOpts-based > checking. > > I want us to finish QAPIfication.
So our next task is probably getting us a way to have options in QAPI that aren't exposed in QMP. You added some of these non-QMP options to a block driver yourself only recently, so you probably already know of and understand the need for it. If we ever get QAPI for the command line, this might actually be a third set because I think we have some options that are only meant to be set internally, but never from either QMP or the command line. Once we have support from QAPI to consider the context when parse structs (i.e. reject non-QMP fields when parsing QMP commands), we can look into converting the block layer step by step. I'm not sure if this is the only problem we have (I would be surprised if it were), but it's the big one that I know of. Kevin