mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 09:47:44 +00:00
hv: make hypercall HC_CREATE_VCPU empty
Now, we create vcpus while VM being created in hypervisor. The create vcpu hypercall will not be used any more. For compatbility, keep the hypercall HC_CREATE_VCPU do nothing. v4: Don't remove HC_CREATE_VCPU hypercall, let it do nothing. Tracked-On: #3663 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
0ea12a45d4
commit
f4ce9cc4a2
@@ -134,23 +134,6 @@ int32_t hcall_start_vm(uint16_t vmid);
|
||||
*/
|
||||
int32_t hcall_pause_vm(uint16_t vmid);
|
||||
|
||||
/**
|
||||
* @brief create vcpu
|
||||
*
|
||||
* Create a vcpu based on parameter for a VM, it will allocate vcpu from
|
||||
* freed physical cpus, if there is no available pcpu, the function will
|
||||
* return -1.
|
||||
*
|
||||
* @param vm Pointer to VM data structure
|
||||
* @param vmid ID of the VM
|
||||
* @param param guest physical address. This gpa points to
|
||||
* struct acrn_create_vcpu
|
||||
*
|
||||
* @pre Pointer vm shall point to SOS_VM
|
||||
* @return 0 on success, non-zero on error.
|
||||
*/
|
||||
int32_t hcall_create_vcpu(struct acrn_vm *vm, uint16_t vmid, uint64_t param);
|
||||
|
||||
/**
|
||||
* @brief set vcpu regs
|
||||
*
|
||||
|
Reference in New Issue
Block a user