Signed-off-by: Erik Skultety <eskultet(a)redhat.com>
---
domain.go | 4 ++++
domain_compat.h | 5 +++++
2 files changed, 9 insertions(+)
diff --git a/domain.go b/domain.go
index 98dd290..f4546b8 100644
--- a/domain.go
+++ b/domain.go
@@ -2309,6 +2309,10 @@ func getMigrateParameterFieldInfo(params *DomainMigrateParameters)
map[string]ty
set: ¶ms.BandwidthSet,
ul: ¶ms.Bandwidth,
},
+ C.VIR_MIGRATE_PARAM_BANDWIDTH_POSTCOPY: typedParamsFieldInfo{
+ set: ¶ms.BandwidthSet,
+ ul: ¶ms.Bandwidth,
+ },
C.VIR_MIGRATE_PARAM_GRAPHICS_URI: typedParamsFieldInfo{
set: ¶ms.GraphicsURISet,
s: ¶ms.GraphicsURI,
diff --git a/domain_compat.h b/domain_compat.h
index d869865..7589f41 100644
--- a/domain_compat.h
+++ b/domain_compat.h
@@ -939,4 +939,9 @@ struct _virDomainInterface {
#define VIR_DOMAIN_JOB_MEMORY_POSTCOPY_REQS "memory_postcopy_requests"
#endif
+/* 5.1.0 */
+#ifndef VIR_MIGRATE_PARAM_BANDWIDTH_POSTCOPY
+#define VIR_MIGRATE_PARAM_BANDWIDTH_POSTCOPY "bandwidth.postcopy"
+#endif
+
#endif /* LIBVIRT_GO_DOMAIN_COMPAT_H__ */
--
2.20.1