On Fri, Mar 01, 2013 at 07:31:46PM +0100, Andreas Färber wrote: > Am 01.03.2013 14:12, schrieb Jiri Denemark: > > On Thu, Feb 21, 2013 at 11:58:18 -0300, Eduardo Habkost wrote: > >> = Listing CPU models = > >> > >> Requirement: libvirt needs to know which CPU models are available to be > >> used > >> with the "-cpu" option. > >> > >> Current problem: libvirt relies on help output parsing for that. > > query-cpu-definitions is the QMP command to retrieve values compatible > with -cpu.
Yep, Jiri is wrong here actually. -cpu parsing is what we used to do. With latest libvirt + QEMU we do use query-cpu-definitions and have no "help parsing" code used at all. 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 :|