aboutsummaryrefslogtreecommitdiff
path: root/kvm.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-05-01 20:52:46 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-05-22 10:50:33 -0500
commit4495d6a74575b4ee7e9aabdc66e67b6c9e19a698 (patch)
treec897a729c9dd8a6ee88e94f505bcf1d3853b3055 /kvm.h
parente69917e29acc6a21a15c5c6b5569333ddf384a38 (diff)
downloadqemu-4495d6a74575b4ee7e9aabdc66e67b6c9e19a698.zip
qemu-4495d6a74575b4ee7e9aabdc66e67b6c9e19a698.tar.gz
qemu-4495d6a74575b4ee7e9aabdc66e67b6c9e19a698.tar.bz2
kvm: Introduce kvm_set_migration_log
Introduce a global dirty logging flag that enforces logging for all slots. This can be used by the live migration code to enable/disable global logging withouth destroying the per-slot setting. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'kvm.h')
-rw-r--r--kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvm.h b/kvm.h
index 4cf7549..1d247e0 100644
--- a/kvm.h
+++ b/kvm.h
@@ -45,6 +45,7 @@ void kvm_physical_sync_dirty_bitmap(target_phys_addr_t start_addr,
int kvm_log_start(target_phys_addr_t phys_addr, ram_addr_t size);
int kvm_log_stop(target_phys_addr_t phys_addr, ram_addr_t size);
+int kvm_set_migration_log(int enable);
int kvm_has_sync_mmu(void);