On Thu, 23 May 2013 13:51:22 +0200 Stefan Hajnoczi <stefa...@gmail.com> wrote:
> With better QMP introspection on the horizon and work in various > subsystems pushing QMP boundaries it would be useful to bring together > the latest best practices for designing QMP APIs. > > There are design rules for keeping QMP APIs extensible and for > allowing clients to detect the presence of features. There is also > QEMU-side infrastructure like event rate-limiting, which developers > should make use of where appropriate. > > Is anyone willing to bring together the best practices and present > them at KVM Forum this year? I think this is a great idea and I vote for Eric to prepare a presentation. Eric is doing an exceptional work on QMP command review, he is also experienced on the client side. > I think that could help set the standard for QMP APIs. A set of > slides or wiki page can be a reference to developers that stops us > working from first pricinples every time a new API is added. I was working on a doc to be added to docs/. It wouldn't be anything fancy, but I ended up not finishing it.