mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
nvdimm acpi: emulate dsm method
Emulate dsm method after IO VM-exit Currently, we only introduce the framework and no function is actually supported 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
18c440e1e1
commit
f7df22de56
2 changed files with 64 additions and 0 deletions
|
@ -25,6 +25,14 @@
|
|||
|
||||
#include "hw/mem/pc-dimm.h"
|
||||
|
||||
#define NVDIMM_DEBUG 0
|
||||
#define nvdimm_debug(fmt, ...) \
|
||||
do { \
|
||||
if (NVDIMM_DEBUG) { \
|
||||
fprintf(stderr, "nvdimm: " fmt, ## __VA_ARGS__); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define TYPE_NVDIMM "nvdimm"
|
||||
|
||||
#define NVDIMM_DSM_MEM_FILE "etc/acpi/nvdimm-mem"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue