Re: [libvirt] [RFC] Expose cpu_map.xml via API

2013-08-20 Thread Cole Robinson
On 08/20/2013 05:50 AM, Daniel P. Berrange wrote: > On Mon, Aug 19, 2013 at 08:19:56PM +0200, Giuseppe Scrivano wrote: >> --- >> I have started working on: >> >> https://bugzilla.redhat.com/show_bug.cgi?id=916786 >> >> +/** >> + * virConnectGetCPUMapDesc: >> + * >> + * @conn: virConnect connectio

Re: [libvirt] [RFC] Expose cpu_map.xml via API

2013-08-20 Thread Daniel P. Berrange
On Mon, Aug 19, 2013 at 08:19:56PM +0200, Giuseppe Scrivano wrote: > --- > I have started working on: > > https://bugzilla.redhat.com/show_bug.cgi?id=916786 > > +/** > + * virConnectGetCPUMapDesc: > + * > + * @conn: virConnect connection > + * > + * Get the content of the cpu_map.xml file used

Re: [libvirt] [RFC] Expose cpu_map.xml via API

2013-08-19 Thread Doug Goldstein
On Mon, Aug 19, 2013 at 2:47 PM, Eric Blake wrote: > On 08/19/2013 01:22 PM, Doug Goldstein wrote: > > On Mon, Aug 19, 2013 at 1:19 PM, Giuseppe Scrivano >wrote: > > > >> --- > >> I have started working on: > >> > >> https://bugzilla.redhat.com/show_bug.cgi?id=916786 > >> > >> Before I split i

Re: [libvirt] [RFC] Expose cpu_map.xml via API

2013-08-19 Thread Giuseppe Scrivano
Eric Blake writes: > On 08/19/2013 01:22 PM, Doug Goldstein wrote: >> Or potentially generic-ify this a bit more to make it like a >> virConnectHypervisorCapabilities() where right now it just returns back the >> CPUs the HV can emulate. In the future it can have support for other things >> if we

Re: [libvirt] [RFC] Expose cpu_map.xml via API

2013-08-19 Thread Eric Blake
On 08/19/2013 01:22 PM, Doug Goldstein wrote: > On Mon, Aug 19, 2013 at 1:19 PM, Giuseppe Scrivano wrote: > >> --- >> I have started working on: >> >> https://bugzilla.redhat.com/show_bug.cgi?id=916786 >> >> Before I split it in a series of commits, test it better and then >> proceed to virt-man

Re: [libvirt] [RFC] Expose cpu_map.xml via API

2013-08-19 Thread Doug Goldstein
On Mon, Aug 19, 2013 at 1:19 PM, Giuseppe Scrivano wrote: > --- > I have started working on: > > https://bugzilla.redhat.com/show_bug.cgi?id=916786 > > Before I split it in a series of commits, test it better and then > proceed to virt-manager, are you ok with this idea? > > > include/libvirt/l

[libvirt] [RFC] Expose cpu_map.xml via API

2013-08-19 Thread Giuseppe Scrivano
--- I have started working on: https://bugzilla.redhat.com/show_bug.cgi?id=916786 Before I split it in a series of commits, test it better and then proceed to virt-manager, are you ok with this idea? include/libvirt/libvirt.h.in | 11 +++ src/driver.h | 4 src/l