Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172279
b: refs/heads/master
c: e8b3433
h: refs/heads/master
i:
  172277: 3269800
  172275: 03c6bb2
  172271: 8cfcc8e
v: v3
  • Loading branch information
Marcelo Tosatti authored and Avi Kivity committed Dec 3, 2009
1 parent faf40d7 commit 83e4124
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: 80ced186d1761d2a66163d9eeb468ddb1f7e0697
refs/heads/master: e8b3433a5c062e94e34cadb6144c10689a497bc3
3 changes: 0 additions & 3 deletions trunk/arch/x86/kvm/svm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1396,10 +1396,7 @@ static void *nested_svm_map(struct vcpu_svm *svm, u64 gpa, enum km_type idx)
{
struct page *page;

down_read(&current->mm->mmap_sem);
page = gfn_to_page(svm->vcpu.kvm, gpa >> PAGE_SHIFT);
up_read(&current->mm->mmap_sem);

if (is_error_page(page))
goto error;

Expand Down

0 comments on commit 83e4124

Please sign in to comment.