summaryrefslogtreecommitdiffstats
path: root/docs/specs
diff options
context:
space:
mode:
authorXiao Guangrong2016-11-07 12:13:40 +0100
committerMichael S. Tsirkin2016-11-15 16:20:37 +0100
commit264813cb9d0eea199d48c6ea917060683685d1e0 (patch)
tree996a41bbdbbf0c62b98d7e1de3406bafd50b9f34 /docs/specs
parentpc: memhp: stop handling nvdimm hotplug in pc_dimm_unplug (diff)
downloadqemu-264813cb9d0eea199d48c6ea917060683685d1e0.tar.gz
qemu-264813cb9d0eea199d48c6ea917060683685d1e0.tar.xz
qemu-264813cb9d0eea199d48c6ea917060683685d1e0.zip
nvdimm acpi: clean up nvdimm_build_acpi
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@redhat.com> Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'docs/specs')
0 files changed, 0 insertions, 0 deletions