On Wed, 20 Nov 2019 13:31:34 +0530
Shivaprasad G Bhat <sb...@linux.ibm.com> wrote:

> Hi Igor,
> 
> 
> On 11/19/2019 12:43 PM, Igor Mammedov wrote:
> > On Mon, 14 Oct 2019 13:37:37 -0500
> > Shivaprasad G Bhat <sb...@linux.ibm.com> wrote:
> >  
> >> nvdimm_device_list is required for parsing the list for devices
> >> in subsequent patches. Move it to common utility area.
> >>
> >> Signed-off-by: Shivaprasad G Bhat <sb...@linux.ibm.com>
> >> ---
> >>   hw/acpi/nvdimm.c            |   28 +---------------------------
> >>   include/qemu/nvdimm-utils.h |    7 +++++++
> >>   util/Makefile.objs          |    1 +
> >>   util/nvdimm-utils.c         |   29 +++++++++++++++++++++++++++++  
> > instead of creating new file, why not to move it to existing 
> > hw/mem/nvdimm.c?  
> 
> That would break the build for mips-softmmu. The mips has 
> CONFIG_ACPI_NVDIMM=y
> and not CONFIG_NVDIMM. So, the build would break failing to fetch the 
> definition from
> hw/mem/nvdimm.c.

Yes, I forgot that mips doesn't really use any acpi stuff, but it
still pulls in files as dependency via piix4 and trying to decouple
it is not worth effort.

So lets go ahead with your variant using util/nvdimm-utils.c

Reviewed-by: Igor Mammedov <imamm...@redhat.com>

> I have the patch here from v2 of the series,
> https://github.com/ShivaprasadGBhat/qemu/commit/00512a25e4852f174fe6c07bc5acb5ee7027e3de
>
> 
> Thanks,
> Shivaprasad
> 
> 


Reply via email to