[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/msr: Drop {pv, hvm}_max_vcpu_msrs objects


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Mon, 24 Feb 2020 15:32:29 +0100
  • Authentication-results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=roger.pau@xxxxxxxxxx; spf=Pass smtp.mailfrom=roger.pau@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>
  • Delivery-date: Mon, 24 Feb 2020 14:32:56 +0000
  • Ironport-sdr: sLjb/wBjaDYrrQSzZPxkvpbVt9j71eazgbkb12oNKPXdVEc4TbCsvJSDo29s7L9Rin3Sod4Q2j HZcK1YRH1wefCUSmCfvDF/UqpQL4iUaLPPT1WUHAyiY7QIYhIQ8bhAM95tbwJCSv2KFMv1qe/Q BIwSrb26N+Bb5q6oR9s11oOUVPE4gCaN8wFjBrOME8h9WaFyhZyERqtIYAZF2Sp9d+qRy/6F43 m2x2SF6X+JuXHz9kW3v0TU2xPg6e5QA73Tar6tKXtwwkM+Hg95zd6gk+HQi13Iax/NNtaTZZ5j BE8=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Mon, Feb 24, 2020 at 02:22:31PM +0000, Andrew Cooper wrote:
> It turns out that these are unused, and we dup a type-dependent block of
> zeros.  Use xzalloc() instead.
> 
> Read/write MSRs are typically 0 to being with, 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@xxxxxxxxxx>

Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Thanks, Roger.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.