summaryrefslogtreecommitdiffstats
path: root/include/qemu
diff options
context:
space:
mode:
authorShivaprasad G Bhat2020-02-10 05:56:02 +0100
committerDavid Gibson2020-02-20 23:15:03 +0100
commit3f350f6bb36233be50fc2bc18dc78b6a948a5dbe (patch)
tree2307a1b3b0fb3ba7687ed10d3dfe94b8ae691b14 /include/qemu
parentppc: function to setup latest class options (diff)
downloadqemu-3f350f6bb36233be50fc2bc18dc78b6a948a5dbe.tar.gz
qemu-3f350f6bb36233be50fc2bc18dc78b6a948a5dbe.tar.xz
qemu-3f350f6bb36233be50fc2bc18dc78b6a948a5dbe.zip
mem: move nvdimm_device_list to utilities
nvdimm_device_list is required for parsing the list for devices in subsequent patches. Move it to common utility area. Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Message-Id: <158131055857.2897.15658377276504711773.stgit@lep8c.aus.stglabs.ibm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/qemu')
-rw-r--r--include/qemu/nvdimm-utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/qemu/nvdimm-utils.h b/include/qemu/nvdimm-utils.h
new file mode 100644
index 0000000000..4b8b198ba7
--- /dev/null
+++ b/include/qemu/nvdimm-utils.h
@@ -0,0 +1,7 @@
+#ifndef NVDIMM_UTILS_H
+#define NVDIMM_UTILS_H
+
+#include "qemu/osdep.h"
+
+GSList *nvdimm_get_device_list(void);
+#endif