summary refs log tree commit diff stats
path: root/hw/apic.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-02-07 12:19:18 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2011-02-14 12:39:46 -0200
commit6792a57bf19ab37f61f5acf0f8e3003cf08814af (patch)
treefc81419978ca867d9db8557d13508d971b634402 /hw/apic.c
parent83f338f73ecb88cc6f85d6e7b81ebef112ce07be (diff)
downloadfocaccia-qemu-6792a57bf19ab37f61f5acf0f8e3003cf08814af.tar.gz
focaccia-qemu-6792a57bf19ab37f61f5acf0f8e3003cf08814af.zip
kvm: Separate TCG from KVM cpu execution
Mixing up TCG bits with KVM already led to problems around eflags
emulation on x86. Moreover, quite some code that TCG requires on cpu
enty/exit is useless for KVM. So dispatch between tcg_cpu_exec and
kvm_cpu_exec as early as possible.

The core logic of cpu_halted from cpu_exec is added to
kvm_arch_process_irqchip_events. Moving away from cpu_exec makes
exception_index meaningless for KVM, we can simply pass the exit reason
directly (only "EXCP_DEBUG vs. rest" is relevant).

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'hw/apic.c')
0 files changed, 0 insertions, 0 deletions