projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc70e73
)
KVM: MMU: Instantiate real-mode shadows as user writable shadows
author
Avi Kivity
<avi@qumranet.com>
Thu, 11 Oct 2007 13:13:49 +0000
(15:13 +0200)
committer
Avi Kivity
<avi@qumranet.com>
Wed, 30 Jan 2008 15:52:52 +0000
(17:52 +0200)
This is consistent with real-mode permissions.
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/mmu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/kvm/mmu.c
b/drivers/kvm/mmu.c
index e6616a6c9cefbdabaf1ebeddc6fd44a607d60e33..f52604a7f9e8cd135a964d035cf4c0abda811d21 100644
(file)
--- a/
drivers/kvm/mmu.c
+++ b/
drivers/kvm/mmu.c
@@
-902,7
+902,7
@@
static int nonpaging_map(struct kvm_vcpu *vcpu, gva_t v, hpa_t p)
>> PAGE_SHIFT;
new_table = kvm_mmu_get_page(vcpu, pseudo_gfn,
v, level - 1,
- 1,
0
, &table[index]);
+ 1,
3
, &table[index]);
if (!new_table) {
pgprintk("nonpaging_map: ENOMEM\n");
return -ENOMEM;