Re: [ANNOUNCE] kvm-43 release

Avi Kivity
2007-09-22T06:36:48Z

Gerd Hoffmann wrote:
> Avi Kivity wrote:
>
>> Only one fix, but an important one. It fixes booting of newer Linux
>> versions, which experienced disk and keyboard problems without
>> -no-kvm-irqchip.
>>
>> As usual, if you have an issue please try with -no-kvm-irqchip and report.
>>
>
> Updated from -41. Now my libkvm-using-tool's
> kvm_callbacks->try_push_interrupts() callback isn't called any more.
> Hmm. Guess due to the lapic/irqchip changes. Are there any additional
> initializations I have to do now?
>
> As there isn't any real pic-like hardware emulated maybe using
> try_to_push_interrupts is a bad idea anyway and I should better move the
> code (checks state and calls kvm_inject_irq() if needed) to the
> pre_kvm_run() callback?
>
> hints anyone?
>

You can call kvm_disable_irqchip_creation() to kill in-kernel pic and
friends.

(the logic is inverted -- the function should be
kvm_enable_irqchip_creation() so that this problem would not occur)

--
Any sufficiently difficult bug is indistinguishable from a feature.