On 2018年01月02日 19:21, Quan Xu wrote:
yes,
the key point is what does 'a new L1 injectable interrupt' mean..
in your patch, __IIUC__ one of condition to exit guest mode:
1) max_irr_updated - 'vector of PIR' > 'vectors of previous IRR'
as the SDM algorithm said, even if:
'vector of PIR' < 'vectors of previos IRR'
If we has synced PIR to L1's APIC IRR, the 'vector of PIR' _may_ be
delivered to VM..
If we has synced PIR to L1's APIC IRR, the 'vector of PIR' _may_ be
delivered to VM before next VMExit..
it is a new injectable interrupt as well..
Quan
Alibaba Cloud