commit | cdfca7b346e6dbab1ba33260c28ccb8333485a5b | [log] [tgz] |
---|---|---|
author | Sasha Levin <levinsasha928@gmail.com> | Sun Dec 04 19:36:28 2011 +0200 |
committer | Avi Kivity <avi@redhat.com> | Tue Dec 27 11:22:20 2011 +0200 |
tree | 423d4487ee5604a69943e8daade01fbec1879ef6 | |
parent | 3f745f1e224e05e845a15760a55f3fd323f7a753 [diff] |
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 <levinsasha928@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>