mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
hv: vlapic: code clean-up
* rename `vlapic_set_intr_ready` to `vlapic_accept_intr` * replace calling of `vlapic_intr_edge` with `vlapic_set_intr` * remove `vlapic_intr_level` and `vlapic_intr_edge` Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -22,7 +22,7 @@ static void fire_vhm_interrupt(void)
|
||||
|
||||
vcpu = vcpu_from_vid(vm0, 0U);
|
||||
|
||||
vlapic_intr_edge(vcpu, acrn_vhm_vector);
|
||||
vlapic_set_intr(vcpu, acrn_vhm_vector, LAPIC_TRIG_EDGE);
|
||||
}
|
||||
|
||||
#if defined(HV_DEBUG)
|
||||
|
Reference in New Issue
Block a user