mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +00:00
KVM: MMU: Instantiate real-mode shadows as user writable shadows
This is consistent with real-mode permissions. Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
parent
cc70e7374d
commit
6bfccdc9ae
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue