Skip to content
Snippets Groups Projects
Commit cdfca7b3 authored by Sasha Levin's avatar Sasha Levin Committed by Avi Kivity
Browse files

KVM: Use kmemdup() instead of kmalloc/memcpy


Switch to kmemdup() in two places to shorten the code and avoid possible bugs.

Signed-off-by: default avatarSasha Levin <levinsasha928@gmail.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 3f745f1e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment