KVM: Simplify kvm_clear_guest_page()
authorIzik Eidus <izike@qumranet.com>
Mon, 19 Nov 2007 09:16:57 +0000 (11:16 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:06 +0000 (17:53 +0200)
commit3e021bf5053bc45448e43cf1d7d020ddf1409714
tree77068aa73bcb6db4af655fce0a48b9c375c2d758
parentec8d4eaefc06636eb8fc83610c6605168796b4f7
KVM: Simplify kvm_clear_guest_page()

Use kvm_write_guest_page() with empty_zero_page, instead of doing
kmap and memset.

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