aboutsummaryrefslogtreecommitdiffstats
path: root/src/dma/vendor/github.com/libvirt/libvirt-go/domain_wrapper.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/dma/vendor/github.com/libvirt/libvirt-go/domain_wrapper.go')
-rw-r--r--src/dma/vendor/github.com/libvirt/libvirt-go/domain_wrapper.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/dma/vendor/github.com/libvirt/libvirt-go/domain_wrapper.go b/src/dma/vendor/github.com/libvirt/libvirt-go/domain_wrapper.go
index b42dd42f..f674bd51 100644
--- a/src/dma/vendor/github.com/libvirt/libvirt-go/domain_wrapper.go
+++ b/src/dma/vendor/github.com/libvirt/libvirt-go/domain_wrapper.go
@@ -1914,6 +1914,26 @@ virDomainSetGuestVcpusWrapper(virDomainPtr domain,
int
+virDomainSetIOThreadParamsWrapper(virDomainPtr domain,
+ unsigned int iothread_id,
+ virTypedParameterPtr params,
+ int nparams,
+ unsigned int flags,
+ virErrorPtr err)
+{
+#if LIBVIR_VERSION_NUMBER < 4010000
+ assert(0); // Caller should have checked version
+#else
+ int ret = virDomainSetIOThreadParams(domain, iothread_id, params, nparams, flags);
+ if (ret < 0) {
+ virCopyLastError(err);
+ }
+ return ret;
+#endif
+}
+
+
+int
virDomainSetInterfaceParametersWrapper(virDomainPtr domain,
const char *device,
virTypedParameterPtr params,