From: zhangjl02 <zhangjl02@xxxxxxxxxx> Add virDomainPostParseDataDefEmulator typedef. Add a definition callback into _virDomainDefParserConfig. Signed-off-by: zhangjl02 <zhangjl02@xxxxxxxxxx> --- src/conf/domain_conf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 88a411d00c..86d627136a 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -3130,6 +3130,7 @@ typedef int (*virDomainDefPostParseDataAlloc)(const virDomainDef *def, unsigned int parseFlags, void *opaque, void **parseOpaque); +typedef int (*virDomainPostParseDataDefEmulator)(virDomainDef *def); typedef void (*virDomainDefPostParseDataFree)(void *parseOpaque); /* Called in appropriate places where the domain conf parser can return failure @@ -3150,6 +3151,7 @@ struct _virDomainDefParserConfig { /* driver domain definition callbacks */ virDomainDefPostParseBasicCallback domainPostParseBasicCallback; virDomainDefPostParseDataAlloc domainPostParseDataAlloc; + virDomainPostParseDataDefEmulator domainPostParseDataDefEmulator; virDomainDefPostParseCallback domainPostParseCallback; virDomainDeviceDefPostParseCallback devicesPostParseCallback; virDomainDefAssignAddressesCallback assignAddressesCallback; -- 2.35.1.windows.2