mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
e69917e29a
commit
4495d6a745
2 changed files with 40 additions and 7 deletions
1
kvm.h
1
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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue