qemu/target-i386
Peter Maydell cc7e0ddf5a kvm: Decouple 'irqfds usable' from 'kernel irqchip'
Instead of assuming that we can use irqfds if and only if
kvm_irqchip_in_kernel(), add a bool to the KVMState which
indicates this, and is set only on x86 and only if the
irqchip is in the kernel.

The kernel documentation implies that the only thing
you need to use KVM_IRQFD is that KVM_CAP_IRQFD is
advertised, but this seems to be untrue. In particular
the kernel does not (alas) return a sensible error if you
try to set up an irqfd when you haven't created an irqchip.
If it did we could remove all this nonsense and let the
kernel return the error code.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2012-08-09 16:16:56 +03:00
..
arch_dump.c Fix some more license versions (GPL2+ instead of GPL2) 2012-06-11 22:20:21 +02:00
arch_memory_mapping.c Fix some more license versions (GPL2+ instead of GPL2) 2012-06-11 22:20:21 +02:00
cc_helper_template.h x86: split condition code and shift templates 2012-06-28 20:28:08 +00:00
cc_helper.c x86: split off condition code helpers 2012-06-28 20:28:08 +00:00
cpu-qom.h target-i386: Defer MCE init 2012-05-12 14:17:52 +02:00
cpu.c target-i386: move cpu_reset and reset callback to cpu.c 2012-08-01 08:45:06 -05:00
cpu.h apic: Defer interrupt updates to VCPU thread 2012-07-10 11:31:09 +03:00
excp_helper.c x86: avoid an extern declaration 2012-06-28 20:28:08 +00:00
fpu_helper.c x86: split off FPU helpers 2012-06-28 20:28:08 +00:00
helper.c target-i386: move cpu halted decision into x86_cpu_reset 2012-08-01 08:45:06 -05:00
helper.h x86: avoid AREG0 for exceptions 2012-06-28 20:28:08 +00:00
hyperv.c hyper-v: introduce Hyper-V support infrastructure. 2012-01-19 08:32:12 -02:00
hyperv.h hyperv: fix build on non-KVM hosts 2012-01-23 20:04:51 +00:00
int_helper.c x86: split off integer helpers 2012-06-28 20:28:08 +00:00
ioport-user.c build: move obj-TARGET-y variables to nested Makefile.objs 2012-06-07 07:17:36 +02:00
kvm_i386.h kvm: Move kvm_allows_irq0_override() to target-i386, fix return type 2012-08-09 16:16:55 +03:00
kvm-stub.c kvm: Move kvm_allows_irq0_override() to target-i386, fix return type 2012-08-09 16:16:55 +03:00
kvm.c kvm: Decouple 'irqfds usable' from 'kernel irqchip' 2012-08-09 16:16:56 +03:00
machine.c target-i386: Don't overuse CPUState 2012-03-14 22:20:25 +01:00
Makefile.objs kvm: Move kvm_allows_irq0_override() to target-i386, fix return type 2012-08-09 16:16:55 +03:00
mem_helper.c x86: split off memory access helpers 2012-06-28 20:28:09 +00:00
misc_helper.c x86: split off misc helpers 2012-06-28 20:28:09 +00:00
ops_sse_header.h tcg: Optionally sign-extend 32-bit arguments for 64-bit hosts. 2010-06-16 11:29:11 +02:00
ops_sse.h x86: fix coding style in ops_sse.h 2012-06-28 20:28:08 +00:00
seg_helper.c x86: rename op_helper.c to seg_helper.c 2012-06-28 20:28:09 +00:00
shift_helper_template.h x86: split condition code and shift templates 2012-06-28 20:28:08 +00:00
smm_helper.c x86: split off SMM helpers 2012-06-28 20:28:09 +00:00
svm_helper.c x86: split off SVM helpers 2012-06-28 20:28:09 +00:00
svm.h Use new macro QEMU_PACKED for packed structures 2011-09-03 10:45:59 +00:00
TODO target-i386: fix {min,max}{pd,ps,sd,ss} SSE2 instructions 2012-01-11 09:55:28 +01:00
translate.c x86: Fixed incorrect segment base address addition in 64-bits mode 2012-07-29 08:45:57 +00:00