[libvirt] [Qemu-devel] libvirt<->QEMU interfaces for CPU models

Eduardo Habkost ehabkost at redhat.com
Fri Mar 1 19:01:46 UTC 2013


On Fri, Mar 01, 2013 at 06:34:31PM +0000, Daniel P. Berrange wrote:
> 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.

I wrote the above, not Jiri. I will fix the wiki page to note that.

-- 
Eduardo




More information about the libvir-list mailing list