x86/msr: Drop {pv,hvm}_max_vcpu_msrs objects
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 24 Feb 2020 13:52:24 +0000 (13:52 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 24 Feb 2020 15:50:56 +0000 (15:50 +0000)
commit310c32faab7024d121047d36bc5a32a6764df089
treef51d6bbbb709250dce8ab2e1273191c99a136769
parent4cdd4fa29fc24d2d898ac01988b2b10936556d72
x86/msr: Drop {pv,hvm}_max_vcpu_msrs objects

It turns out that these are unused, and we dup a type-dependent block of
zeros.  Use xzalloc() instead.

Read/write MSRs typically default 0, and non-zero defaults would need dealing
with at suitable INIT/RESET points (e.g. arch_vcpu_regs_init).

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/msr.c