mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
acpi/nvdimm: Define trace events for NVDIMM and substitute nvdimm_debug()
Signed-off-by: Robert Hoo <robert.hu@linux.intel.com> Reviewed-by: Jingqi Liu <jingqi.liu@intel.com> Message-Id: <20220704085852.330005-1-robert.hu@linux.intel.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
d1c912b816
commit
e4bcec0c3c
3 changed files with 29 additions and 27 deletions
|
@ -29,14 +29,6 @@
|
|||
#include "hw/acpi/aml-build.h"
|
||||
#include "qom/object.h"
|
||||
|
||||
#define NVDIMM_DEBUG 0
|
||||
#define nvdimm_debug(fmt, ...) \
|
||||
do { \
|
||||
if (NVDIMM_DEBUG) { \
|
||||
fprintf(stderr, "nvdimm: " fmt, ## __VA_ARGS__); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
/*
|
||||
* The minimum label data size is required by NVDIMM Namespace
|
||||
* specification, see the chapter 2 Namespaces:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue