KVM: use __copy_to_user/__clear_user to write guest page
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Sun, 15 May 2011 15:22:04 +0000 (23:22 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 08:45:03 +0000 (11:45 +0300)
Simply use __copy_to_user/__clear_user to write guest page since we have
already verified the user address when the memslot is set

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found