summaryrefslogtreecommitdiff
path: root/src/ch
diff options
context:
space:
mode:
authorKristina Hanicova <khanicov@redhat.com>2022-09-05 15:57:03 +0200
committerJán Tomko <jtomko@redhat.com>2022-09-07 12:06:18 +0200
commit84e9fd068ccad6e19e037cd6680df437617e2de5 (patch)
tree3f3a909a4f1d9300f2c6f7067dfe43c79556ba7d /src/ch
parent0c3f023045a0e66bf582758b17dd5eb515d75e6c (diff)
downloadlibvirt-84e9fd068ccad6e19e037cd6680df437617e2de5.tar.gz
conf: extend xmlopt with job config & add job object into domain object
This patch adds the generalized job object into the domain object so that it can be used by all drivers without the need to extract it from the private data. Because of this, the job object needs to be created and set during the creation of the domain object. This patch also extends xmlopt with possible job config containing virDomainJobObj callbacks, its private data callbacks and one variable (maxQueuedJobs). This patch includes: * addition of virDomainJobObj into virDomainObj (used in the following patches) * extending xmlopt with job config structure * new function for freeing the virDomainJobObj Signed-off-by: Kristina Hanicova <khanicov@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
Diffstat (limited to 'src/ch')
-rw-r--r--src/ch/ch_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ch/ch_conf.c b/src/ch/ch_conf.c
index 775596e9f5..0d07fa270c 100644
--- a/src/ch/ch_conf.c
+++ b/src/ch/ch_conf.c
@@ -110,7 +110,7 @@ chDomainXMLConfInit(virCHDriver *driver)
virCHDriverDomainDefParserConfig.priv = driver;
return virDomainXMLOptionNew(&virCHDriverDomainDefParserConfig,
&virCHDriverPrivateDataCallbacks,
- NULL, NULL, NULL);
+ NULL, NULL, NULL, NULL);
}
virCHDriverConfig *