]> git.proxmox.com Git - mirror_qemu.git/commit
nvdimm acpi: initialize the resource used by NVDIMM ACPI
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Fri, 4 Mar 2016 16:00:32 +0000 (00:00 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 11 Mar 2016 14:59:11 +0000 (16:59 +0200)
commit5fe79386ba3cdc86fd808dde301bfc5bb7e9bded
treee7a34f6f571a257bc39b6323dc2b4aa7f27017b2
parentb63283d7c37ab1d08ee48ce34978fa2e95b27b7b
nvdimm acpi: initialize the resource used by NVDIMM ACPI

32 bits IO port starting from 0x0a18 in guest is reserved for NVDIMM
ACPI emulation. The table, NVDIMM_DSM_MEM_FILE, will be patched into
NVDIMM ACPI binary code

OSPM uses this port to tell QEMU the final address of the DSM memory
and notify QEMU to emulate the DSM method

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>
hw/acpi/Makefile.objs
hw/acpi/nvdimm.c
hw/i386/acpi-build.c
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/i386/pc.h
include/hw/mem/nvdimm.h