diff options
author | Gleb Natapov <gleb@redhat.com> | 2009-06-15 16:23:12 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-06-15 16:49:55 +0300 |
commit | c7646332367e42fdaf965f0df309a281b00aef9a (patch) | |
tree | 330745c0d9724e104ec7bb95d80d341453fbf853 | |
parent | Do not use env->halted to decide where halted state should be handled (diff) | |
download | qemu-kvm-c7646332367e42fdaf965f0df309a281b00aef9a.tar.gz qemu-kvm-c7646332367e42fdaf965f0df309a281b00aef9a.tar.bz2 qemu-kvm-c7646332367e42fdaf965f0df309a281b00aef9a.zip |
Call kvm_arch_load_regs() instead of kvm_load_registers()
The call is done from vcpu thread.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
-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 59de374f3..60e2e767d 100644 --- a/qemu-kvm.c +++ b/qemu-kvm.c @@ -1907,7 +1907,7 @@ static int kvm_main_loop_cpu(CPUState *env) #endif cpu_single_env = env; - kvm_load_registers(env); + kvm_arch_load_regs(env); while (1) { while (!has_work(env)) |