mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 09:47:44 +00:00
HV: Use NMI to replace INIT signal for lapic-pt VMs S5
We have implemented a new notification method using NMI. So replace the INIT notification method with the NMI one. Then we can remove INIT notification related code later. Tracked-On: #3886 Signed-off-by: Kaige Fu <kaige.fu@intel.com>
This commit is contained in:
@@ -202,8 +202,8 @@ void sleep_thread(struct thread_object *obj)
|
||||
scheduler->sleep(obj);
|
||||
}
|
||||
if (is_running(obj)) {
|
||||
if (obj->notify_mode == SCHED_NOTIFY_INIT) {
|
||||
make_reschedule_request(pcpu_id, DEL_MODE_INIT);
|
||||
if (obj->notify_mode == SCHED_NOTIFY_NMI) {
|
||||
make_reschedule_request(pcpu_id, DEL_MODE_NMI);
|
||||
} else {
|
||||
make_reschedule_request(pcpu_id, DEL_MODE_IPI);
|
||||
}
|
||||
|
Reference in New Issue
Block a user