[libvirt] [PATCH v2 0/2] CPU flags capabilities and domain configuration
Jiri Denemark
jdenemar at redhat.com
Thu Nov 5 15:04:09 UTC 2009
Hi,
These are two initial patches for CPU flags/masks support for libvirt.
The first patch contains changes to schemas and describes semantics of
new elements and attributes.
The second patch introduces internal API functions for XML parsing and
formating.
Version 2 changes:
- feature names moved to a 'name' attribute of 'feature' element
- 'cpu' element in guest capabilities renamed as 'cpuselection'
- topology attributes restricted to positiveInteger
- move 'cpu' element above 'os' element in domain configuration schema
- feature names restricted to [a-zA-Z0-9\-_]+
- feature names are not internally converted to lower case
Jiri Denemark (2):
XML schema for CPU flags
XML parsing/formating code for CPU flags
docs/schemas/capability.rng | 46 ++++++-
docs/schemas/domain.rng | 62 ++++++++
include/libvirt/virterror.h | 1 +
src/Makefile.am | 9 +-
src/conf/capabilities.c | 31 ++++-
src/conf/capabilities.h | 6 +
src/conf/cpu_conf.c | 331 +++++++++++++++++++++++++++++++++++++++++++
src/conf/cpu_conf.h | 110 ++++++++++++++
src/conf/domain_conf.c | 15 ++
src/conf/domain_conf.h | 2 +
src/libvirt_private.syms | 8 +
src/util/virterror.c | 3 +
12 files changed, 620 insertions(+), 4 deletions(-)
create mode 100644 src/conf/cpu_conf.c
create mode 100644 src/conf/cpu_conf.h
More information about the libvir-list
mailing list