[libvirt] [RFC] Expose cpu_map.xml via API
Daniel P. Berrange
berrange at redhat.com
Tue Aug 20 09:50:39 UTC 2013
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 connection.
> + *
> + * Returns XML description of the cpu_map.xml file.
> + */
> +char *virConnectGetCPUMapDesc(virConnectPtr conn);
This is really not at all neccessary, or desirable.
We now have the ability to query the full CPU flag set from the
virConnectBaselineCPU API.
All we're missing is thus a way to get a list of supported CPU
model names. For that we can just have
int virConnectGetCPUModelNames(virConnectPtr conn, char ***models);
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