Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197659
b: refs/heads/master
c: ec68798
h: refs/heads/master
i:
  197657: 979042f
  197655: 2ffeb68
v: v3
  • Loading branch information
Wei Yongjun authored and Avi Kivity committed May 17, 2010
1 parent e414f5b commit 31b6012
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5c1c85d08da5c257b21b0423b96fa6554aa4cb6f
refs/heads/master: ec68798c8fd0f01cdbd3f3e1a970e76a644cf08e
5 changes: 0 additions & 5 deletions trunk/arch/x86/include/asm/kvm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -716,11 +716,6 @@ static inline void kvm_load_ldt(u16 sel)
asm("lldt %0" : : "rm"(sel));
}

static inline void kvm_get_idt(struct desc_ptr *table)
{
asm("sidt %0" : "=m"(*table));
}

#ifdef CONFIG_X86_64
static inline unsigned long read_msr(unsigned long msr)
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2452,7 +2452,7 @@ static int vmx_vcpu_setup(struct vcpu_vmx *vmx)

vmcs_write16(HOST_TR_SELECTOR, GDT_ENTRY_TSS*8); /* 22.2.4 */

kvm_get_idt(&dt);
native_store_idt(&dt);
vmcs_writel(HOST_IDTR_BASE, dt.address); /* 22.2.4 */

asm("mov $.Lkvm_vmx_return, %0" : "=r"(kvm_vmx_return));
Expand Down

0 comments on commit 31b6012

Please sign in to comment.