Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
Changes | 2 +-
Virt.xs | 1 +
lib/Sys/Virt/Domain.pm | 4 ++++
3 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/Changes b/Changes
index 0cf810e..06f66c8 100644
--- a/Changes
+++ b/Changes
@@ -2,7 +2,7 @@ Revision history for perl module Sys::Virt
3.9.0 2017-11-00
- - XXX
+ - Add VIR_DOMAIN_JOB_MEMORY_PAGE_SIZE constant
3.8.0 2017-10-04
diff --git a/Virt.xs b/Virt.xs
index 9243b7f..eb8465f 100644
--- a/Virt.xs
+++ b/Virt.xs
@@ -8666,6 +8666,7 @@ BOOT:
REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_MEMORY_TOTAL, JOB_MEMORY_TOTAL);
REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_MEMORY_BPS, JOB_MEMORY_BPS);
REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_MEMORY_DIRTY_RATE, JOB_MEMORY_DIRTY_RATE);
+ REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_MEMORY_PAGE_SIZE, JOB_MEMORY_PAGE_SIZE);
REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_MEMORY_ITERATION, JOB_MEMORY_ITERATION);
REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_SETUP_TIME, JOB_SETUP_TIME);
REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_TIME_ELAPSED, JOB_TIME_ELAPSED);
diff --git a/lib/Sys/Virt/Domain.pm b/lib/Sys/Virt/Domain.pm
index 59b0215..273e6e6 100644
--- a/lib/Sys/Virt/Domain.pm
+++ b/lib/Sys/Virt/Domain.pm
@@ -1566,6 +1566,10 @@ The bytes per second transferred
The number of memory pages dirtied per second
+=item Sys::Virt::Domain::JOB_MEMORY_PAGE_SIZE
+
+The memory page size in bytes
+
=item Sys::Virt::Domain::JOB_MEMORY_ITERATION
The total number of iterations over guest memory
--
2.13.6