summary refs log tree commit diff stats
path: root/hw/smbios/smbios.c
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2016-06-10 04:15:41 -0500
committerMichael S. Tsirkin <mst@redhat.com>2016-06-24 05:13:57 +0300
commit35658f6e0c3dacfdb22198ee3917c0c28914d81d (patch)
tree06de055bdad6dccc30c2a14ecfe36eff4f453d45 /hw/smbios/smbios.c
parent0517cc9863bd4753be56d47da1a568538069e19f (diff)
downloadfocaccia-qemu-35658f6e0c3dacfdb22198ee3917c0c28914d81d.tar.gz
focaccia-qemu-35658f6e0c3dacfdb22198ee3917c0c28914d81d.zip
ipmi: Add SMBIOS table entry
Add an IPMI table entry to the SMBIOS.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/smbios/smbios.c')
-rw-r--r--hw/smbios/smbios.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/smbios/smbios.c b/hw/smbios/smbios.c
index 5dc3e43aa8..74c7102929 100644
--- a/hw/smbios/smbios.c
+++ b/hw/smbios/smbios.c
@@ -25,6 +25,7 @@
 #include "hw/loader.h"
 #include "exec/cpu-common.h"
 #include "smbios_build.h"
+#include "hw/smbios/ipmi.h"
 
 /* legacy structures and constants for <= 2.0 machines */
 struct smbios_header {
@@ -848,6 +849,7 @@ void smbios_get_tables(const struct smbios_phys_mem_area *mem_array,
         }
 
         smbios_build_type_32_table();
+        smbios_build_type_38_table();
         smbios_build_type_127_table();
 
         smbios_validate_table();