Radim Krčmář 0ca52e7b81 KVM: x86: dynamic kvm_apic_map
x2APIC supports up to 2^32-1 LAPICs, but most guest in coming years will
probably has fewer VCPUs.  Dynamic size saves memory at the cost of
turning one constant into a variable.

apic_map mutex had to be moved before allocation to avoid races with cpu
hotplug.

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-07-14 09:03:53 +02:00
..
2016-03-22 16:38:17 +01:00
2015-12-16 18:49:45 +01:00
2016-06-16 00:05:00 +02:00
2016-07-14 09:03:53 +02:00
2016-07-14 09:03:53 +02:00
2016-01-15 17:56:32 -08:00
2016-07-14 09:02:47 +02:00
2016-05-18 18:04:32 +02:00
2016-06-14 11:16:28 +02:00
2016-07-01 11:03:38 +02:00