commit | 86ab8cffb498077e926957f099b064db3751c1de | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | Tue Aug 21 10:59:53 2012 +0800 |
committer | Avi Kivity <avi@redhat.com> | Wed Aug 22 15:08:53 2012 +0300 |
tree | 95209c3c8c31eeb52774994d545a035efd444eb0 | |
parent | 037d92dc5d4691ae7cf44699c55ca83b1b441992 [diff] |
KVM: introduce gfn_to_hva_read/kvm_read_hva/kvm_read_hva_atomic This set of functions is only used to read data from host space, in the later patch, we will only get a readonly hva in gfn_to_hva_read, and the function name is a good hint to let gfn_to_hva_read to pair with kvm_read_hva()/kvm_read_hva_atomic() Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>