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 <[email protected]> > Signed-off-by: Xiao Guangrong <[email protected]> > --- > hw/acpi/nvdimm.c | 30 ++++++++++++++++-------------- > 1 file changed, 16 insertions(+), 14 deletions(-)
Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
