diff options
author | Tomofumi Hayashi <tohayash@redhat.com> | 2019-04-27 20:38:39 +0900 |
---|---|---|
committer | Tomofumi Hayashi <tohayash@redhat.com> | 2019-04-27 20:40:37 +0900 |
commit | 4d11ca17d0f73f5bd783f45900118295fdfed46b (patch) | |
tree | cce8575b02ac850d2b30ec12a5c4083c48e85c6c /src/dma/vendor/github.com/libvirt/libvirt-go/domain_wrapper.go | |
parent | 07e4a96e4996f3d39b92dd601b3ed0d23bfbaa0c (diff) |
barometer: update DMA's vendoring packages
Change-Id: I0578b094f1ecdaed20c906be2ba29d51b8089d7c
Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
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.go | 20 |
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, |