aboutsummaryrefslogtreecommitdiff
path: root/kvm-stub.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-01-17 09:30:27 +0100
committerAndreas Färber <afaerber@suse.de>2013-01-28 16:57:56 +0100
commit290adf38967787bd985a5ec67dc4717e83c29eaa (patch)
tree1de6561ecf5ea089d9acb14441328fc2893dfe74 /kvm-stub.c
parentc03c520d508ba8b3a384f9849700987df8e4c328 (diff)
downloadqemu-290adf38967787bd985a5ec67dc4717e83c29eaa.zip
qemu-290adf38967787bd985a5ec67dc4717e83c29eaa.tar.gz
qemu-290adf38967787bd985a5ec67dc4717e83c29eaa.tar.bz2
kvm: Pass CPUState to kvm_on_sigbus_vcpu()
Since commit 20d695a9254c1b086a456d3b79a3c311236643ba (kvm: Pass CPUState to kvm_arch_*) CPUArchState is no longer needed. Allows to change qemu_kvm_eat_signals() argument as well. Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Gleb Natapov <gleb@redhat.com>
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 47f8dca..760aadc 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -112,7 +112,7 @@ int kvm_set_ioeventfd_mmio(int fd, uint32_t adr, uint32_t val, bool assign, uint
return -ENOSYS;
}
-int kvm_on_sigbus_vcpu(CPUArchState *env, int code, void *addr)
+int kvm_on_sigbus_vcpu(CPUState *cpu, int code, void *addr)
{
return 1;
}