diff options
author | Avi Kivity <avi@redhat.com> | 2011-12-15 19:55:26 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-20 14:14:07 +0200 |
commit | 9f213ed92c5ccc3d0aa19359bb1783760d01dae9 (patch) | |
tree | 75f5fe5e181737f69de73935b20cba4405b91df7 /kvm.h | |
parent | 7664e80c84700d8b7e88ae854d1d74806c63f013 (diff) | |
download | qemu-9f213ed92c5ccc3d0aa19359bb1783760d01dae9.zip qemu-9f213ed92c5ccc3d0aa19359bb1783760d01dae9.tar.gz qemu-9f213ed92c5ccc3d0aa19359bb1783760d01dae9.tar.bz2 |
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>
Diffstat (limited to 'kvm.h')
-rw-r--r-- | kvm.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |