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

[libvirt] [PATCH v3 00/13] CPU selection patches



Hi,

This is a third version of CPU selection patchset.

Changes in version 3:
- fix build and segfault on i386

Changes in version 2:
- virConnectGetHostCPU() API call was completely removed
- 'CPU driver implementation' (11/14) patch was dropped
- virConnectCompareCPU() API call is implemented directly by hypervisor
  drivers
- new cpuCompareXML() internal function to make virConnectCompareCPU()
  simpler

Jirka


Jiri Denemark (13):
  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
  Set cpuCompare handler in drivers
  Implement CPU selection in QEMU driver
  Implement virsh commands

 configure.in                 |   20 +
 daemon/remote.c              |   22 +
 docs/schemas/capability.rng  |   46 ++-
 docs/schemas/domain.rng      |   62 +++
 include/libvirt/libvirt.h.in |   13 +
 include/libvirt/virterror.h  |    1 +
 src/Makefile.am              |   23 +-
 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                |  242 +++++++++
 src/cpu/cpu.h                |  129 +++++
 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            | 1159 ++++++++++++++++++++++++++++++++++++++++++
 src/cpu/cpu_x86.h            |   31 ++
 src/cpu/cpu_x86_data.h       |   45 ++
 src/driver.h                 |    5 +
 src/esx/esx_driver.c         |    1 +
 src/libvirt.c                |   41 ++
 src/libvirt_private.syms     |   19 +
 src/libvirt_public.syms      |    5 +
 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       |   43 ++-
 src/remote/remote_driver.c   |   27 +
 src/remote/remote_protocol.x |   12 +-
 src/test/test_driver.c       |    1 +
 src/uml/uml_driver.c         |    1 +
 src/util/virterror.c         |    3 +
 src/vbox/vbox_tmpl.c         |    1 +
 tools/virsh.c                |   65 +++
 40 files changed, 3558 insertions(+), 35 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_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


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