File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -310,16 +310,14 @@ impl VCpu {
310310 vmcs. write_with_fixed (
311311 vmcs:: VmcsField :: VmExitControls ,
312312 ( vmcs:: VmExitCtrlFlags :: IA32E_MODE
313- | vmcs:: VmExitCtrlFlags :: LOAD_HOST_EFER
314- | vmcs:: VmExitCtrlFlags :: SAVE_GUEST_EFER
315313 | vmcs:: VmExitCtrlFlags :: ACK_INTR_ON_EXIT )
316314 . bits ( ) ,
317315 msr:: IA32_VMX_EXIT_CTLS ,
318316 ) ?;
319317
320318 vmcs. write_with_fixed (
321319 vmcs:: VmcsField :: VmEntryControls ,
322- vmcs :: VmEntryCtrlFlags :: LOAD_GUEST_EFER . bits ( ) ,
320+ 0 ,
323321 msr:: IA32_VMX_ENTRY_CTLS ,
324322 ) ?;
325323
@@ -506,14 +504,6 @@ impl VCpu {
506504 ) ?;
507505 self . skip_emulated_instruction ( ) ?;
508506 }
509- vmexit:: ExitInformation :: WrMsr => {
510- info ! (
511- "wrmsr: {:x}:{:x} to register 0x{:x}" ,
512- guest_cpu. rdx as u32 ,
513- guest_cpu. rax as u32 ,
514- guest_cpu. rcx as u32
515- ) ;
516- }
517507 vmexit:: ExitInformation :: InterruptWindow => { }
518508 vmexit:: ExitInformation :: ExternalInterrupt ( info) => unsafe {
519509 match info. vector {
You can’t perform that action at this time.
0 commit comments