+15
−6
Loading
Fix _do_shadow_pte() to use the correct pointer (guest pte instead of nested guest) to set up the new pte. Add a check to return -EOPNOTSUPP if the mapping for the nested guest is writeable but the same page in the guest is only read-only. Fixes: e38c884d ("KVM: s390: Switch to new gmap") Signed-off-by:Claudio Imbrenda <imbrenda@linux.ibm.com>