summaryrefslogtreecommitdiff
path: root/kvm-stub.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-06-27 17:12:06 +0200
committerAndreas Färber <afaerber@suse.de>2013-07-23 02:41:32 +0200
commit6227881415e0e0117d56aef90cf6e72f24187ec1 (patch)
treef48fb4aaa08fa4bc043b0a574a4c099ad84bb739 /kvm-stub.c
parent3825b28ff128e2bd3cb0a338c21923c926b1f38b (diff)
downloadqemu-6227881415e0e0117d56aef90cf6e72f24187ec1.tar.gz
qemu-6227881415e0e0117d56aef90cf6e72f24187ec1.tar.bz2
qemu-6227881415e0e0117d56aef90cf6e72f24187ec1.zip
kvm: Change kvm_{insert,remove}_breakpoint() argument to CPUState
CPUArchState is no longer directly used since converting CPU loops to CPUState. Prepares for changing GDBState::c_cpu to CPUState. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'kvm-stub.c')
-rw-r--r--kvm-stub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvm-stub.c b/kvm-stub.c
index 370c8371d5..7b2233ae82 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -83,13 +83,13 @@ int kvm_update_guest_debug(CPUArchState *env, unsigned long reinject_trap)
return -ENOSYS;
}
-int kvm_insert_breakpoint(CPUArchState *env, target_ulong addr,
+int kvm_insert_breakpoint(CPUState *cpu, target_ulong addr,
target_ulong len, int type)
{
return -EINVAL;
}
-int kvm_remove_breakpoint(CPUArchState *env, target_ulong addr,
+int kvm_remove_breakpoint(CPUState *cpu, target_ulong addr,
target_ulong len, int type)
{
return -EINVAL;