diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-03-15 12:26:30 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-03-16 17:11:06 -0300 |
commit | f2574737f6a1218b4f4809ad6c8aba935126d90f (patch) | |
tree | 68901821856c5adc1ceff7f22c13f33ec47ac32f /kvm-all.c | |
parent | 2a4dac835008da7328e61d8596b310c05cab801d (diff) | |
download | qemu-f2574737f6a1218b4f4809ad6c8aba935126d90f.zip qemu-f2574737f6a1218b4f4809ad6c8aba935126d90f.tar.gz qemu-f2574737f6a1218b4f4809ad6c8aba935126d90f.tar.bz2 |
kvm: x86: Push kvm_arch_debug to kvm_arch_handle_exit
There are no generic bits remaining in the handling of KVM_EXIT_DEBUG.
So push its logic completely into arch hands, i.e. only x86 so far.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kvm-all.c')
-rw-r--r-- | kvm-all.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -975,17 +975,6 @@ int kvm_cpu_exec(CPUState *env) ret = kvm_handle_internal_error(env, run); break; #endif -#ifdef KVM_CAP_SET_GUEST_DEBUG - case KVM_EXIT_DEBUG: - DPRINTF("kvm_exit_debug\n"); - if (kvm_arch_debug(&run->debug.arch)) { - ret = EXCP_DEBUG; - break; - } - /* re-enter, this exception was guest-internal */ - ret = 0; - break; -#endif /* KVM_CAP_SET_GUEST_DEBUG */ default: DPRINTF("kvm_arch_handle_exit\n"); ret = kvm_arch_handle_exit(env, run); |