While putting together the workaround announced in
http://lists.xen.org/archives/html/xen-devel/2012-06/msg00709.html, I
found that mod_l1_entry(), upon encountering a set bit in
mmio_ro_ranges, would return 1 instead of 0 (the removal of the write
permission is supposed to be entirely transparent to the caller, even
more so to the calling guest).
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen-unstable changeset: 25487:
baa85434d0ec
xen-unstable date: Thu Jun 21 11:30:59 2012 +0200
return 0;
case -1:
l1e_remove_flags(nl1e, _PAGE_RW);
+ rc = 0;
break;
}