diff options
author | 2009-10-19 11:20:43 -0200 | |
---|---|---|
committer | 2009-10-20 12:59:03 -0200 | |
commit | ae3c812ede5273bbbbd6d626fade5959ea16530d (patch) | |
tree | 812c1b7f3d8f5a5d001e462f675b1bda247064b6 /qemu-kvm.c | |
parent | use handle_io upstream version. (diff) | |
download | qemu-kvm-ae3c812ede5273bbbbd6d626fade5959ea16530d.tar.gz qemu-kvm-ae3c812ede5273bbbbd6d626fade5959ea16530d.tar.bz2 qemu-kvm-ae3c812ede5273bbbbd6d626fade5959ea16530d.zip |
change pre and post kvm_run signatures.
Intention is to merge with upstream version in the following patch.
Doing as a separate step to help identify any further issues.
Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'qemu-kvm.c')
-rw-r--r-- | qemu-kvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu-kvm.c b/qemu-kvm.c index 9f2a153ab..c58ad304e 100644 --- a/qemu-kvm.c +++ b/qemu-kvm.c @@ -852,12 +852,12 @@ static inline void push_nmi(kvm_context_t kvm) void post_kvm_run(kvm_context_t kvm, CPUState *env) { pthread_mutex_lock(&qemu_mutex); - kvm_arch_post_kvm_run(kvm->opaque, env); + kvm_arch_post_run(env, env->kvm_run); } int pre_kvm_run(kvm_context_t kvm, CPUState *env) { - kvm_arch_pre_kvm_run(kvm->opaque, env); + kvm_arch_pre_run(env, env->kvm_run); pthread_mutex_unlock(&qemu_mutex); return 0; |