diff options
author | Andreas Färber <afaerber@suse.de> | 2012-12-17 08:02:44 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-02-16 14:51:00 +0100 |
commit | fcd7d0034b7eddba505a548f456f452bf5a7d56c (patch) | |
tree | fef2f0c973e60467b4debfac984cd4bd6f8061c3 /target-i386/kvm.c | |
parent | 0315c31cda054775585b31f8cb3c9228cc6fc28b (diff) | |
download | qemu-fcd7d0034b7eddba505a548f456f452bf5a7d56c.tar.gz qemu-fcd7d0034b7eddba505a548f456f452bf5a7d56c.tar.bz2 qemu-fcd7d0034b7eddba505a548f456f452bf5a7d56c.zip |
cpu: Move exit_request field to CPUState
Since it was located before breakpoints field, it needs to be reset.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-i386/kvm.c')
-rw-r--r-- | target-i386/kvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 9ebf1816d9..0cf413dbfd 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -1777,7 +1777,7 @@ void kvm_arch_pre_run(CPUState *cpu, struct kvm_run *run) * or pending TPR access reports. */ if (env->interrupt_request & (CPU_INTERRUPT_INIT | CPU_INTERRUPT_TPR)) { - env->exit_request = 1; + cpu->exit_request = 1; } /* Try to inject an interrupt if the guest can accept it */ @@ -1847,7 +1847,7 @@ int kvm_arch_process_async_events(CPUState *cs) if (env->exception_injected == EXCP08_DBLE) { /* this means triple fault */ qemu_system_reset_request(); - env->exit_request = 1; + cs->exit_request = 1; return 0; } env->exception_injected = EXCP12_MCHK; |