aboutsummaryrefslogtreecommitdiff
path: root/kvm-stub.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2013-07-25 20:50:21 +0200
committerAndreas Färber <afaerber@suse.de>2013-07-26 23:05:31 +0200
commit38e478eccfb1ace415914a331c8e1b16ae64b57f (patch)
treec9a5bea9dd57bd2ec4cbeb28cd241cc7dd82e0c3 /kvm-stub.c
parent0ac46af39ee84461782b6f096ba1a165c7b0e503 (diff)
kvm: Change prototype of kvm_update_guest_debug()
Passing a CPUState pointer instead of a CPUArchState pointer eliminates the last target dependent data type in sysemu/kvm.h. It also simplifies the code. Signed-off-by: Stefan Weil <sw@weilnetz.de> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'kvm-stub.c')
-rw-r--r--kvm-stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm-stub.c b/kvm-stub.c
index 7b2233ae82..771360b3ca 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -78,7 +78,7 @@ void kvm_setup_guest_memory(void *start, size_t size)
{
}
-int kvm_update_guest_debug(CPUArchState *env, unsigned long reinject_trap)
+int kvm_update_guest_debug(CPUState *cpu, unsigned long reinject_trap)
{
return -ENOSYS;
}