On Mon, Nov 07, 2016 at 07:13:40PM +0800, Xiao Guangrong wrote: > To make the code more clearer, we > 1) check ram_slots first, and build ssdt & nfit only when it is available > 2) use nvdimm_get_plugged_device_list() to check if there is nvdimm device > plugged > > Suggested-by: Igor Mammedov <imammedo@xxxxxxxxxx> > Signed-off-by: Xiao Guangrong <guangrong.xiao@xxxxxxxxxxxxxxx> > --- > hw/acpi/nvdimm.c | 30 ++++++++++++++++-------------- > 1 file changed, 16 insertions(+), 14 deletions(-) Reviewed-by: Stefan Hajnoczi <stefanha@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature