commit | 612819c3c6e67bac8fceaa7cc402f13b1b63f7e4 | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Fri Oct 22 14:18:18 2010 -0200 |
committer | Avi Kivity <avi@redhat.com> | Wed Jan 12 11:28:40 2011 +0200 |
tree | 3739b8420660fc4de8d37d26004d9992e92acbe3 | |
parent | 7905d9a5ad7a83f1c1c00559839857ab90afbdfc [diff] |
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 <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>