mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 09:17:58 +00:00
hv: add new hypercall to fetch platform configurations
add new hypercall get platform information, such as physical CPU number. Tracked-On: #2538 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
Eddie Dong
parent
e216f3060c
commit
46480f6e23
@@ -40,6 +40,10 @@ static int32_t dispatch_hypercall(struct acrn_vcpu *vcpu)
|
||||
ret = hcall_get_api_version(vm, param1);
|
||||
break;
|
||||
|
||||
case HC_GET_PLATFORM_INFO:
|
||||
ret = hcall_get_platform_info(vm, param1);
|
||||
break;
|
||||
|
||||
case HC_SET_CALLBACK_VECTOR:
|
||||
ret = hcall_set_callback_vector(vm, param1);
|
||||
|
||||
|
Reference in New Issue
Block a user