libsel4vm: remove unused function is_active()#71
Conversation
This isn't the case. That commit removed |
|
Good catch, my bad. But for |
Yea, if we thought it was worth removing set_active then it should apply the same way for is_active. We don't do proper active handling anyway. This is because the kernel doesn't provide the information. To implement the active registers, you would need to look inside the current list registers for the CPU interface to see which interrupts have been moved from pending to active or activepending by the guest, but I don't believe that the kernel provides a way for the vmm to read the values of the list registers, only sending a maintenance interrupt when the interrupt is deactivated. For completeness we should handle this, but in practice it's not needed unless we want to allow the guest to be able to suspend and resume itself. |
0eaa0c4 to
dac6adb
Compare
Signed-off-by: Axel Heider <axel.heider@hensoldt.net>
This was removed in c3d5686 already, but the refactoring in 6c0c5d2 brought it back accidentally.