question regarding acrn-hypervisor vioapic implementation


Abdul
 

Hi folks, 
 
I have come across a guest behavior wherein guest updates the ioapic tables while the interrupt is unmasked. 
 
A condition in hypervisor at the following location:
https://github.com/projectacrn/acrn-hypervisor/blob/4ec690fde3c336dfad5977ff9c13fe786013ade0/hypervisor/arch/x86/guest/vioapic.c#L396
is preventing the physical ioapic tables from being updated. 
 
The hypervisor is assuming at the above mentioned location that physical ioapic table entries would only be updated if interrupt masking state is changed. Can someone point me to from where does this assumption originates?
 
Thanks, 
Abdul

Join acrn-users@lists.projectacrn.org to automatically receive all group messages.