qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] spapr: Move spapr_create_nvdimm_dr_connectors() to core mach


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] spapr: Move spapr_create_nvdimm_dr_connectors() to core machine code
Date: Mon, 12 Oct 2020 12:23:49 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1

On 10/12/20 12:15 PM, Greg Kurz wrote:
The spapr_create_nvdimm_dr_connectors() function doesn't need to access
any internal details of the sPAPR NVDIMM implementation. Also, pretty
much like for the LMBs, only spapr_machine_init() is responsible for the
creation of DR connectors for NVDIMMs.

Make this clear by making this function static in hw/ppc/spapr.c.

Signed-off-by: Greg Kurz <groug@kaod.org>
---
  hw/ppc/spapr.c                |   10 ++++++++++
  hw/ppc/spapr_nvdimm.c         |   11 -----------
  include/hw/ppc/spapr_nvdimm.h |    1 -
  3 files changed, 10 insertions(+), 12 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]