File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -258,15 +258,6 @@ void reset_vcpu(struct vcpu *vcpu)
258
258
vlapic_init (vlapic );
259
259
}
260
260
261
- void init_vcpu (struct vcpu * vcpu )
262
- {
263
- if (is_vcpu_bsp (vcpu ))
264
- vcpu -> arch_vcpu .cpu_mode = CPU_MODE_64BIT ;
265
- else
266
- vcpu -> arch_vcpu .cpu_mode = CPU_MODE_REAL ;
267
- /* init_vmcs is delayed to vcpu vmcs launch first time */
268
- }
269
-
270
261
void pause_vcpu (struct vcpu * vcpu , enum vcpu_state new_state )
271
262
{
272
263
int pcpu_id = get_cpu_id ();
Original file line number Diff line number Diff line change @@ -282,7 +282,6 @@ int shutdown_vcpu(struct vcpu *vcpu);
282
282
int destroy_vcpu (struct vcpu * vcpu );
283
283
284
284
void reset_vcpu (struct vcpu * vcpu );
285
- void init_vcpu (struct vcpu * vcpu );
286
285
void pause_vcpu (struct vcpu * vcpu , enum vcpu_state new_state );
287
286
void resume_vcpu (struct vcpu * vcpu );
288
287
void schedule_vcpu (struct vcpu * vcpu );
You can’t perform that action at this time.
0 commit comments