KVM: remove kvm_read_hva and kvm_read_hva_atomic
authorPaolo Bonzini <[email protected]>
Thu, 2 Apr 2015 12:08:20 +0000 (14:08 +0200)
committerPaolo Bonzini <[email protected]>
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-Id: <1427976500[email protected]>
virt/kvm/kvm_main.c