summaryrefslogtreecommitdiffstats
path: root/arch_init.c
diff options
context:
space:
mode:
authorWei Huang <wei@redhat.com>2015-08-11 22:08:20 -0400
committerMichael S. Tsirkin <mst@redhat.com>2015-08-13 14:08:30 +0300
commit60d8f328b878ead45a5e5e347935097e3426bbd9 (patch)
tree359f5103fd4d30a9ecf49849c4d46da5a5b708de /arch_init.c
parent89cc4a2760be800b5924dd705b1369bc29783c9f (diff)
downloadhqemu-60d8f328b878ead45a5e5e347935097e3426bbd9.zip
hqemu-60d8f328b878ead45a5e5e347935097e3426bbd9.tar.gz
smbios: move smbios code into a common folder
To share smbios among different architectures, this patch moves SMBIOS code (smbios.c and smbios.h) from x86 specific folders into new hw/smbios directories. As a result, CONFIG_SMBIOS=y is defined in x86 default config files. Acked-by: Gabriel Somlo <somlo@cmu.edu> Tested-by: Gabriel Somlo <somlo@cmu.edu> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Leif Lindholm <leif.lindholm@linaro.org> Signed-off-by: Wei Huang <wei@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'arch_init.c')
-rw-r--r--arch_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch_init.c b/arch_init.c
index 725c638..38f5fb9 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -26,7 +26,7 @@
#include "sysemu/arch_init.h"
#include "hw/pci/pci.h"
#include "hw/audio/audio.h"
-#include "hw/i386/smbios.h"
+#include "hw/smbios/smbios.h"
#include "qemu/config-file.h"
#include "qemu/error-report.h"
#include "qmp-commands.h"
OpenPOWER on IntegriCloud