qemu-ppc
[Top][All Lists]
Advanced

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

Re: [PATCH v3 1/3] mem: move nvdimm_device_list to utilities


From: Igor Mammedov
Subject: Re: [PATCH v3 1/3] mem: move nvdimm_device_list to utilities
Date: Wed, 20 Nov 2019 10:35:40 +0100

On Wed, 20 Nov 2019 13:31:34 +0530
Shivaprasad G Bhat <address@hidden> 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 <address@hidden> 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 <address@hidden>
> >> ---
> >>   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 <address@hidden>

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




reply via email to

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