Skip to content

Commit a8d2532

Browse files
author
Markus Armbruster
committed
Include qemu-common.h exactly where needed
No header includes qemu-common.h after this commit, as prescribed by qemu-common.h's file comment. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190523143508.25387-5-armbru@redhat.com> [Rebased with conflicts resolved automatically, except for include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and net/tap-bsd.c fixed up]
1 parent 0b8fa32 commit a8d2532

File tree

485 files changed

+103
-397
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

485 files changed

+103
-397
lines changed

accel/kvm/kvm-all.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
#include <linux/kvm.h>
2020

21-
#include "qemu-common.h"
2221
#include "qemu/atomic.h"
2322
#include "qemu/option.h"
2423
#include "qemu/config-file.h"

accel/stubs/hax-stub.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
*/
1515

1616
#include "qemu/osdep.h"
17-
#include "qemu-common.h"
1817
#include "cpu.h"
1918
#include "sysemu/hax.h"
2019

accel/stubs/hvf-stub.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
*/
1313

1414
#include "qemu/osdep.h"
15-
#include "qemu-common.h"
1615
#include "cpu.h"
1716
#include "sysemu/hvf.h"
1817

accel/stubs/kvm-stub.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
*/
1212

1313
#include "qemu/osdep.h"
14-
#include "qemu-common.h"
1514
#include "cpu.h"
1615
#include "sysemu/kvm.h"
1716

accel/stubs/whpx-stub.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010

1111
#include "qemu/osdep.h"
12-
#include "qemu-common.h"
1312
#include "cpu.h"
1413
#include "sysemu/whpx.h"
1514

accel/tcg/cpu-exec.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
* You should have received a copy of the GNU Lesser General Public
1717
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
1818
*/
19+
1920
#include "qemu/osdep.h"
21+
#include "qemu-common.h"
2022
#include "cpu.h"
2123
#include "trace.h"
2224
#include "disas/disas.h"

accel/tcg/translate-all.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
*/
1919

2020
#include "qemu/osdep.h"
21+
#include "qemu-common.h"
2122

2223
#define NO_CPU_IO_DEFS
2324
#include "cpu.h"

accel/tcg/translator.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
*/
99

1010
#include "qemu/osdep.h"
11-
#include "qemu-common.h"
1211
#include "qemu/error-report.h"
1312
#include "cpu.h"
1413
#include "tcg/tcg.h"

accel/tcg/user-exec-stub.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#include "qemu/osdep.h"
2-
#include "qemu-common.h"
32
#include "qom/cpu.h"
43
#include "sysemu/replay.h"
54
#include "sysemu/sysemu.h"

arch_init.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
* THE SOFTWARE.
2323
*/
2424
#include "qemu/osdep.h"
25-
#include "qemu-common.h"
2625
#include "cpu.h"
2726
#include "sysemu/sysemu.h"
2827
#include "sysemu/arch_init.h"

0 commit comments

Comments
 (0)