mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
conf: drop virCapsPtr param from post parse callback
No impl of this callback requires the virCapsPtr anymore. Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
227a0503e2
commit
c919336288
@ -75,7 +75,6 @@ bhyveDomainDefNeedsISAController(virDomainDefPtr def)
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
bhyveDomainDefPostParse(virDomainDefPtr def,
|
bhyveDomainDefPostParse(virDomainDefPtr def,
|
||||||
virCapsPtr _caps G_GNUC_UNUSED,
|
|
||||||
unsigned int parseFlags G_GNUC_UNUSED,
|
unsigned int parseFlags G_GNUC_UNUSED,
|
||||||
void *opaque,
|
void *opaque,
|
||||||
void *parseOpaque G_GNUC_UNUSED)
|
void *parseOpaque G_GNUC_UNUSED)
|
||||||
|
@ -5857,7 +5857,7 @@ virDomainDefPostParse(virDomainDefPtr def,
|
|||||||
|
|
||||||
/* call the domain config callback */
|
/* call the domain config callback */
|
||||||
if (xmlopt->config.domainPostParseCallback) {
|
if (xmlopt->config.domainPostParseCallback) {
|
||||||
ret = xmlopt->config.domainPostParseCallback(def, caps, parseFlags,
|
ret = xmlopt->config.domainPostParseCallback(def, parseFlags,
|
||||||
xmlopt->config.priv,
|
xmlopt->config.priv,
|
||||||
data.parseOpaque);
|
data.parseOpaque);
|
||||||
if (virDomainDefPostParseCheckFailure(def, parseFlags, ret) < 0)
|
if (virDomainDefPostParseCheckFailure(def, parseFlags, ret) < 0)
|
||||||
|
@ -2638,7 +2638,6 @@ typedef int (*virDomainDefPostParseBasicCallback)(virDomainDefPtr def,
|
|||||||
* value and the failure is noted in def->postParseFailed. Drivers should then
|
* value and the failure is noted in def->postParseFailed. Drivers should then
|
||||||
* re-run the post parse callback when attempting to use such definition. */
|
* re-run the post parse callback when attempting to use such definition. */
|
||||||
typedef int (*virDomainDefPostParseCallback)(virDomainDefPtr def,
|
typedef int (*virDomainDefPostParseCallback)(virDomainDefPtr def,
|
||||||
virCapsPtr caps,
|
|
||||||
unsigned int parseFlags,
|
unsigned int parseFlags,
|
||||||
void *opaque,
|
void *opaque,
|
||||||
void *parseOpaque);
|
void *parseOpaque);
|
||||||
|
@ -367,7 +367,6 @@ libxlDomainDeviceDefPostParse(virDomainDeviceDefPtr dev,
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
libxlDomainDefPostParse(virDomainDefPtr def,
|
libxlDomainDefPostParse(virDomainDefPtr def,
|
||||||
virCapsPtr caps G_GNUC_UNUSED,
|
|
||||||
unsigned int parseFlags G_GNUC_UNUSED,
|
unsigned int parseFlags G_GNUC_UNUSED,
|
||||||
void *opaque,
|
void *opaque,
|
||||||
void *parseOpaque G_GNUC_UNUSED)
|
void *parseOpaque G_GNUC_UNUSED)
|
||||||
|
@ -351,7 +351,6 @@ virDomainXMLPrivateDataCallbacks virLXCDriverPrivateDataCallbacks = {
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
virLXCDomainDefPostParse(virDomainDefPtr def,
|
virLXCDomainDefPostParse(virDomainDefPtr def,
|
||||||
virCapsPtr _caps G_GNUC_UNUSED,
|
|
||||||
unsigned int parseFlags G_GNUC_UNUSED,
|
unsigned int parseFlags G_GNUC_UNUSED,
|
||||||
void *opaque,
|
void *opaque,
|
||||||
void *parseOpaque G_GNUC_UNUSED)
|
void *parseOpaque G_GNUC_UNUSED)
|
||||||
|
@ -1082,7 +1082,6 @@ int openvzGetVEID(const char *name)
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
openvzDomainDefPostParse(virDomainDefPtr def,
|
openvzDomainDefPostParse(virDomainDefPtr def,
|
||||||
virCapsPtr caps G_GNUC_UNUSED,
|
|
||||||
unsigned int parseFlags G_GNUC_UNUSED,
|
unsigned int parseFlags G_GNUC_UNUSED,
|
||||||
void *opaque,
|
void *opaque,
|
||||||
void *parseOpaque G_GNUC_UNUSED)
|
void *parseOpaque G_GNUC_UNUSED)
|
||||||
|
@ -1062,7 +1062,6 @@ openSSHSession(virConnectPtr conn, virConnectAuthPtr auth,
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
phypDomainDefPostParse(virDomainDefPtr def,
|
phypDomainDefPostParse(virDomainDefPtr def,
|
||||||
virCapsPtr caps G_GNUC_UNUSED,
|
|
||||||
unsigned int parseFlags G_GNUC_UNUSED,
|
unsigned int parseFlags G_GNUC_UNUSED,
|
||||||
void *opaque,
|
void *opaque,
|
||||||
void *parseOpaque G_GNUC_UNUSED)
|
void *parseOpaque G_GNUC_UNUSED)
|
||||||
|
@ -4694,7 +4694,6 @@ qemuDomainDefPostParseBasic(virDomainDefPtr def,
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
qemuDomainDefPostParse(virDomainDefPtr def,
|
qemuDomainDefPostParse(virDomainDefPtr def,
|
||||||
virCapsPtr caps G_GNUC_UNUSED,
|
|
||||||
unsigned int parseFlags,
|
unsigned int parseFlags,
|
||||||
void *opaque,
|
void *opaque,
|
||||||
void *parseOpaque G_GNUC_UNUSED)
|
void *parseOpaque G_GNUC_UNUSED)
|
||||||
|
@ -117,7 +117,6 @@ vmwareDataFreeFunc(void *data)
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
vmwareDomainDefPostParse(virDomainDefPtr def,
|
vmwareDomainDefPostParse(virDomainDefPtr def,
|
||||||
virCapsPtr caps G_GNUC_UNUSED,
|
|
||||||
unsigned int parseFlags G_GNUC_UNUSED,
|
unsigned int parseFlags G_GNUC_UNUSED,
|
||||||
void *opaque G_GNUC_UNUSED,
|
void *opaque G_GNUC_UNUSED,
|
||||||
void *parseOpaque G_GNUC_UNUSED)
|
void *parseOpaque G_GNUC_UNUSED)
|
||||||
|
@ -530,7 +530,6 @@ VIR_ENUM_IMPL(virVMXControllerModelSCSI,
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
virVMXDomainDefPostParse(virDomainDefPtr def,
|
virVMXDomainDefPostParse(virDomainDefPtr def,
|
||||||
virCapsPtr _caps G_GNUC_UNUSED,
|
|
||||||
unsigned int parseFlags G_GNUC_UNUSED,
|
unsigned int parseFlags G_GNUC_UNUSED,
|
||||||
void *opaque,
|
void *opaque,
|
||||||
void *parseOpaque G_GNUC_UNUSED)
|
void *parseOpaque G_GNUC_UNUSED)
|
||||||
|
@ -241,7 +241,6 @@ vzDomainDefAddDefaultInputDevices(virDomainDefPtr def)
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
vzDomainDefPostParse(virDomainDefPtr def,
|
vzDomainDefPostParse(virDomainDefPtr def,
|
||||||
virCapsPtr caps G_GNUC_UNUSED,
|
|
||||||
unsigned int parseFlags G_GNUC_UNUSED,
|
unsigned int parseFlags G_GNUC_UNUSED,
|
||||||
void *opaque,
|
void *opaque,
|
||||||
void *parseOpaque G_GNUC_UNUSED)
|
void *parseOpaque G_GNUC_UNUSED)
|
||||||
|
Loading…
Reference in New Issue
Block a user