[libvirt] [PATCH 03/11] caps: Use an enum internally for ostype value
Michal Privoznik
mprivozn at redhat.com
Mon Apr 20 13:53:47 UTC 2015
On 18.04.2015 03:45, Cole Robinson wrote:
> But the internal API stays the same, and we just convert the value as
> needed. Not useful yet, but this is the beginning step of using an enum
> for ostype throughout the code.
> ---
> src/conf/capabilities.c | 74 ++++++++++++++++++++++++++++++++++++++-----------
> src/conf/capabilities.h | 2 +-
> src/conf/domain_conf.c | 8 ++++++
> src/conf/domain_conf.h | 13 +++++++++
> src/xenconfig/xen_xl.c | 2 +-
> 5 files changed, 81 insertions(+), 18 deletions(-)
Missing src/libvirt_private.syms adjustment. You need to export
virDomainOsTypeFromString and virDomainOsTypeToString.
Michal
More information about the libvir-list
mailing list