KVM: remove kvm_read_hva and kvm_read_hva_atomic
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 2 Apr 2015 12:08:20 +0000 (14:08 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Apr 2015 08:46:54 +0000 (10:46 +0200)
commit3180a7fcbc0ec7ed7cc85ed5015bdd7a8c2176e8
tree8e5b1a5a2920c1c0c2517003626eeee31ea8f077
parent9c8fd1ba2201c072bd3cf6940e2ca4d0a7aed723
KVM: remove kvm_read_hva and kvm_read_hva_atomic

The corresponding write functions just use __copy_to_user.  Do the
same on the read side.

This reverts what's left of commit 86ab8cffb498 (KVM: introduce
gfn_to_hva_read/kvm_read_hva/kvm_read_hva_atomic, 2012-08-21)

Cc: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1427976500-28533-1-git-send-email-pbonzini@redhat.com>
virt/kvm/kvm_main.c