mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-21 21:19:35 +00:00
acrn/vhm: change the default notification vector to 0xF3
Currently the SOS kernel will call hcall_set_callback_vector to config the expected up-notification vector(0xF3) and then hypervisor uses the passed vector to raise the interrupt to SOS when needed. As sos kernel already switches to 0xF3 notification vector, the default notification vector can be changed from 0xF7 to 0xF3. In such case it still can work well even when the SOS kernel doesn't reconfigure the notification vector. Tracked-On: projectacrn/acrn-hypervisor#2355 Acked-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
This commit is contained in:
parent
f45605dd49
commit
e4a3a63496
@ -1118,7 +1118,7 @@ int32_t hcall_vm_intr_monitor(struct acrn_vm *vm, uint16_t vmid, uint64_t param)
|
||||
* @brief set upcall notifier vector
|
||||
*
|
||||
* This is the API that helps to switch the notifer vecotr. If this API is
|
||||
* not called, the hypervisor will use the default notifier vector(0xF7)
|
||||
* not called, the hypervisor will use the default notifier vector(0xF3)
|
||||
* to notify the SOS kernel.
|
||||
*
|
||||
* @param vm Pointer to VM data structure
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#define ACRN_DBG_IOREQUEST 6U
|
||||
|
||||
static uint32_t acrn_vhm_vector = VECTOR_VIRT_IRQ_VHM;
|
||||
static uint32_t acrn_vhm_vector = VECTOR_HYPERVISOR_CALLBACK_VHM;
|
||||
|
||||
static void fire_vhm_interrupt(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user