aboutsummaryrefslogtreecommitdiff
path: root/kvm-stub.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2013-04-11 16:51:41 +0200
committerAndreas Färber <afaerber@suse.de>2013-04-16 01:19:46 +0200
commit3f24a58fa7dacd82cb72393367be207b0dab16b4 (patch)
tree91e059e4e220d72ed40617d1f6bdf89d983f7577 /kvm-stub.c
parent7f833247df4b68719413b5dccc5f84944f442cb3 (diff)
cpu: Pass CPUState to *cpu_synchronize_post*()
... so it could be called without requiring CPUArchState. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> 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 f6137d343a..723a813735 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -41,11 +41,11 @@ void kvm_cpu_synchronize_state(CPUArchState *env)
{
}
-void kvm_cpu_synchronize_post_reset(CPUArchState *env)
+void kvm_cpu_synchronize_post_reset(CPUState *cpu)
{
}
-void kvm_cpu_synchronize_post_init(CPUArchState *env)
+void kvm_cpu_synchronize_post_init(CPUState *cpu)
{
}