diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2010-02-19 19:22:22 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-02-21 11:19:52 +0200 |
commit | 580fdc68327d0ca2348a17b9f40fc99a5e4ae9b2 (patch) | |
tree | 76fc513c14667a310f69feddf6f48bec11842222 /kvm-all.c | |
parent | 8034eb52f0d91ba14a1239774a1328bb8431372d (diff) |
Use upstream kvm_setup_guest_memory
Nothing missing in upstream kvm_setup_guest_memory, it is even more
careful about error handling.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kvm-all.c')
-rw-r--r-- | kvm-all.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -932,7 +932,6 @@ int kvm_has_vcpu_events(void) return kvm_state->vcpu_events; } -#ifdef KVM_UPSTREAM void kvm_setup_guest_memory(void *start, size_t size) { if (!kvm_has_sync_mmu()) { @@ -951,8 +950,6 @@ void kvm_setup_guest_memory(void *start, size_t size) } } -#endif /* KVM_UPSTREAM */ - #ifdef KVM_CAP_SET_GUEST_DEBUG #ifdef KVM_UPSTREAM |