conf: make virDomainDefAddController() public

This will be needed by the qemu driver in an upcoming patch.
This commit is contained in:
Laine Stump 2016-04-19 15:31:36 -04:00
parent f9edcfa473
commit b3f2c7cae8
3 changed files with 4 additions and 1 deletions

View File

@ -14612,7 +14612,7 @@ virDomainEmulatorPinDefParseXML(xmlNodePtr node)
}
static virDomainControllerDefPtr
virDomainControllerDefPtr
virDomainDefAddController(virDomainDefPtr def, int type, int idx, int model)
{
virDomainControllerDefPtr cont;

View File

@ -3108,6 +3108,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

View File

@ -202,6 +202,7 @@ virDomainControllerRemove;
virDomainControllerTypeToString;
virDomainCpuPlacementModeTypeFromString;
virDomainCpuPlacementModeTypeToString;
virDomainDefAddController;
virDomainDefAddImplicitDevices;
virDomainDefAddUSBController;
virDomainDefCheckABIStability;