Skip to content

Commit c68c6e4

Browse files
ying2liuacrnsi
authored andcommitted
HV: remove unused function shutdown_vcpu
Change-Id: Ia6f9aa4d2d603d23bc0cb9c3b12032d1a96504db Tracked-On: #3123 Signed-off-by: yliu79 <ying2.liu@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
1 parent 83012a5 commit c68c6e4

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

hypervisor/arch/x86/guest/vcpu.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -529,13 +529,6 @@ int32_t run_vcpu(struct acrn_vcpu *vcpu)
529529
return status;
530530
}
531531

532-
int32_t shutdown_vcpu(__unused struct acrn_vcpu *vcpu)
533-
{
534-
/* TODO : Implement VCPU shutdown sequence */
535-
536-
return 0;
537-
}
538-
539532
/*
540533
* @pre vcpu != NULL
541534
*/

hypervisor/include/arch/x86/guest/vcpu.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,8 +617,6 @@ int32_t create_vcpu(uint16_t pcpu_id, struct acrn_vm *vm, struct acrn_vcpu **rtn
617617
*/
618618
int32_t run_vcpu(struct acrn_vcpu *vcpu);
619619

620-
int32_t shutdown_vcpu(struct acrn_vcpu *vcpu);
621-
622620
/**
623621
* @brief unmap the vcpu with pcpu and free its vlapic
624622
*

0 commit comments

Comments
 (0)