From: Sasha Levin Date: Sun, 4 Dec 2011 17:36:28 +0000 (+0200) Subject: KVM: Use kmemdup() instead of kmalloc/memcpy X-Git-Tag: v3.3-rc1~131^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdfca7b346e6dbab1ba33260c28ccb8333485a5b;p=pandora-kernel.git KVM: Use kmemdup() instead of kmalloc/memcpy Switch to kmemdup() in two places to shorten the code and avoid possible bugs. Signed-off-by: Sasha Levin Signed-off-by: Avi Kivity --- Reading git-diff-tree failed