Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment