Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186003
b: refs/heads/master
c: 4610c83
h: refs/heads/master
i:
  186001: c950492
  185999: a0b98ca
v: v3
  • Loading branch information
Avi Kivity authored and Marcelo Tosatti committed Mar 1, 2010
1 parent 31ec65c commit 5171bf3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: d225157bc6a442b1214882635fbf287d7d0e8133
refs/heads/master: 4610c83cdc8bff04f2f22883749f716b1ccc502f
8 changes: 0 additions & 8 deletions trunk/arch/x86/kvm/svm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2588,8 +2588,6 @@ static void svm_flush_tlb(struct kvm_vcpu *vcpu)

static void svm_prepare_guest_switch(struct kvm_vcpu *vcpu)
{
if (npt_enabled)
vcpu->fpu_active = 1;
}

static inline void sync_cr8_to_lapic(struct kvm_vcpu *vcpu)
Expand Down Expand Up @@ -2928,12 +2926,6 @@ static void svm_fpu_deactivate(struct kvm_vcpu *vcpu)
{
struct vcpu_svm *svm = to_svm(vcpu);

if (npt_enabled) {
/* hack: npt requires active fpu at this time */
vcpu->fpu_active = 1;
return;
}

update_cr0_intercept(svm);
svm->vmcb->control.intercept_exceptions |= 1 << NM_VECTOR;
}
Expand Down

0 comments on commit 5171bf3

Please sign in to comment.