Skip to content

Commit

Permalink
OS-7090 GDT limit reset to 0xffff
Browse files Browse the repository at this point in the history
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
  • Loading branch information
John Levon committed Jul 30, 2018
1 parent 6d6a2a6 commit 657e3ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kvm_vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,8 @@ __vmx_load_host_state(struct vcpu_vmx *vmx)
rdmsrl(MSR_KERNEL_GS_BASE, vmx->msr_guest_kernel_gs_base);
wrmsrl(MSR_KERNEL_GS_BASE, vmx->msr_host_kernel_gs_base);
}

reset_gdtr_limit();
}

static void
Expand Down

0 comments on commit 657e3ab

Please sign in to comment.