[libvirt] [PATCH 00/23 v2] Add support for detecting QEMU capabilities via QMP

Daniel P. Berrange berrange at redhat.com
Tue Sep 25 15:03:48 UTC 2012


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
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list