This will be needed by the qemu driver in an upcoming patch. --- src/conf/domain_conf.c | 2 +- src/conf/domain_conf.h | 2 ++ src/libvirt_private.syms | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index db567f5..b1e6084 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -14555,7 +14555,7 @@ virDomainEmulatorPinDefParseXML(xmlNodePtr node) } -static virDomainControllerDefPtr +virDomainControllerDefPtr virDomainDefAddController(virDomainDefPtr def, int type, int idx, int model) { virDomainControllerDefPtr cont; diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index fd540ed..add8e6e 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -3093,6 +3093,8 @@ VIR_ENUM_DECL(virDomainCpuPlacementMode) VIR_ENUM_DECL(virDomainStartupPolicy) +virDomainControllerDefPtr +virDomainDefAddController(virDomainDefPtr def, int type, int idx, int model); int virDomainDefAddUSBController(virDomainDefPtr def, int idx, int model); int diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index 2b55369..019d2e1 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -201,6 +201,7 @@ virDomainControllerRemove; virDomainControllerTypeToString; virDomainCpuPlacementModeTypeFromString; virDomainCpuPlacementModeTypeToString; +virDomainDefAddController; virDomainDefAddImplicitDevices; virDomainDefAddUSBController; virDomainDefCheckABIStability; -- 2.5.5 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list