Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 372951
b: refs/heads/master
c: 36c3cc4
h: refs/heads/master
i:
  372949: 7f1ca40
  372947: 408349b
  372943: 06f0f4f
v: v3
  • Loading branch information
Jan Kiszka authored and Gleb Natapov committed Feb 27, 2013
1 parent feeb214 commit 88f87ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d6851fbeee3f79ac2629f823e15ac2a7f6f54e0e
refs/heads/master: 36c3cc422b7c5d3cd84cbac769758b197e08f221
4 changes: 4 additions & 0 deletions trunk/arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -7271,6 +7271,8 @@ static int nested_vmx_run(struct kvm_vcpu *vcpu, bool launch)
vcpu->cpu = cpu;
put_cpu();

vmx_segment_cache_clear(vmx);

vmcs12->launch_state = 1;

prepare_vmcs02(vcpu, vmcs12);
Expand Down Expand Up @@ -7517,6 +7519,8 @@ static void nested_vmx_vmexit(struct kvm_vcpu *vcpu)
vcpu->cpu = cpu;
put_cpu();

vmx_segment_cache_clear(vmx);

/* if no vmcs02 cache requested, remove the one we used */
if (VMCS02_POOL_SIZE == 0)
nested_free_vmcs02(vmx, vmx->nested.current_vmptr);
Expand Down

0 comments on commit 88f87ad

Please sign in to comment.