summaryrefslogtreecommitdiff
path: root/kvm-all.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2010-02-19 19:22:22 +0100
committerAvi Kivity <avi@redhat.com>2010-02-21 11:19:52 +0200
commit580fdc68327d0ca2348a17b9f40fc99a5e4ae9b2 (patch)
tree76fc513c14667a310f69feddf6f48bec11842222 /kvm-all.c
parent8034eb52f0d91ba14a1239774a1328bb8431372d (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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kvm-all.c b/kvm-all.c
index 9f1808f40..b9c15535a 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -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