summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRobert Hoo2022-07-04 10:58:52 +0200
committerMichael S. Tsirkin2022-07-26 16:37:46 +0200
commite4bcec0c3c8527a3f2be2791fa6a89387b9116c1 (patch)
tree8650faf51efe5a158dc66fc07cd44659b6de9cee /include
parentMerge tag 'linux-user-for-7.1-pull-request' of https://gitlab.com/laurent_viv... (diff)
downloadqemu-e4bcec0c3c8527a3f2be2791fa6a89387b9116c1.tar.gz
qemu-e4bcec0c3c8527a3f2be2791fa6a89387b9116c1.tar.xz
qemu-e4bcec0c3c8527a3f2be2791fa6a89387b9116c1.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/hw/mem/nvdimm.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/hw/mem/nvdimm.h b/include/hw/mem/nvdimm.h
index cf8f59be44..acf887c83d 100644
--- a/include/hw/mem/nvdimm.h
+++ b/include/hw/mem/nvdimm.h
@@ -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: