+2
−1
+6
−1
+1
−0
+13
−0
Loading
On x86 userspace delivers interrupts to the kernel asynchronously (and therefore VCPU idle management is done in the kernel) if and only if there is an in-kernel irqchip. On other architectures this isn't necessarily true (they may always send interrupts asynchronously), so define a new kvm_async_interrupts_enabled() function instead of misusing kvm_irqchip_in_kernel(). Signed-off-by:Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
Avi Kivity <avi@redhat.com>