mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
kvm: switch kvm slots to use host virtual address instead of ram_addr_t
This simplifies a later switch to the memory API in slot management. Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
7664e80c84
commit
9f213ed92c
4 changed files with 25 additions and 21 deletions
4
kvm.h
4
kvm.h
|
@ -188,8 +188,8 @@ static inline void cpu_synchronize_post_init(CPUState *env)
|
|||
|
||||
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
int kvm_physical_memory_addr_from_ram(KVMState *s, ram_addr_t ram_addr,
|
||||
target_phys_addr_t *phys_addr);
|
||||
int kvm_physical_memory_addr_from_host(KVMState *s, void *ram_addr,
|
||||
target_phys_addr_t *phys_addr);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue