Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297165
b: refs/heads/master
c: 9ee7397
h: refs/heads/master
i:
  297163: aba81af
v: v3
  • Loading branch information
Avi Kivity committed Mar 8, 2012
1 parent aa11fd5 commit 79b0b73
Show file tree
Hide file tree
Showing 2 changed files with 4 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: bec87d6e34de459a559fc326aa4e56bee4ba7423
refs/heads/master: 9ee73970c03edb68146ceb1ba2a7033c99a5e017
3 changes: 3 additions & 0 deletions trunk/arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2210,6 +2210,9 @@ static int vmx_set_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data)
msr = find_msr_entry(vmx, msr_index);
if (msr) {
msr->data = data;
if (msr - vmx->guest_msrs < vmx->save_nmsrs)
kvm_set_shared_msr(msr->index, msr->data,
msr->mask);
break;
}
ret = kvm_set_msr_common(vcpu, msr_index, data);
Expand Down

0 comments on commit 79b0b73

Please sign in to comment.