mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-15 22:09:06 +00:00
hv: add hypercall to set vcpu init state
DM will use this hypercall to initialize the UOS BSP state. Tracked-On: #1231 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -78,6 +78,11 @@ int vmcall_vmexit_handler(struct vcpu *vcpu)
|
||||
ret = hcall_create_vcpu(vm, (uint16_t)param1, param2);
|
||||
break;
|
||||
|
||||
case HC_SET_VCPU_REGS:
|
||||
/* param1: vmid */
|
||||
ret = hcall_set_vcpu_regs(vm, (uint16_t)param1, param2);
|
||||
break;
|
||||
|
||||
case HC_ASSERT_IRQLINE:
|
||||
/* param1: vmid */
|
||||
ret = hcall_assert_irqline(vm, (uint16_t)param1, param2);
|
||||
|
Reference in New Issue
Block a user