commit | 6b75e6bfef7ba108ac3df0d430d80dea68fde4bf | [log] [tgz] |
---|---|---|
author | Sasha Levin <levinsasha928@gmail.com> | Wed Dec 07 10:24:56 2011 +0200 |
committer | Avi Kivity <avi@redhat.com> | Mon Mar 05 14:52:40 2012 +0200 |
tree | 6b42f3eddc94650a55ccf8a6d57e0f2e9597a919 | |
parent | d37b1a037cae725e69e5bf96f58544b69d7c93a6 [diff] |
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: Sasha Levin <levinsasha928@gmail.com> Acked-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>