From: Marcelo Tosatti Date: Fri, 22 Oct 2010 16:18:18 +0000 (-0200) Subject: KVM: propagate fault r/w information to gup(), allow read-only memory X-Git-Tag: v2.6.38-rc1~244^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=612819c3c6e67bac8fceaa7cc402f13b1b63f7e4;p=pandora-kernel.git KVM: propagate fault r/w information to gup(), allow read-only memory As suggested by Andrea, pass r/w error code to gup(), upgrading read fault to writable if host pte allows it. Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- Reading git-diff-tree failed