summary refs log tree commit diff stats
path: root/include/qemu/target-info.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qemu/target-info.h')
-rw-r--r--include/qemu/target-info.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/qemu/target-info.h b/include/qemu/target-info.h
index b4cc4888ca..58d4136897 100644
--- a/include/qemu/target-info.h
+++ b/include/qemu/target-info.h
@@ -10,6 +10,13 @@
 #define QEMU_TARGET_INFO_H
 
 /**
+ * target_name:
+ *
+ * Returns: Canonical target name (i.e. "i386").
+ */
+const char *target_name(void);
+
+/**
  * target_cpu_type:
  *
  * Returns: target CPU base QOM type name (i.e. TYPE_X86_CPU).