libvirt/po
Jiri Denemark 7286882c34 Adds CPU selection infrastructure
Each driver supporting CPU selection must fill in host CPU capabilities.
When filling them, drivers for hypervisors running on the same node as
libvirtd can use cpuNodeData() to obtain raw CPU data. Other drivers,
such as VMware, need to implement their own way of getting such data.
Raw data can be decoded into virCPUDefPtr using cpuDecode() function.

When implementing virConnectCompareCPU(), a hypervisor driver can just
call cpuCompareXML() function with host CPU capabilities.

For each guest for which a driver supports selecting CPU models, it must
set the appropriate feature in guest's capabilities:

    virCapabilitiesAddGuestFeature(guest, "cpuselection", 1, 0)

Actions needed when a domain is being created depend on whether the
hypervisor understands raw CPU data (currently CPUID for i686, x86_64
architectures) or symbolic names has to be used.

Typical use by hypervisors which prefer CPUID (such as VMware and Xen):

- convert guest CPU configuration from domain's XML into a set of raw
  data structures each representing one of the feature policies:

    cpuEncode(conn, architecture, guest_cpu_config,
              &forced_data, &required_data, &optional_data,
              &disabled_data, &forbidden_data)

- create a mask or whatever the hypervisor expects to see and pass it
  to the hypervisor

Typical use by hypervisors with symbolic model names (such as QEMU):

- get raw CPU data for a computed guest CPU:

    cpuGuestData(conn, host_cpu, guest_cpu_config, &data)

- decode raw data into virCPUDefPtr with a possible restriction on
  allowed model names:

    cpuDecode(conn, guest, data, n_allowed_models, allowed_models)

- pass guest->model and guest->features to the hypervisor

* src/cpu/cpu.c src/cpu/cpu.h src/cpu/cpu_generic.c
  src/cpu/cpu_generic.h src/cpu/cpu_map.c src/cpu/cpu_map.h
  src/cpu/cpu_x86.c src/cpu/cpu_x86.h src/cpu/cpu_x86_data.h
* configure.in: check for CPUID instruction
* src/Makefile.am: glue the new files in
* src/libvirt_private.syms: add new private symbols
* po/POTFILES.in: add new cpu files containing translatable strings
2009-12-18 16:13:45 +01:00
..
.gitignore generate .gitignore files from .cvsignore ones 2008-10-17 10:03:15 +00:00
af.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
am.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
ar.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
as.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
be.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
bg.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
bn_IN.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
bn.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
bs.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
ca.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
cs.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
cy.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
da.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
de.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
el.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
en_GB.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
es.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
et.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
eu_ES.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
fa.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
fi.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
fr.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
gl.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
gu.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
he.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
hi.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
hr.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
hu.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
hy.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
id.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
is.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
it.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
ja.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
ka.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
kn.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
ko.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
ku.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
libvirt.pot Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
lo.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
lt.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
lv.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
Makevars avoid xgettext warning aboug bug-reporting address 2009-01-05 13:28:33 +00:00
mk.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
ml.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
mr.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
ms.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
my.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
nb.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
nl.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
nn.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
nso.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
or.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
pa.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
pl.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
POTFILES.in Adds CPU selection infrastructure 2009-12-18 16:13:45 +01:00
pt_BR.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
pt.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
ro.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
ru.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
si.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
sk.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
sl.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
sq.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
sr.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
sr@latin.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
sv.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
ta.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
te.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
th.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
tr.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
uk.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
ur.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
vi.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
zh_CN.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
zh_TW.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00
zu.po Release of libvirt-0.7.3 2009-11-20 17:31:13 +01:00