KVM: propagate fault r/w information to gup(), allow read-only memory
authorMarcelo Tosatti <mtosatti@redhat.com>
Fri, 22 Oct 2010 16:18:18 +0000 (14:18 -0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:28:40 +0000 (11:28 +0200)
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 <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found