Files
qemu-ios/target-i386
Eduardo Habkost d1138251bf target-i386: kvm: Increase MSR_BUF_SIZE
We are dangerously close to the array limits in kvm_put_msrs()
and kvm_get_msrs(): with the default mcg_cap configuration, we
can set up to 148 MSRs in kvm_put_msrs(), and if we allow mcg_cap
to be changed, we can write up to 236 MSRs.

Use 4096 bytes for the buffer, that can hold 255 kvm_msr_entry
structs.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2016-05-23 19:47:37 -03:00
..
2016-01-29 15:07:22 +00:00
2016-01-29 15:07:22 +00:00
2016-03-24 14:01:08 +01:00
2016-05-23 19:47:37 -03:00
2016-01-29 15:07:22 +00:00
…
…