]> err.no Git - linux-2.6/commit
KVM: Change kvm_{read,write}_guest() to use copy_{from,to}_user()
authorIzik Eidus <izike@qumranet.com>
Sun, 11 Nov 2007 20:10:22 +0000 (22:10 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:02 +0000 (17:53 +0200)
commite0506bcba5992650b1190de9125f5963a30f32e2
tree5527a69e7f84afbe858adbc541ceb509b7c6254d
parent539cb6608ca804e7805d8e88c83377d991a552b1
KVM: Change kvm_{read,write}_guest() to use copy_{from,to}_user()

This changes kvm_write_guest_page/kvm_read_guest_page to use
copy_to_user/read_from_user, as a result we get better speed
and better dirty bit tracking.

Signed-off-by: Izik Eidus <izike@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c