vcpu: replace start_vcpu with run_vcpu
run_vcpu should be a more suitable name Tracked-On: #1199 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
parent
2978c01f45
commit
457ac7408d
|
@ -273,7 +273,7 @@ static void set_vcpu_mode(struct vcpu *vcpu, uint32_t cs_attr)
|
|||
}
|
||||
}
|
||||
|
||||
int start_vcpu(struct vcpu *vcpu)
|
||||
int run_vcpu(struct vcpu *vcpu)
|
||||
{
|
||||
uint32_t instlen;
|
||||
uint64_t rip;
|
||||
|
|
|
@ -74,7 +74,7 @@ void vcpu_thread(struct vcpu *vcpu)
|
|||
vcpu->msr_tsc_aux_guest);
|
||||
}
|
||||
|
||||
ret = start_vcpu(vcpu);
|
||||
ret = run_vcpu(vcpu);
|
||||
if (ret != 0) {
|
||||
pr_fatal("vcpu resume failed");
|
||||
pause_vcpu(vcpu, VCPU_ZOMBIE);
|
||||
|
|
|
@ -283,7 +283,7 @@ void vcpu_set_pat_ext(struct vcpu *vcpu, uint64_t val);
|
|||
|
||||
struct vcpu* get_ever_run_vcpu(uint16_t pcpu_id);
|
||||
int create_vcpu(uint16_t pcpu_id, struct vm *vm, struct vcpu **rtn_vcpu_handle);
|
||||
int start_vcpu(struct vcpu *vcpu);
|
||||
int run_vcpu(struct vcpu *vcpu);
|
||||
int shutdown_vcpu(struct vcpu *vcpu);
|
||||
void destroy_vcpu(struct vcpu *vcpu);
|
||||
|
||||
|
|
Loading…
Reference in New Issue