diff options
author | 2009-10-09 15:03:16 -0300 | |
---|---|---|
committer | 2009-10-13 14:01:16 -0300 | |
commit | f0c0b9df4c5ec97ffa9b8e51b723c8a370611054 (patch) | |
tree | 31e2429c1fd4e6e1ce99d43eb143f3568d7919b5 /qemu-kvm.c | |
parent | use env as parameter for functions that access kvm_run (diff) | |
download | qemu-kvm-f0c0b9df4c5ec97ffa9b8e51b723c8a370611054.tar.gz qemu-kvm-f0c0b9df4c5ec97ffa9b8e51b723c8a370611054.tar.bz2 qemu-kvm-f0c0b9df4c5ec97ffa9b8e51b723c8a370611054.zip |
use env in kvm_arch_run
kvm_arch_run() takes a vcpu context parameter, but CPUState should
do. Convert it, as well as the functions that it end up calling
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-kvm.c b/qemu-kvm.c index dca96c6f1..ccd28c438 100644 --- a/qemu-kvm.c +++ b/qemu-kvm.c @@ -1037,7 +1037,7 @@ int kvm_run(kvm_vcpu_context_t vcpu, void *env) abort(); break; default: - if (kvm_arch_run(vcpu)) { + if (kvm_arch_run(env)) { fprintf(stderr, "unhandled vm exit: 0x%x\n", run->exit_reason); kvm_show_regs(vcpu); abort(); |