mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-26 22:25:12 -07:00
nvdimm: implement NVDIMM device abstract
Introduce "nvdimm" device which is based on pc-dimm device type Currently, nothing is specific for nvdimm but hotplug is disabled 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>
This commit is contained in:
parent
40c520418b
commit
5c42eef243
6 changed files with 83 additions and 0 deletions
29
include/hw/mem/nvdimm.h
Normal file
29
include/hw/mem/nvdimm.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
* Non-Volatile Dual In-line Memory Module Virtualization Implementation
|
||||
*
|
||||
* Copyright(C) 2015 Intel Corporation.
|
||||
*
|
||||
* Author:
|
||||
* Xiao Guangrong <guangrong.xiao@linux.intel.com>
|
||||
*
|
||||
* NVDIMM specifications and some documents can be found at:
|
||||
* NVDIMM ACPI device and NFIT are introduced in ACPI 6:
|
||||
* http://www.uefi.org/sites/default/files/resources/ACPI_6.0.pdf
|
||||
* NVDIMM Namespace specification:
|
||||
* http://pmem.io/documents/NVDIMM_Namespace_Spec.pdf
|
||||
* DSM Interface Example:
|
||||
* http://pmem.io/documents/NVDIMM_DSM_Interface_Example.pdf
|
||||
* Driver Writer's Guide:
|
||||
* http://pmem.io/documents/NVDIMM_Driver_Writers_Guide.pdf
|
||||
*
|
||||
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
||||
* See the COPYING file in the top-level directory.
|
||||
*/
|
||||
|
||||
#ifndef QEMU_NVDIMM_H
|
||||
#define QEMU_NVDIMM_H
|
||||
|
||||
#include "hw/mem/pc-dimm.h"
|
||||
|
||||
#define TYPE_NVDIMM "nvdimm"
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue