commit | 12ce13fea925ab629f2281be2b9b01cf647a86cd | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | Tue Aug 21 11:00:49 2012 +0800 |
committer | Avi Kivity <avi@redhat.com> | Wed Aug 22 15:08:55 2012 +0300 |
tree | 5e67a57d09c890017524017acc22c78bf8cf0548 | |
parent | 2fc843117d64b31c20d36c6b625c0626c9a41a41 [diff] |
KVM: use 'writable' as a hint to map writable pfn In current code, we always map writable pfn for the read fault, in order to support readonly memslot, we map writable pfn only if 'writable' is not NULL Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>