Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx> --- domain.go | 6 ++++++ domain_compat.h | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/domain.go b/domain.go index b83bfc3..5183726 100644 --- a/domain.go +++ b/domain.go @@ -2860,6 +2860,8 @@ type DomainJobInfo struct { MemBps uint64 MemDirtyRateSet bool MemDirtyRate uint64 + MemPageSizeSet bool + MemPageSize uint64 MemIterationSet bool MemIteration uint64 DiskTotalSet bool @@ -2992,6 +2994,10 @@ func getDomainJobInfoFieldInfo(params *DomainJobInfo) map[string]typedParamsFiel set: ¶ms.MemDirtyRateSet, ul: ¶ms.MemDirtyRate, }, + C.VIR_DOMAIN_JOB_MEMORY_PAGE_SIZE: typedParamsFieldInfo{ + set: ¶ms.MemPageSizeSet, + ul: ¶ms.MemPageSize, + }, C.VIR_DOMAIN_JOB_MEMORY_ITERATION: typedParamsFieldInfo{ set: ¶ms.MemIterationSet, ul: ¶ms.MemIteration, diff --git a/domain_compat.h b/domain_compat.h index 0f66e8b..afef84d 100644 --- a/domain_compat.h +++ b/domain_compat.h @@ -971,4 +971,10 @@ int virDomainManagedSaveDefineXMLCompat(virDomainPtr domain, const char *dxml, unsigned int flags); +/* 3.9.0 */ + +#ifndef VIR_DOMAIN_JOB_MEMORY_PAGE_SIZE +#define VIR_DOMAIN_JOB_MEMORY_PAGE_SIZE "memory_page_size" +#endif + #endif /* LIBVIRT_GO_DOMAIN_COMPAT_H__ */ -- 2.13.6 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list