Hi,
Here it is, finally.
Jirka
Jiri Denemark (14):
XML schema for CPU flags
XML parsing/formating code for CPU flags
Public API
Internal driver API
Public API implementation
Wire protocol format
Remote driver
Server side dispatcher
CPU selection infrastructure
CPU map for models and features
CPU driver implementation
Set getHostCPU handler in drivers
Implement CPU selection in QEMU driver
Implement virsh commands
configure.in | 20 +
daemon/Makefile.am | 2 +
daemon/libvirtd.c | 3 +
daemon/remote.c | 42 ++
daemon/remote_dispatch_prototypes.h | 16 +
docs/schemas/capability.rng | 46 ++-
docs/schemas/domain.rng | 62 ++
include/libvirt/libvirt.h.in | 15 +
include/libvirt/virterror.h | 2 +
src/Makefile.am | 43 ++-
src/conf/capabilities.c | 31 +-
src/conf/capabilities.h | 6 +
src/conf/cpu_conf.c | 366 +++++++++++
src/conf/cpu_conf.h | 116 ++++
src/conf/domain_conf.c | 15 +
src/conf/domain_conf.h | 2 +
src/cpu/cpu.c | 206 +++++++
src/cpu/cpu.h | 124 ++++
src/cpu/cpu_driver.c | 190 ++++++
src/cpu/cpu_driver.h | 40 ++
src/cpu/cpu_generic.c | 123 ++++
src/cpu/cpu_generic.h | 32 +
src/cpu/cpu_map.c | 130 ++++
src/cpu/cpu_map.h | 41 ++
src/cpu/cpu_map.xml | 304 ++++++++++
src/cpu/cpu_x86.c | 1142 +++++++++++++++++++++++++++++++++++
src/cpu/cpu_x86.h | 31 +
src/cpu/cpu_x86_data.h | 45 ++
src/datatypes.h | 2 +
src/driver.h | 20 +
src/esx/esx_driver.c | 1 +
src/libvirt.c | 129 ++++
src/libvirt_private.syms | 19 +
src/libvirt_public.syms | 6 +
src/lxc/lxc_driver.c | 1 +
src/openvz/openvz_driver.c | 1 +
src/qemu/qemu_conf.c | 401 ++++++++++++-
src/qemu/qemu_conf.h | 7 +
src/qemu/qemu_driver.c | 37 +-
src/remote/remote_driver.c | 125 ++++
src/remote/remote_protocol.c | 27 +
src/remote/remote_protocol.x | 18 +-
src/test/test_driver.c | 1 +
src/uml/uml_driver.c | 1 +
src/util/virterror.c | 8 +
src/vbox/vbox_tmpl.c | 1 +
tools/virsh.c | 65 ++
47 files changed, 4029 insertions(+), 36 deletions(-)
create mode 100644 src/conf/cpu_conf.c
create mode 100644 src/conf/cpu_conf.h
create mode 100644 src/cpu/cpu.c
create mode 100644 src/cpu/cpu.h
create mode 100644 src/cpu/cpu_driver.c
create mode 100644 src/cpu/cpu_driver.h
create mode 100644 src/cpu/cpu_generic.c
create mode 100644 src/cpu/cpu_generic.h
create mode 100644 src/cpu/cpu_map.c
create mode 100644 src/cpu/cpu_map.h
create mode 100644 src/cpu/cpu_map.xml
create mode 100644 src/cpu/cpu_x86.c
create mode 100644 src/cpu/cpu_x86.h
create mode 100644 src/cpu/cpu_x86_data.h