
On Tue, Sep 25, 2012 at 10:03 AM, Daniel P. Berrange <berrange@redhat.com> wrote:
On Fri, Sep 14, 2012 at 04:20:50PM +0100, Daniel P. Berrange wrote:
This is a followup to
https://www.redhat.com/archives/libvir-list/2012-September/msg00643.html
As of QEMU 1.2 libvirt is supposed to stop parsing -help and instead use various QMP commands to detect capabilities. Before we can do this, the current QEMU capabilities code needs a serious cleanup and some refactoring. The first half of this series does that major preparation work, and the rest adds the new monitor commands and finally uses them to detect capabilities.
Currently we consider "capabilities" to just refer to flags we detect from -help. This series expands to cover all the things we detect from QEMU, specifically including machine types, CPU definitions and architecture. It introduces a single object to track all this data and a centralized caching mechanism so we never re-query data we already have somewhere.
Since 0.10.2 is out of the door, it'd be desirable to get this patch series into the tree sooner rather than later, since it conflicts every time someone adds support for a new capability in the QEMU driver :-)
Daniel --
So I started looking at this series but it appears quite a few of the patches got ACKs and some got refactored. Maybe push up to what got ACK'd and rebase the rest and repost? -- Doug Goldstein