target/i386: Do not include "exec/ioport.h" if it is not necessary
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 28 May 2018 23:27:03 +0000 (20:27 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 31 May 2018 17:12:13 +0000 (19:12 +0200)
Code change produced with:
    $ git grep '#include "exec/ioport.h"' target | \
      cut -d: -f-1 | \
      xargs egrep -Li "(portio|cpu_(in|out).\()" | \
      xargs sed -i.bak '/#include "exec\/ioport.h"/d'

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180528232719.4721-6-f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/hax-all.c
target/i386/hvf/hvf.c
target/i386/hvf/x86_task.c
target/i386/kvm.c

index cad7531406cb9f94157226376295104d152ddc3f..c5856bbdc384cdfb84d3e67a78d008c577a9f776 100644 (file)
@@ -27,7 +27,6 @@
 #include "cpu.h"
 #include "exec/address-spaces.h"
 #include "exec/exec-all.h"
-#include "exec/ioport.h"
 
 #include "qemu-common.h"
 #include "hax-i386.h"
index c36753954beb67d01e5312cb4a8c9844683c1496..f6c872e6784fb6186aa63dd185c592f5a4a93ea3 100644 (file)
@@ -66,7 +66,6 @@
 
 #include "exec/address-spaces.h"
 #include "exec/exec-all.h"
-#include "exec/ioport.h"
 #include "hw/i386/apic_internal.h"
 #include "hw/boards.h"
 #include "qemu/main-loop.h"
index c3ead2ca736d5ca492da2bfbfc4ea75c862ddcc5..7610d858020d1853a0361858ae357137fe9c3443 100644 (file)
@@ -27,7 +27,6 @@
 #include <Hypervisor/hv_vmx.h>
 
 #include "exec/exec-all.h"
-#include "exec/ioport.h"
 #include "hw/i386/apic_internal.h"
 #include "hw/boards.h"
 #include "qemu/main-loop.h"
index 6511329d11ed0bcd91f52922b8e72c0f1db5ac6b..9d8f80f4c0e6492f9ea875d7cdd5f14d1503c486 100644 (file)
@@ -40,7 +40,6 @@
 #include "hw/i386/intel_iommu.h"
 #include "hw/i386/x86-iommu.h"
 
-#include "exec/ioport.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/msi.h"
 #include "hw/pci/msix.h"