]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Decouple CPU XML formatting from domain XML public API flags
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 6 Jan 2015 11:54:32 +0000 (11:54 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 13 Jan 2015 16:19:56 +0000 (16:19 +0000)
commite34473c1daf1303023ef91eb6315872b403be04b
tree4939cc19fdd06fe44694b069286a3e5dc84e00c0
parent2b8090b701b90de9b10ac927b096c35b896e22d5
Decouple CPU XML formatting from domain XML public API flags

The virCPUDefFormat* methods were relying on the VIR_DOMAIN_XML_*
flag definitions. It is not desirable for low level internal
functions to be coupled to flags for the public API, since they
may need to be called from several different contexts where the
flags would not be appropriate.
src/conf/capabilities.c
src/conf/cpu_conf.c
src/conf/cpu_conf.h
src/conf/domain_conf.c
src/cpu/cpu.c
tests/cputest.c