Page 1 of 1

KVM API and IRQChip

Posted: Fri Oct 07, 2022 7:35 am
by xmm15
I'm not sure this is the right forum for this info. If not, please let me know of a better place to post this.

I'm currently exploring a new level for my OS development: I'm building my own hypervisor, based on KVM, to run my OS on.
So my question is related to the KVM API.

Since I started enabling the in-kernel IRQ chip (KVM_CREATE_IRQCHIP), my vmm stopped receiving KVM_EXIT_HLT. I think this might be because the KVM IRQ chip takes care of it now and will wake up the VM when an IRQ is triggered by the vmm. That would make sense. But I can't find any documentation that confirms this. Can someone direct me to a place where I could get such confirmation please?

Re: KVM API and IRQChip

Posted: Fri Oct 07, 2022 11:18 am
by Octocontrabass

Re: KVM API and IRQChip

Posted: Fri Oct 07, 2022 4:45 pm
by xmm15
Spot on!

Thank you.