Skip to content
Commit 6b75e6bf authored by Sasha Levin's avatar Sasha Levin Committed by Avi Kivity
Browse files

KVM: PPC: Use the vcpu kmem_cache when allocating new VCPUs



Currently the code kzalloc()s new VCPUs instead of using the kmem_cache
which is created when KVM is initialized.

Modify it to allocate VCPUs from that kmem_cache.

Signed-off-by: default avatarSasha Levin <levinsasha928@gmail.com>
Acked-by: default avatarPaul Mackerras <paulus@samba.org>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent d37b1a03
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment