aboutsummaryrefslogtreecommitdiff
path: root/ia64-dis.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-07-25 13:41:40 +0100
committerPeter Maydell <peter.maydell@linaro.org>2012-07-25 13:41:40 +0100
commit21004dfb9b9033590c21409746d529d883a18a8d (patch)
tree1d509b005c2528825966ffc653259618da79d32a /ia64-dis.c
parentced680fca9dbf1047b288af11641d015d2a4cca7 (diff)
kvm: Don't assume irqchip-in-kernel implies irqfds
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>
Diffstat (limited to 'ia64-dis.c')
0 files changed, 0 insertions, 0 deletions