hw: explicitly include qemu/log.h

Move the inclusion out of hw/hw.h, most files do not need it.

Backports commit 03dd024ff57733a55cd2e455f361d053c81b1b29 from qemu
This commit is contained in:
Paolo Bonzini 2018-02-24 02:00:43 -05:00 committed by Lioncash
parent adf97a4d59
commit f9b9d0ba0f
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7
2 changed files with 1 additions and 1 deletions

View file

@ -9,7 +9,6 @@
#include "qemu-common.h"
#include "exec/cpu-common.h"
#include "exec/ioport.h"
#include "qemu/log.h"
#ifdef NEED_CPU_H
#if TARGET_LONG_BITS == 64

View file

@ -30,6 +30,7 @@
#include "hw/boards.h" // MachineClass
#include "sysemu/sysemu.h"
#include "sysemu/cpus.h"
#include "qemu/log.h"
#include "vl.h"
#include "uc_priv.h"
#include "exec/semihost.h"