mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-30 13:31:52 -06:00
kvm: move kvm to use memory notifiers
remove direct kvm calls from exec.c, make kvm use memory notifiers framework instead. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
46dbef6ade
commit
7b8f3b7834
3 changed files with 35 additions and 30 deletions
8
kvm.h
8
kvm.h
|
@ -35,16 +35,8 @@ int kvm_init_vcpu(CPUState *env);
|
|||
|
||||
int kvm_cpu_exec(CPUState *env);
|
||||
|
||||
void kvm_set_phys_mem(target_phys_addr_t start_addr,
|
||||
ram_addr_t size,
|
||||
ram_addr_t phys_offset);
|
||||
|
||||
int kvm_physical_sync_dirty_bitmap(target_phys_addr_t start_addr,
|
||||
target_phys_addr_t end_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);
|
||||
int kvm_has_vcpu_events(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue