diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2015-12-16 17:06:42 -0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2016-05-23 19:47:37 -0300 |
commit | d71b62a165b6af463f376bd398cfc1aec4e2f213 (patch) | |
tree | df812ef1df50f2340f2df90094ceebcfbfe8a174 /hmp-commands-info.hx | |
parent | 42ecabaae16c0054dde6d8b0fdf90a8c7cce270d (diff) |
target-i386: kvm: Allocate kvm_msrs struct once per VCPU
Instead of using 2400 bytes in the stack for 150 MSR entries in
kvm_get_msrs() and kvm_put_msrs(), allocate a buffer once for
each VCPU.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hmp-commands-info.hx')
0 files changed, 0 insertions, 0 deletions