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 by the

[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

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 gscri...@redhat.comwrote: --- 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?

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 gscri...@redhat.comwrote: --- 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

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

2013-08-19 Thread Giuseppe Scrivano
Eric Blake ebl...@redhat.com 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

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 ebl...@redhat.com wrote: On 08/19/2013 01:22 PM, Doug Goldstein wrote: On Mon, Aug 19, 2013 at 1:19 PM, Giuseppe Scrivano gscri...@redhat.com wrote: --- I have started working on: https://bugzilla.redhat.com/show_bug.cgi?id=916786