Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179962
b: refs/heads/master
c: 443c39b
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Marcelo Tosatti committed Jan 25, 2010
1 parent 9a0a92d commit c253523
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 36cb93fd6b6bf7e9163a69a8bf20207aed5fea44
refs/heads/master: 443c39bc9ef7d8f648408d74c97e943f3bb3f48a
5 changes: 3 additions & 2 deletions trunk/arch/x86/kvm/x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -5072,12 +5072,13 @@ int kvm_arch_vcpu_init(struct kvm_vcpu *vcpu)
GFP_KERNEL);
if (!vcpu->arch.mce_banks) {
r = -ENOMEM;
goto fail_mmu_destroy;
goto fail_free_lapic;
}
vcpu->arch.mcg_cap = KVM_MAX_MCE_BANKS;

return 0;

fail_free_lapic:
kvm_free_lapic(vcpu);
fail_mmu_destroy:
kvm_mmu_destroy(vcpu);
fail_free_pio_data:
Expand Down

0 comments on commit c253523

Please sign in to comment.