Re: cpu_map data access for libxl driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 07, 2016 at 02:37:39PM +0200, Cedric Bosdonnat wrote:
> Hi Jiri, all,
> 
> As I mentioned earlier today on IRC, I have started implementing CPU configuration
> support for libxl driver.
> 
> libxl expects a string definition the state of all the feature (easy to create), but also
> the numeric values for the CPU family and model. virCPUDef holds the name as a string, but
> not the numeric values though there are stored in the cpu_map.xml.
> 
> For what libxl expects, search for 'cpuid=' in this man page:
> http://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html
> 
> Any idea how to get those values from the libxl driver?

I'd suggest just extending the virCPUDef to hold them, and populating it from
the cpu_map.xml

Regards,
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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]