mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-19 12:12:16 +00:00
hv: fix release build issue
The old doc update commit changed the code by accident and broke release version build. This patch fix the release build issue. Tracked-On: #1595 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
a8a1e22981
commit
0fc47b5a7c
@ -981,18 +981,6 @@ int32_t hcall_setup_sbuf(struct acrn_vm *vm, uint64_t param)
|
|||||||
|
|
||||||
return sbuf_share_setup(ssp.pcpu_id, ssp.sbuf_id, hva);
|
return sbuf_share_setup(ssp.pcpu_id, ssp.sbuf_id, hva);
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
/**
|
|
||||||
* @brief Setup a share buffer for a VM.
|
|
||||||
*
|
|
||||||
* @param vm Pointer to VM data structure
|
|
||||||
* @param param guest physical address. This gpa points to
|
|
||||||
* struct sbuf_setup_param
|
|
||||||
*
|
|
||||||
* @pre Pointer vm shall point to VM0
|
|
||||||
* @return 0 on success, non-zero on error.
|
|
||||||
*/
|
|
||||||
int32_t hcall_setup_sbuf(__unused struct acrn_vm *vm, __unused uint64_t param)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HV_DEBUG
|
#ifdef HV_DEBUG
|
||||||
@ -1026,21 +1014,6 @@ int32_t hcall_setup_hv_npk_log(struct acrn_vm *vm, uint64_t param)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
/**
|
|
||||||
* @brief Setup the hypervisor NPK log.
|
|
||||||
*
|
|
||||||
* @param vm Pointer to VM data structure
|
|
||||||
* @param param guest physical address. This gpa points to
|
|
||||||
* struct hv_npk_log_param
|
|
||||||
*
|
|
||||||
* @pre Pointer vm shall point to VM0
|
|
||||||
* @return 0 on success, non-zero on error.
|
|
||||||
*/
|
|
||||||
int32_t hcall_setup_hv_npk_log(__unused struct acrn_vm *vm, __unused uint64_t param)
|
|
||||||
{
|
|
||||||
return -ENODEV;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -318,6 +318,7 @@ int32_t hcall_set_ptdev_intr_info(struct acrn_vm *vm, uint16_t vmid, uint64_t pa
|
|||||||
int32_t hcall_reset_ptdev_intr_info(struct acrn_vm *vm, uint16_t vmid,
|
int32_t hcall_reset_ptdev_intr_info(struct acrn_vm *vm, uint16_t vmid,
|
||||||
uint64_t param);
|
uint64_t param);
|
||||||
|
|
||||||
|
#ifdef HV_DEBUG
|
||||||
/**
|
/**
|
||||||
* @brief Setup a share buffer for a VM.
|
* @brief Setup a share buffer for a VM.
|
||||||
*
|
*
|
||||||
@ -341,6 +342,7 @@ int32_t hcall_setup_sbuf(struct acrn_vm *vm, uint64_t param);
|
|||||||
* @return 0 on success, non-zero on error.
|
* @return 0 on success, non-zero on error.
|
||||||
*/
|
*/
|
||||||
int32_t hcall_setup_hv_npk_log(struct acrn_vm *vm, uint64_t param);
|
int32_t hcall_setup_hv_npk_log(struct acrn_vm *vm, uint64_t param);
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Execute profiling operation
|
* @brief Execute profiling operation
|
||||||
|
Loading…
Reference in New Issue
Block a user