qemu/include/hw
Xiao Guangrong 87252e1b61 nvdimm acpi: build ACPI NFIT table
NFIT is defined in ACPI 6.0: 5.2.25 NVDIMM Firmware Interface Table (NFIT)

Currently, we only support PMEM mode. Each device has 3 structures:
- SPA structure, defines the PMEM region info

- MEM DEV structure, it has the @handle which is used to associate specified
  ACPI NVDIMM  device we will introduce in later patch.
  Also we can happily ignored the memory device's interleave, the real
  nvdimm hardware access is hidden behind host

- DCR structure, it defines vendor ID used to associate specified vendor
  nvdimm driver. Since we only implement PMEM mode this time, Command
  window and Data window are not needed

The NVDIMM functionality is controlled by the parameter, 'nvdimm', which
is introduced for the machine, there is a example to enable it:
-machine pc,nvdimm -m 8G,maxmem=100G,slots=100  -object \
memory-backend-file,id=mem1,share,mem-path=/tmp/nvdimm1,size=10G -device \
nvdimm,memdev=mem1,id=nv1

It is disabled on default

Reviewed-by: Stefan Hajnoczi <stefanha@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>
2015-12-22 18:39:20 +02:00
..
acpi acpi: support specified oem table id for build_header 2015-12-22 18:39:20 +02:00
arm i.MX: Add an i.MX25 specific CCM class/instance 2015-12-17 13:37:16 +00:00
audio
block
char
cpu icc_bus: drop the unused files 2015-10-02 16:22:02 -03:00
cris
gpio i.MX: add support for lower and upper interrupt in GPIO. 2015-12-17 13:37:13 +00:00
i2c i.MX: Add I2C controller emulator 2015-09-07 10:39:30 +01:00
i386 nvdimm acpi: build ACPI NFIT table 2015-12-22 18:39:20 +02:00
input
intc arm_gic_kvm: Disable live migration if not supported 2015-10-27 12:00:50 +00:00
ipack
ipmi ipmi: Add a firmware configuration repository 2015-12-22 18:39:19 +02:00
isa i8257: remove cpu_request_exit irq 2015-09-09 15:34:53 +02:00
kvm
lm32
m68k
mem nvdimm acpi: build ACPI NFIT table 2015-12-22 18:39:20 +02:00
mips
misc i.MX: Add an i.MX25 specific CCM class/instance 2015-12-17 13:37:16 +00:00
net i.MX: Add FEC Ethernet Emulator 2015-09-07 10:39:30 +01:00
nvram fw_cfg: remove offset argument from callback prototype 2015-12-15 11:45:59 +01:00
pci hw/pxb: introduce pxb-pcie expander for PCIe machines 2015-12-22 17:45:13 +02:00
pci-host q35: Remove MCHPCIState.guest_info field 2015-12-22 17:45:13 +02:00
ppc spapr_iommu: Provide a function to switch a TCE table to allowing VFIO 2015-10-23 10:38:10 +11:00
s390x s390/sclp: store the increment_size in the sclp device 2015-09-07 16:10:44 +02:00
scsi scsi: remove scsi_req_free prototype 2015-12-04 09:39:55 +03:00
sd sdhci: add optional quirk property to disable card insertion/removal interrupts 2015-12-22 16:34:26 +08:00
sh4
smbios smbios: add smbios 3.0 support 2015-09-07 10:39:28 +01:00
sparc
timer i.MX: Split the CCM class into an abstract base class and a concrete class 2015-12-17 13:37:15 +00:00
tricore
unicore32
usb
vfio vfio: Record host IOMMU's available IO page sizes 2015-10-05 12:38:41 -06:00
virtio virtio-blk: Drop x-data-plane option 2015-12-07 16:47:16 +00:00
watchdog
xen xen: fix usage of xc_domain_create in domain builder 2015-11-13 17:38:06 +00:00
boards.h pc: Move option_rom_has_mr/rom_file_has_mr globals to MachineClass 2015-12-22 17:45:12 +02:00
bt.h bt: check struct sizes 2015-12-04 09:39:55 +03:00
compat.h hw/compat.h: Change indentation of HW_COMPAT_* to 4 spaces 2015-12-22 18:39:20 +02:00
devices.h
elf_ops.h elf: Update EM_MOXIE definition 2015-09-25 12:04:43 +02:00
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h
ide.h
irq.h
loader.h
nmi.h
pcmcia.h
platform-bus.h
ptimer.h
qdev-core.h qobject: Rename qtype_code to QType 2015-12-17 08:21:28 +01:00
qdev-dma.h
qdev-properties.h
qdev.h
ssi.h
stream.h
sysbus.h
usb.h