Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48040
b: refs/heads/master
c: 1e8ba6f
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Feb 12, 2007
1 parent 2097658 commit 01180ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 8cd133073f9b5cd335c0b2e4740aceb025d50ca9
refs/heads/master: 1e8ba6fba5050ec11bba90c8622aa2ed95ff711f
4 changes: 3 additions & 1 deletion trunk/drivers/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,9 @@ static void kvm_free_physmem(struct kvm *kvm)

static void kvm_free_vcpu(struct kvm_vcpu *vcpu)
{
vcpu_load(vcpu->kvm, vcpu_slot(vcpu));
if (!vcpu_load(vcpu->kvm, vcpu_slot(vcpu)))
return;

kvm_mmu_destroy(vcpu);
vcpu_put(vcpu);
kvm_arch_ops->vcpu_free(vcpu);
Expand Down

0 comments on commit 01180ba

Please sign in to comment.