remove i386/pc dependency from non-PC world (part 1)
Subsystems (3)
v3 cover remove i386/pc dependency from non-PC world (part 1)
Hi,
quite a bunch of patches and files modified, but the diffstat is not that big.
patches missing review: 2 3 16 20 21 33-37 39-41
since v3:
- addressed Thomas & Paolo comments (thanks for your reviews!)
- split/fixed MAINTAINERS entries
- dropped port92 patch
- dropped i8237* patches
I couldn't test the KVM/XEN/HAX part (thanks Corey Minyard for v1 testing!).
since v2:
- added R-b, A-b
- added missing MAINTAINERS entries (as separate patches)
- dma/i82374: avoid multiple creations on the same ISA bus
- i386/pc: extract port92 from pc.c
- i386/pc: move vmport.c/pvpanic.c from hw/misc/ to hw/i386/
v1:
- clean includes (mostly from script)
- code movement (about no logical changes)
Regards,
Phil.
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively
001/42:[----] [--] 'MAINTAINERS: add entries for i2c/ppc4xx'
002/42:[down] 'MAINTAINERS: add an entry for the i82374 (southbridge)' 003/42:[down] 'MAINTAINERS: add an entry for the i8257 (DMA controller)' 004/42:[----] [--] 'MAINTAINERS: add an entry for the i82378 (superio)' 005/42:[----] [-C] 'MAINTAINERS: add an entry for watchdog/wdt_ib700' 006/42:[----] [--] 'MAINTAINERS: add an entry for input/pckbd.c' 007/42:[----] [--] 'MAINTAINERS: add entries for timer/m48t59'
008/42:[----] [--] 'MAINTAINERS: add missing entry for include/hw/net/' 009/42:[----] [--] 'hw: use "qemu/osdep.h" as first #include in source files' 010/42:[----] [--] 'hw: remove "qemu/osdep.h" from header files' 011/42:[----] [--] 'block: remove "qemu/osdep.h" from header file' 012/42:[----] [--] 'misc: remove headers implicitly included'
013/42:[----] [--] 'misc: remove duplicated includes'
014/42:[----] [--] 'ppc: remove duplicated includes'
015/42:[----] [--] 'i386/hax: remove duplicated includes'
016/42:[0013] [FC] 'i386/hax: remove duplicated include'
017/42:[----] [--] 'nios2: remove duplicated includes (in code commented out)' 018/42:[----] [--] 'misc: avoid "include/" in include path'
019/42:[----] [--] 'numa: remove unused #include'
020/42:[down] 'hw/input/vmmouse: remove unused #include'
021/42:[down] 'hw/misc/pvpanic: remove unused #include'
022/42:[----] [--] 'hw/ssi/aspeed_smc: remove unused #include'
023/42:[----] [--] 'amd_iommu: avoid needless includes in header file' 024/42:[0001] [FC] 'misc: remove old i386 dependency'
025/42:[----] [--] 'hw/ide: remove old i386 dependency'
026/42:[----] [--] 'hw/ipmi: remove old i386 dependency'
027/42:[----] [--] 'hw/i2c: remove old i386 dependency'
028/42:[----] [--] 'hw/tpm: remove old i386 dependency'
029/42:[----] [--] 'hw/virtio-balloon: remove old i386 dependency' 030/42:[0001] [FC] 'hw/unicore32: restrict hw addr defines to source file' 031/42:[----] [--] 'hw/timer/i8254: rename pit_init() -> i8254_pit_init()' 032/42:[----] [-C] 'hw/timer/mc146818: rename rtc_init() -> mc146818_rtc_init()' 033/42:[0003] [FC] 'hw/acpi: ACPI_PM_* defines are not restricted to i386 arch' 034/42:[down] 'hw/acpi/ich9: extract ACPI_PM_PROP_TCO_ENABLED from i386/pc' 035/42:[down] 'hw/display/vga: "vga.h" only contains registers defs, rename it "vga_regs.h"' 036/42:[down] 'hw/display/vga: "vga_int.h" requires "ui/console.h"' 037/42:[down] 'hw/display/vga: extract public API from i386/pc to "hw/display/vga.h"' 038/42:[----] [-C] 'hw/net/ne2000: extract ne2k-isa code from i386/pc to ne2000-isa.c' 039/42:[down] 'hw/misc/pvpanic: extract public API from i386/pc to "hw/misc/pvpanic.h"' 040/42:[down] 'i386/pc: move vmport.c to hw/i386/'
041/42:[down] 'i386/pc: move vmmouse.c to hw/i386/'
042/42:[----] [--] 'misc: drop old i386 dependency'
Philippe Mathieu-Daudé (42):
MAINTAINERS: add entries for i2c/ppc4xx
MAINTAINERS: add an entry for the i82374 (southbridge)
MAINTAINERS: add an entry for the i8257 (DMA controller)
MAINTAINERS: add an entry for the i82378 (superio)
MAINTAINERS: add an entry for watchdog/wdt_ib700
MAINTAINERS: add an entry for input/pckbd.c
MAINTAINERS: add entries for timer/m48t59
MAINTAINERS: add missing entry for include/hw/net/
hw: use "qemu/osdep.h" as first #include in source files
hw: remove "qemu/osdep.h" from header files
block: remove "qemu/osdep.h" from header file
misc: remove headers implicitly included
misc: remove duplicated includes
ppc: remove duplicated includes
i386/hax: remove duplicated includes
i386/hax: remove duplicated include
nios2: remove duplicated includes (in code commented out)
misc: avoid "include/" in include path
numa: remove unused #include
hw/input/vmmouse: remove unused #include hw/misc/pvpanic: remove unused #include hw/ssi/aspeed_smc: remove unused #include
amd_iommu: avoid needless includes in header file
misc: remove old i386 dependency
hw/ide: remove old i386 dependency
hw/ipmi: remove old i386 dependency
hw/i2c: remove old i386 dependency
hw/tpm: remove old i386 dependency
hw/virtio-balloon: remove old i386 dependency hw/unicore32: restrict hw addr defines to source file hw/timer/i8254: rename pit_init() -> i8254_pit_init() hw/timer/mc146818: rename rtc_init() -> mc146818_rtc_init() hw/acpi: ACPI_PM_* defines are not restricted to i386 arch hw/acpi/ich9: extract ACPI_PM_PROP_TCO_ENABLED from i386/pc hw/display/vga: "vga.h" only contains registers defs, rename it
"vga_regs.h"
hw/display/vga: "vga_int.h" requires "ui/console.h"
hw/display/vga: extract public API from i386/pc to "hw/display/vga.h"
hw/net/ne2000: extract ne2k-isa code from i386/pc to ne2000-isa.c
hw/misc/pvpanic: extract public API from i386/pc to
"hw/misc/pvpanic.h" i386/pc: move vmport.c to hw/i386/
i386/pc: move vmmouse.c to hw/i386/
misc: drop old i386 dependency
block/dmg.h | 1 -
hw/audio/fmopl.h | 1 -
hw/display/qxl.h | 1 -
hw/display/vga_int.h | 3 ++-
hw/display/{vga.h => vga_regs.h} | 0
hw/i386/amd_iommu.h | 5 ----
hw/net/ne2000.h | 3 +++
include/hw/acpi/acpi.h | 11 +++++++++
include/hw/acpi/ich9.h | 2 ++
include/hw/acpi/ipmi.h | 1 -
include/hw/cpu/core.h | 1 -
include/hw/display/vga.h | 25 +++++++++++++++++++
include/hw/i2c/ppc4xx_i2c.h | 1 -
include/hw/i386/pc.h | 48 -------------------------------------
include/hw/misc/pvpanic.h | 21 ++++++++++++++++
include/hw/net/ne2000-isa.h | 33 +++++++++++++++++++++++++
include/hw/timer/i8254.h | 5 ++--
include/hw/timer/i8254_internal.h | 2 +-
include/hw/timer/mc146818rtc.h | 3 ++-
include/hw/unicore32/puv3.h | 10 --------
include/sysemu/hax.h | 1 -
target/i386/hax-darwin.h | 3 ---
target/i386/hax-windows.h | 3 ---
target/nios2/cpu.h | 1 -
accel/tcg/translate-all.c | 1 -
bsd-user/main.c | 1 -
chardev/wctablet.c | 4 ----
disas/nios2.c | 3 ---
exec.c | 3 ---
hw/acpi/core.c | 1 -
hw/acpi/ipmi-stub.c | 1 +
hw/alpha/dp264.c | 4 ++--
hw/arm/spitz.c | 1 -
hw/audio/fmopl.c | 1 -
hw/audio/pcspk.c | 1 -
hw/char/debugcon.c | 1 -
hw/char/xen_console.c | 1 -
hw/core/machine.c | 1 -
hw/cpu/core.c | 1 +
hw/display/cirrus_vga.c | 1 -
hw/display/vga-isa-mm.c | 4 +---
hw/display/vga-isa.c | 3 +--
hw/display/vga-pci.c | 1 -
hw/display/vga.c | 5 ++--
hw/display/virtio-vga.c | 1 -
hw/display/vmware_vga.c | 1 -
hw/i2c/pm_smbus.c | 1 -
hw/i2c/smbus_ich9.c | 1 -
hw/i386/acpi-build.c | 2 +-
hw/i386/amd_iommu.c | 5 +++-
hw/i386/kvm/pci-assign.c | 1 -
hw/i386/pc.c | 5 ++--
hw/i386/pci-assign-load-rom.c | 2 --
hw/{input => i386}/vmmouse.c | 1 -
hw/{misc => i386}/vmport.c | 0
hw/i386/xen/xen_platform.c | 1 -
hw/ide/ahci.c | 1 -
hw/ide/cmd646.c | 1 -
hw/ide/core.c | 3 +--
hw/ide/ich.c | 1 -
hw/ide/isa.c | 1 -
hw/ide/microdrive.c | 1 -
hw/ide/pci.c | 1 -
hw/ide/piix.c | 2 +-
hw/ide/via.c | 1 -
hw/input/adb.c | 2 +-
hw/intc/lm32_pic.c | 1 -
hw/ipmi/isa_ipmi_bt.c | 1 -
hw/ipmi/isa_ipmi_kcs.c | 1 -
hw/isa/i82378.c | 5 ++--
hw/isa/vt82c686.c | 1 -
hw/mips/mips_fulong2e.c | 4 ++--
hw/mips/mips_jazz.c | 5 ++--
hw/mips/mips_malta.c | 4 ++--
hw/mips/mips_r4k.c | 5 ++--
hw/misc/ivshmem.c | 1 -
hw/misc/pvpanic.c | 12 ++++------
hw/misc/sga.c | 1 -
hw/moxie/moxiesim.c | 1 -
hw/net/ne2000-isa.c | 6 ++---
hw/net/ne2000.c | 2 --
hw/nios2/boot.c | 1 -
hw/pci-bridge/pci_expander_bridge.c | 1 -
hw/ppc/pnv.c | 2 +-
hw/ppc/prep.c | 1 +
hw/ppc/spapr_cpu_core.c | 1 +
hw/ppc/spapr_hcall.c | 1 -
hw/s390x/css.c | 1 -
hw/scsi/vhost-user-scsi.c | 1 -
hw/smbios/smbios_type_38-stub.c | 1 +
hw/sparc/sun4m.c | 1 -
hw/ssi/aspeed_smc.c | 3 +--
hw/timer/i8254.c | 1 -
hw/timer/i8254_common.c | 1 -
hw/timer/mc146818rtc.c | 2 +-
hw/tpm/tpm_passthrough.c | 1 -
hw/tpm/tpm_tis.c | 1 -
hw/unicore32/puv3.c | 15 ++++++++----
hw/vfio/ccw.c | 2 +-
hw/virtio/vhost-vsock.c | 2 +-
hw/virtio/virtio-balloon.c | 2 +-
hw/watchdog/wdt_ib700.c | 1 -
linux-user/main.c | 1 -
monitor.c | 1 -
net/colo-compare.c | 1 -
numa.c | 1 -
target/i386/hax-darwin.c | 6 +----
target/nios2/helper.c | 5 +---
target/nios2/op_helper.c | 1 +
target/nios2/translate.c | 1 +
target/openrisc/exception_helper.c | 1 -
target/ppc/kvm.c | 3 ---
tests/test-aio-multithread.c | 1 -
tests/test-clone-visitor.c | 1 -
tests/vhost-user-test.c | 1 -
tests/vmgenid-test.c | 3 ---
util/qemu-sockets.c | 1 -
vl.c | 3 +--
MAINTAINERS | 13 +++++++++-
hw/i386/Makefile.objs | 2 ++
hw/input/Makefile.objs | 1 -
hw/misc/Makefile.objs | 2 --
122 files changed, 179 insertions(+), 221 deletions(-)
rename hw/display/{vga.h => vga_regs.h} (100%)
create mode 100644 include/hw/display/vga.h
create mode 100644 include/hw/misc/pvpanic.h
create mode 100644 include/hw/net/ne2000-isa.h
rename hw/{input => i386}/vmmouse.c (99%)
rename hw/{misc => i386}/vmport.c (100%)Signature · 1 line
2.15.0.rc0
PATCH v3 1/42 MAINTAINERS: add entries for i2c/ppc4xx
--- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+)
MAINTAINERS +2 -0
@@ -954,7 +954,9 @@ M: Alexander Graf <[email protected]> L: [email protected] S: Odd Fixes F: hw/ppc/ppc4*.c +F: hw/i2c/ppc4xx_i2c.c F: include/hw/ppc/ppc4xx.h +F: include/hw/i2c/ppc4xx_i2c.h ppce500 M: Alexander Graf <[email protected]>
Signature · 1 line
2.15.0.rc0
PATCH v3 2/42 MAINTAINERS: add an entry for the i82374 (southbridge)
In reply to Philippe Mathieu-Daudé--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
@@ -713,6 +713,7 @@ F: hw/ppc/prep_systemio.c F: hw/ppc/rs6000_mc.c F: hw/pci-host/prep.[hc] F: hw/isa/pc87312.[hc] +F: hw/dma/i82374.c F: pc-bios/ppc_rom.bin sPAPR
Signature · 1 line
2.15.0.rc0
Re: [Qemu-devel] [PATCH v3 02/42] MAINTAINERS: add an entry for the i82374 (southbridge)
Quoted 11 lines · Philippe Mathieu-Daudé
Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)MAINTAINERS +0
-0
MAINTAINERS F: hw/ppc/prep_systemio.c · line 719
Quoted 7 lines
MAINTAINERS +1
-0@@ -713,6 +713,7 @@ F: hw/ppc/prep_systemio.c F: hw/ppc/rs6000_mc.c F: hw/pci-host/prep.[hc] F: hw/isa/pc87312.[hc] +F: hw/dma/i82374.c F: pc-bios/ppc_rom.bin sPAPR
Re: [Qemu-devel] [PATCH v3 02/42] MAINTAINERS: add an entry for the i82374 (southbridge)
In reply to Philippe Mathieu-DaudéLe 17/10/2017 à 18:43, Philippe Mathieu-Daudé a écrit :
Quoted 11 lines
Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)MAINTAINERS +0
-0
MAINTAINERS F: hw/ppc/prep_systemio.c · line 719
Quoted 7 lines
MAINTAINERS +1
-0@@ -713,6 +713,7 @@ F: hw/ppc/prep_systemio.c F: hw/ppc/rs6000_mc.c F: hw/pci-host/prep.[hc] F: hw/isa/pc87312.[hc] +F: hw/dma/i82374.c F: pc-bios/ppc_rom.bin sPAPR
PATCH v3 3/42 MAINTAINERS: add an entry for the i8257 (DMA controller)
In reply to Philippe Mathieu-Daudé--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
@@ -856,6 +856,7 @@ F: hw/timer/hpet* F: hw/timer/i8254* F: hw/timer/mc146818rtc* F: include/hw/i2c/pm_smbus.h +F: include/hw/isa/i8257.h F: include/hw/timer/hpet.h F: include/hw/timer/i8254* F: include/hw/timer/mc146818rtc*
Signature · 1 line
2.15.0.rc0
PATCH v3 4/42 MAINTAINERS: add an entry for the i82378 (superio)
In reply to Philippe Mathieu-Daudé--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
@@ -712,6 +712,7 @@ F: hw/ppc/prep.c F: hw/ppc/prep_systemio.c F: hw/ppc/rs6000_mc.c F: hw/pci-host/prep.[hc] +F: hw/isa/i82378.c F: hw/isa/pc87312.[hc] F: hw/dma/i82374.c F: pc-bios/ppc_rom.bin
Signature · 1 line
2.15.0.rc0
Re: [Qemu-devel] [PATCH v3 04/42] MAINTAINERS: add an entry for the i82378 (superio)
Le 17/10/2017 à 18:43, Philippe Mathieu-Daudé a écrit :
Quoted 12 lines
Signed-off-by Philippe Mathieu-Daudé <[email protected]>Reviewed-by Hervé Poussineau <[email protected]>--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)MAINTAINERS +0
-0
MAINTAINERS F: hw/ppc/prep.c · line 718
Quoted 7 lines
MAINTAINERS +1
-0@@ -712,6 +712,7 @@ F: hw/ppc/prep.c F: hw/ppc/prep_systemio.c F: hw/ppc/rs6000_mc.c F: hw/pci-host/prep.[hc] +F: hw/isa/i82378.c F: hw/isa/pc87312.[hc] F: hw/dma/i82374.c F: pc-bios/ppc_rom.bin
PATCH v3 5/42 MAINTAINERS: add an entry for watchdog/wdt_ib700
In reply to Philippe Mathieu-Daudé--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
@@ -856,6 +856,7 @@ F: hw/misc/pc-testdev.c F: hw/timer/hpet* F: hw/timer/i8254* F: hw/timer/mc146818rtc* +F: hw/watchdog/wdt_ib700.c F: include/hw/i2c/pm_smbus.h F: include/hw/isa/i8257.h F: include/hw/timer/hpet.h
Signature · 1 line
2.15.0.rc0
PATCH v3 6/42 MAINTAINERS: add an entry for input/pckbd.c
In reply to Philippe Mathieu-Daudéand fix a typo in the "PC Chipset" section
--- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
MAINTAINERS +2 -1
@@ -842,12 +842,13 @@ F: hw/misc/sga.c PC Chipset M: Michael S. Tsirkin <[email protected]> M: Paolo Bonzini <[email protected]> -S: Support +S: Supported F: hw/char/debugcon.c F: hw/char/parallel.c F: hw/char/serial* F: hw/dma/i8257* F: hw/i2c/pm_smbus.c +F: hw/input/pckbd.c F: hw/intc/apic* F: hw/intc/ioapic* F: hw/intc/i8259*
Signature · 1 line
2.15.0.rc0
PATCH v3 7/42 MAINTAINERS: add entries for timer/m48t59
In reply to Philippe Mathieu-Daudé--- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+)
MAINTAINERS +2 -0
@@ -715,6 +715,8 @@ F: hw/pci-host/prep.[hc] F: hw/isa/i82378.c F: hw/isa/pc87312.[hc] F: hw/dma/i82374.c +F: hw/timer/m48t59-isa.c +F: include/hw/timer/m48t59.h F: pc-bios/ppc_rom.bin sPAPR
Signature · 1 line
2.15.0.rc0
PATCH v3 8/42 MAINTAINERS: add missing entry for include/hw/net/
In reply to Philippe Mathieu-Daudé--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
@@ -982,6 +982,7 @@ Network devices M: Jason Wang <[email protected]> S: Odd Fixes F: hw/net/ +F: include/hw/net/ F: tests/virtio-net-test.c T: git git://github.com/jasowang/qemu.git net
Signature · 1 line
2.15.0.rc0
PATCH v3 9/42 hw: use "qemu/osdep.h" as first #include in source files
In reply to Philippe Mathieu-Daudéapplied using ./scripts/clean-includes
--- hw/acpi/ipmi-stub.c | 1 + hw/audio/fmopl.c | 1 - hw/cpu/core.c | 1 + hw/ppc/spapr_cpu_core.c | 1 + hw/smbios/smbios_type_38-stub.c | 1 + hw/vfio/ccw.c | 2 +- hw/virtio/vhost-vsock.c | 2 +- 7 files changed, 6 insertions(+), 3 deletions(-)
hw/acpi/ipmi-stub.c +1 -0
@@ -7,6 +7,7 @@* See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "hw/acpi/ipmi.h" void build_acpi_ipmi_devices (Aml *table,BusState *bus)
hw/audio/fmopl.c +0 -1
@@ -34,7 +34,6 @@#include <math.h> //#include "driver.h" /* use M.A.M.E. */ #include "fmopl.h" -#include "qemu/osdep.h" #ifndef PI #define PI 3.14159265358979323846#endif
hw/cpu/core.c +1 -0
@@ -6,6 +6,7 @@* This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "hw/cpu/core.h" #include "qapi/visitor.h" #include "qapi/error.h"
hw/ppc/spapr_cpu_core.c +1 -0
@@ -6,6 +6,7 @@* This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "hw/cpu/core.h" #include "hw/ppc/spapr_cpu_core.h" #include "target/ppc/cpu.h"
hw/smbios/smbios_type_38-stub.c +1 -0
@@ -7,6 +7,7 @@* See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "hw/smbios/ipmi.h" void smbios_build_type_38_table (void )
hw/vfio/ccw.c +1 -1
@@ -11,11 +11,11 @@* directory. */ +#include "qemu/osdep.h" #include <linux/vfio.h> #include <linux/vfio_ccw.h> #include <sys/ioctl.h> -#include "qemu/osdep.h" #include "qapi/error.h" #include "hw/sysbus.h" #include "hw/vfio/vfio.h"
hw/virtio/vhost-vsock.c +1 -1
@@ -11,8 +11,8 @@* top-level directory. */ -#include <sys/ioctl.h> #include "qemu/osdep.h" +#include <sys/ioctl.h> #include "standard-headers/linux/virtio_vsock.h" #include "qapi/error.h" #include "hw/virtio/virtio-bus.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 10/42 hw: remove "qemu/osdep.h" from header files
In reply to Philippe Mathieu-Daudéapplied using ./scripts/clean-includes
--- include/hw/acpi/ipmi.h | 1 - include/hw/cpu/core.h | 1 - include/hw/i2c/ppc4xx_i2c.h | 1 - 3 files changed, 3 deletions(-)
include/hw/acpi/ipmi.h +0 -1
@@ -9,7 +9,6 @@#ifndef HW_ACPI_IPMI_H #define HW_ACPI_IPMI_H -#include "qemu/osdep.h" #include "hw/acpi/aml-build.h" /*
include/hw/cpu/core.h +0 -1
@@ -9,7 +9,6 @@#ifndef HW_CPU_CORE_H #define HW_CPU_CORE_H -#include "qemu/osdep.h" #include "hw/qdev.h" #define TYPE_CPU_CORE "cpu-core"
include/hw/i2c/ppc4xx_i2c.h +0 -1
@@ -25,7 +25,6 @@#ifndef PPC4XX_I2C_H #define PPC4XX_I2C_H -#include "qemu/osdep.h" #include "qemu-common.h" #include "hw/sysbus.h" #include "hw/i2c/i2c.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 11/42 block: remove "qemu/osdep.h" from header file
In reply to Philippe Mathieu-Daudéapplied using ./scripts/clean-includes
--- block/dmg.h | 1 - 1 file changed, 1 deletion(-)
block/dmg.h +0 -1
@@ -26,7 +26,6 @@#ifndef BLOCK_DMG_H #define BLOCK_DMG_H -#include "qemu/osdep.h" #include "qemu-common.h" #include "block/block_int.h" #include <zlib.h>
Signature · 1 line
2.15.0.rc0
PATCH v3 12/42 misc: remove headers implicitly included
In reply to Philippe Mathieu-Daudéapplied using ./scripts/clean-includes
--- hw/audio/fmopl.h | 1 - bsd-user/main.c | 1 - chardev/wctablet.c | 4 ---- hw/scsi/vhost-user-scsi.c | 1 - linux-user/main.c | 1 - net/colo-compare.c | 1 - tests/test-aio-multithread.c | 1 - tests/test-clone-visitor.c | 1 - tests/vmgenid-test.c | 3 --- 9 files changed, 14 deletions(-)
hw/audio/fmopl.h +0 -1
@@ -1,7 +1,6 @@#ifndef FMOPL_H #define FMOPL_H -#include <stdint.h> typedef void (*OPL_TIMERHANDLER )(void *param,int channel,double interval_Sec);
bsd-user/main.c +0 -1
@@ -32,7 +32,6 @@#include "qemu/envlist.h" #include "exec/log.h" #include "trace/control.h" -#include "glib-compat.h" int singlestep;unsigned long mmap_min_addr;
chardev/wctablet.c +0 -4
@@ -25,10 +25,6 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include <stdlib.h> -#include <string.h> -#include <sys/time.h> -#include <time.h> #include "qemu/osdep.h" #include "qemu-common.h"
hw/scsi/vhost-user-scsi.c +0 -1
@@ -18,7 +18,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/error-report.h" -#include "qemu/typedefs.h" #include "qom/object.h" #include "hw/fw-path-provider.h" #include "hw/qdev-core.h"
linux-user/main.c +0 -1
@@ -35,7 +35,6 @@#include "elf.h" #include "exec/log.h" #include "trace/control.h" -#include "glib-compat.h" char *exec_path;
net/colo-compare.c +0 -1
@@ -23,7 +23,6 @@#include "qom/object_interfaces.h" #include "qemu/iov.h" #include "qom/object.h" -#include "qemu/typedefs.h" #include "net/queue.h" #include "chardev/char-fe.h" #include "qemu/sockets.h"
tests/test-aio-multithread.c +0 -1
@@ -11,7 +11,6 @@*/ #include "qemu/osdep.h" -#include <glib.h> #include "block/aio.h" #include "qapi/error.h" #include "qemu/coroutine.h"
tests/test-clone-visitor.c +0 -1
@@ -8,7 +8,6 @@*/ #include "qemu/osdep.h" -#include <glib.h> #include "qemu-common.h" #include "qapi/clone-visitor.h"
tests/vmgenid-test.c +0 -3
@@ -8,9 +8,6 @@* See the COPYING file in the top-level directory. */ -#include <glib.h> -#include <string.h> -#include <unistd.h> #include "qemu/osdep.h" #include "qemu/bitmap.h" #include "qemu/uuid.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 13/42 misc: remove duplicated includes
In reply to Philippe Mathieu-Daudéexec: housekeeping (funny since 02d0e095031)
applied using ./scripts/clean-includes
--- accel/tcg/translate-all.c | 1 - exec.c | 3 --- hw/arm/spitz.c | 1 - hw/char/xen_console.c | 1 - hw/core/machine.c | 1 - hw/s390x/css.c | 1 - target/openrisc/exception_helper.c | 1 - tests/vhost-user-test.c | 1 - util/qemu-sockets.c | 1 - vl.c | 1 - 10 files changed, 12 deletions(-)
accel/tcg/translate-all.c +0 -1
@@ -31,7 +31,6 @@#include "tcg.h" #if defined(CONFIG_USER_ONLY )#include "qemu.h" -#include "exec/exec-all.h" #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)#include <sys/param.h> #if __FreeBSD_version >=700104
exec.c +0 -3
@@ -18,8 +18,6 @@*/ #include "qemu/osdep.h" #include "qapi/error.h" -#ifndef _WIN32 -#endif #include "qemu/cutils.h" #include "cpu.h"
@@ -51,7 +49,6 @@#include "trace-root.h" #ifdef CONFIG_FALLOCATE_PUNCH_HOLE -#include <fcntl.h> #include <linux/falloc.h> #endif
hw/arm/spitz.c +0 -1
@@ -29,7 +29,6 @@#include "sysemu/block-backend.h" #include "hw/sysbus.h" #include "exec/address-spaces.h" -#include "sysemu/sysemu.h" #include "cpu.h" #undef REG_FMT
hw/char/xen_console.c +0 -1
@@ -27,7 +27,6 @@#include "hw/hw.h" #include "chardev/char-fe.h" #include "hw/xen/xen_backend.h" -#include "qapi/error.h" #include <xen/io/console.h>
hw/core/machine.c +0 -1
@@ -20,7 +20,6 @@#include "sysemu/numa.h" #include "qemu/error-report.h" #include "qemu/cutils.h" -#include "sysemu/numa.h" #include "sysemu/qtest.h" static char *machine_get_accel (Object *obj,Error **errp)
hw/s390x/css.c +0 -1
@@ -13,7 +13,6 @@#include "qapi/error.h" #include "qapi/visitor.h" #include "hw/qdev.h" -#include "qemu/error-report.h" #include "qemu/bitops.h" #include "qemu/error-report.h" #include "exec/address-spaces.h"
target/openrisc/exception_helper.c +0 -1
@@ -21,7 +21,6 @@#include "cpu.h" #include "exec/exec-all.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "exception.h" void HELPER (exception )(CPUOpenRISCState *env,uint32_t excp)
tests/vhost-user-test.c +0 -1
@@ -21,7 +21,6 @@#include "libqos/libqos.h" #include "libqos/pci-pc.h" #include "libqos/virtio-pci.h" -#include "qapi/error.h" #include "libqos/malloc-pc.h" #include "hw/virtio/virtio-net.h"
util/qemu-sockets.c +0 -1
@@ -26,7 +26,6 @@#include "qapi/error.h" #include "qemu/sockets.h" #include "qemu/main-loop.h" -#include "qapi/clone-visitor.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qobject-output-visitor.h" #include "qapi-visit.h"
vl.c +0 -1
@@ -95,7 +95,6 @@ int main(int argc, char **argv)#include "sysemu/kvm.h" #include "sysemu/hax.h" #include "qapi/qobject-input-visitor.h" -#include "qapi/qobject-input-visitor.h" #include "qapi-visit.h" #include "qapi/qmp/qjson.h" #include "qemu/option.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 14/42 ppc: remove duplicated includes
In reply to Philippe Mathieu-Daudéapplied using ./scripts/clean-includes
not needed since 7ebaf795560
--- hw/ppc/spapr_hcall.c | 1 - target/ppc/kvm.c | 3 --- 2 files changed, 4 deletions(-)
hw/ppc/spapr_hcall.c +0 -1
@@ -13,7 +13,6 @@#include "trace.h" #include "kvm_ppc.h" #include "hw/ppc/spapr_ovec.h" -#include "qemu/error-report.h" #include "mmu-book3s-v3.h" struct SPRSyncState {
target/ppc/kvm.c +0 -3
@@ -47,9 +47,6 @@#include "sysemu/hostmem.h" #include "qemu/cutils.h" #include "qemu/mmap-alloc.h" -#if defined(TARGET_PPC64 ) -#include "hw/ppc/spapr_cpu_core.h" -#endif #include "elf.h" #include "sysemu/kvm_int.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 15/42 i386/hax: remove duplicated includes
In reply to Philippe Mathieu-Daudéapplied using ./scripts/clean-includes
--- include/sysemu/hax.h | 1 - target/i386/hax-darwin.h | 3 --- target/i386/hax-windows.h | 2 -- target/i386/hax-darwin.c | 6 +----- 4 files changed, 1 insertion(+), 11 deletions(-)
include/sysemu/hax.h +0 -1
@@ -22,7 +22,6 @@#ifndef QEMU_HAX_H #define QEMU_HAX_H -#include "config-host.h" #include "qemu-common.h" int hax_sync_vcpus (void );
target/i386/hax-darwin.h +0 -3
@@ -15,10 +15,7 @@#ifndef TARGET_I386_HAX_DARWIN_H #define TARGET_I386_HAX_DARWIN_H -#include <sys/types.h> #include <sys/ioctl.h> -#include <sys/mman.h> -#include <stdarg.h> #define HAX_INVALID_FD (-1)static inline int hax_invalid_fd (hax_fd fd)
target/i386/hax-windows.h +0 -2
@@ -24,8 +24,6 @@#include <memory.h> #include <malloc.h> #include <winioctl.h> -#include <string.h> -#include <stdio.h> #include <windef.h> #define HAX_INVALID_FD INVALID_HANDLE_VALUE
target/i386/hax-darwin.c +1 -5
@@ -11,13 +11,9 @@*/ /* HAX module interface - darwin version */ -#include <sys/types.h> -#include <sys/stat.h> -#include <fcntl.h> -#include <errno.h> +#include "qemu/osdep.h" #include <sys/ioctl.h> -#include "qemu/osdep.h" #include "target/i386/hax-i386.h" hax_fd hax_mod_open (void )
Signature · 1 line
2.15.0.rc0
PATCH v3 16/42 i386/hax: remove duplicated include
In reply to Philippe Mathieu-Daudéthis file in include in "target/i386/hax-i386.h":
#ifdef CONFIG_WIN32
#include "target/i386/hax-windows.h"
#endifwhich guaranty than sysemu/os-win32.h is previously included (CONFIG_WIN32)
--- target/i386/hax-windows.h | 1 - 1 file changed, 1 deletion(-)
target/i386/hax-windows.h +0 -1
@@ -20,7 +20,6 @@#ifndef TARGET_I386_HAX_WINDOWS_H #define TARGET_I386_HAX_WINDOWS_H -#include <windows.h> #include <memory.h> #include <malloc.h> #include <winioctl.h>
Signature · 1 line
2.15.0.rc0
Re: [Qemu-devel] [PATCH v3 16/42] i386/hax: remove duplicated include
Quoted 7 lines · Philippe Mathieu-Daudé
this file in include in "
target/i386/hax-i386.h":#ifdef CONFIG_WIN32 #include "target/i386/hax-windows.h" #endifwhich guaranty than
sysemu/os-win32.his previously included (CONFIG_WIN32)
which guaranties that ... ?
Thomas
Re: [Qemu-devel] [PATCH v3 16/42] i386/hax: remove duplicated include
Quoted 10 lines · Thomas Huth
Quoted 7 lines · Philippe Mathieu-Daudé
this file in include in "
target/i386/hax-i386.h":#ifdef CONFIG_WIN32 #include "target/i386/hax-windows.h" #endifwhich guaranty than
sysemu/os-win32.his previously included (CONFIG_WIN32)which guaranties that ... ?
Oh :(
Michael if you take the whole series, do you mind changing this description or do you want me to respin it? (if there is no further functional change asked).
Regards,
Phil.
PATCH v3 17/42 nios2: remove duplicated includes (in code commented out)
In reply to Philippe Mathieu-Daudéapplied using ./scripts/clean-includes
--- target/nios2/cpu.h | 1 - disas/nios2.c | 3 --- hw/nios2/boot.c | 1 - target/nios2/helper.c | 5 +---- target/nios2/op_helper.c | 1 + target/nios2/translate.c | 1 + 6 files changed, 3 insertions(+), 9 deletions(-)
target/nios2/cpu.h +0 -1
@@ -20,7 +20,6 @@#ifndef CPU_NIOS2_H #define CPU_NIOS2_H -#include "qemu/osdep.h" #include "qemu-common.h" #define TARGET_LONG_BITS 32
disas/nios2.c +0 -3
@@ -1756,7 +1756,6 @@ extern const int nios2_num_r2_reg_range_mappings;#endif /* _NIOS2_H */ /*#include "sysdep.h" -#include <stdio.h> #include "opcode/nios2.h" */ /* Register string table */
@@ -2521,8 +2520,6 @@ const int nios2_num_r2_reg_range_mappings = 8;#include "dis-asm.h" #include "opcode/nios2.h" #include "libiberty.h" -#include <string.h> -#include <assert.h> */ /* No symbol table is available when this code runs out in an embedded system as when it is used for disassembler support in a monitor. */
hw/nios2/boot.c +0 -1
@@ -34,7 +34,6 @@#include "qemu/option.h" #include "qemu/config-file.h" #include "qemu/error-report.h" -#include "qemu-common.h" #include "sysemu/device_tree.h" #include "sysemu/sysemu.h" #include "hw/loader.h"
target/nios2/helper.c +1 -4
@@ -18,12 +18,9 @@* <http://www.gnu.org/licenses/lgpl-2.1.html> */ -#include <stdio.h> -#include <string.h> -#include <assert.h> +#include "qemu/osdep.h" #include "cpu.h" -#include "qemu/osdep.h" #include "qemu/host-utils.h" #include "qapi/error.h" #include "exec/exec-all.h"
target/nios2/op_helper.c +1 -0
@@ -18,6 +18,7 @@* <http://www.gnu.org/licenses/lgpl-2.1.html> */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exec/cpu_ldst.h"
target/nios2/translate.c +1 -0
@@ -21,6 +21,7 @@* <http://www.gnu.org/licenses/lgpl-2.1.html> */ +#include "qemu/osdep.h" #include "cpu.h" #include "tcg-op.h" #include "exec/exec-all.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 18/42 misc: avoid "include/" in include path
In reply to Philippe Mathieu-Daudé--- hw/input/adb.c | 2 +- hw/ssi/aspeed_smc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
hw/input/adb.c +1 -1
@@ -24,8 +24,8 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/input/adb.h" +#include "hw/input/adb-keys.h" #include "ui/console.h" -#include "include/hw/input/adb-keys.h" #include "ui/input.h" #include "sysemu/sysemu.h"
hw/ssi/aspeed_smc.c +1 -1
@@ -26,7 +26,7 @@#include "hw/sysbus.h" #include "sysemu/sysemu.h" #include "qemu/log.h" -#include "include/qemu/error-report.h" +#include "qemu/error-report.h" #include "exec/address-spaces.h" #include "hw/ssi/aspeed_smc.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 19/42 numa: remove unused #include
In reply to Philippe Mathieu-Daudé--- numa.c | 1 - 1 file changed, 1 deletion(-)
numa.c +0 -1
@@ -29,7 +29,6 @@#include "qemu/bitmap.h" #include "qom/cpu.h" #include "qemu/error-report.h" -#include "include/exec/cpu-common.h" /* for RAM_ADDR_FMT */ #include "qapi-visit.h" #include "qapi/opts-visitor.h" #include "hw/boards.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 20/42 hw/input/vmmouse: remove unused #include
In reply to Philippe Mathieu-Daudé--- hw/input/vmmouse.c | 1 - 1 file changed, 1 deletion(-)
hw/input/vmmouse.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "ui/console.h" -#include "hw/input/ps2.h" #include "hw/i386/pc.h" #include "hw/qdev.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 21/42 hw/misc/pvpanic: remove unused #include
In reply to Philippe Mathieu-Daudé--- hw/misc/pvpanic.c | 3 --- 1 file changed, 3 deletions(-)
hw/misc/pvpanic.c +0 -3
@@ -13,14 +13,11 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/qobject.h" -#include "qapi/qmp/qjson.h" #include "sysemu/sysemu.h" #include "qemu/log.h" #include "hw/nvram/fw_cfg.h" #include "hw/i386/pc.h" -#include "qapi-event.h" /* The bit of supported pv event */ #define PVPANIC_F_PANICKED 0
Signature · 1 line
2.15.0.rc0
PATCH v3 22/42 hw/ssi/aspeed_smc: remove unused #include
In reply to Philippe Mathieu-Daudé--- hw/ssi/aspeed_smc.c | 1 - 1 file changed, 1 deletion(-)
hw/ssi/aspeed_smc.c +0 -1
@@ -27,7 +27,6 @@#include "sysemu/sysemu.h" #include "qemu/log.h" #include "qemu/error-report.h" -#include "exec/address-spaces.h" #include "hw/ssi/aspeed_smc.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 23/42 amd_iommu: avoid needless includes in header file
In reply to Philippe Mathieu-Daudéinstead move them to the source file
--- hw/i386/amd_iommu.h | 5 ----- hw/i386/amd_iommu.c | 5 ++++- 2 files changed, 4 insertions(+), 6 deletions(-)
hw/i386/amd_iommu.h +0 -5
@@ -23,11 +23,6 @@#include "hw/hw.h" #include "hw/pci/pci.h" -#include "hw/pci/msi.h" -#include "hw/sysbus.h" -#include "sysemu/dma.h" -#include "hw/i386/pc.h" -#include "hw/pci/pci_bus.h" #include "hw/i386/x86-iommu.h" /* Capability registers */
hw/i386/amd_iommu.c +4 -1
@@ -20,7 +20,10 @@* Cache implementation inspired by hw/i386/intel_iommu.c */ #include "qemu/osdep.h" -#include "hw/i386/amd_iommu.h" +#include "hw/i386/pc.h" +#include "hw/pci/msi.h" +#include "hw/pci/pci_bus.h" +#include "amd_iommu.h" #include "qapi/error.h" #include "qemu/error-report.h" #include "trace.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 24/42 misc: remove old i386 dependency
In reply to Philippe Mathieu-Daudé--- hw/audio/pcspk.c | 1 - hw/i386/kvm/pci-assign.c | 1 - hw/i386/pci-assign-load-rom.c | 2 -- hw/i386/xen/xen_platform.c | 1 - hw/isa/vt82c686.c | 1 - hw/misc/ivshmem.c | 1 - hw/misc/sga.c | 1 - hw/pci-bridge/pci_expander_bridge.c | 1 - monitor.c | 1 - 9 files changed, 10 deletions(-)
hw/audio/pcspk.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/isa/isa.h" #include "hw/audio/soundhw.h" #include "audio/audio.h"
hw/i386/kvm/pci-assign.c +0 -1
@@ -25,7 +25,6 @@#include <linux/kvm.h> #include "qapi/error.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "qemu/error-report.h" #include "ui/console.h" #include "hw/loader.h"
hw/i386/pci-assign-load-rom.c +0 -2
@@ -4,9 +4,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "qemu/error-report.h" -#include "ui/console.h" #include "hw/loader.h" #include "monitor/monitor.h" #include "qemu/range.h"
hw/i386/xen/xen_platform.c +0 -1
@@ -26,7 +26,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/ide.h" #include "hw/pci/pci.h" #include "hw/irq.h"
hw/isa/vt82c686.c +0 -1
@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/isa/vt82c686.h" #include "hw/i2c/i2c.h" #include "hw/i2c/smbus.h"
hw/misc/ivshmem.c +0 -1
@@ -20,7 +20,6 @@#include "qapi/error.h" #include "qemu/cutils.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/pci/pci.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h"
hw/misc/sga.c +0 -1
@@ -26,7 +26,6 @@*/ #include "qemu/osdep.h" #include "hw/pci/pci.h" -#include "hw/i386/pc.h" #include "hw/loader.h" #include "sysemu/sysemu.h"
hw/pci-bridge/pci_expander_bridge.c +0 -1
@@ -16,7 +16,6 @@#include "hw/pci/pci_bus.h" #include "hw/pci/pci_host.h" #include "hw/pci/pci_bridge.h" -#include "hw/i386/pc.h" #include "qemu/range.h" #include "qemu/error-report.h" #include "sysemu/numa.h"
monitor.c +0 -1
@@ -28,7 +28,6 @@#include "hw/hw.h" #include "monitor/qdev.h" #include "hw/usb.h" -#include "hw/i386/pc.h" #include "hw/pci/pci.h" #include "sysemu/watchdog.h" #include "hw/loader.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 25/42 hw/ide: remove old i386 dependency
In reply to Philippe Mathieu-Daudéand remove a duplicated include
--- hw/ide/ahci.c | 1 - hw/ide/cmd646.c | 1 - hw/ide/core.c | 3 +-- hw/ide/ich.c | 1 - hw/ide/isa.c | 1 - hw/ide/microdrive.c | 1 - hw/ide/pci.c | 1 - hw/ide/piix.c | 2 +- hw/ide/via.c | 1 - 9 files changed, 2 insertions(+), 10 deletions(-)
hw/ide/ahci.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/msi.h" -#include "hw/i386/pc.h" #include "hw/pci/pci.h" #include "qemu/error-report.h"
hw/ide/cmd646.c +0 -1
@@ -24,7 +24,6 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/pci/pci.h" #include "hw/isa/isa.h" #include "sysemu/block-backend.h"
hw/ide/core.c +1 -2
@@ -24,17 +24,16 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/pci/pci.h" #include "hw/isa/isa.h" #include "qemu/error-report.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" +#include "sysemu/blockdev.h" #include "sysemu/dma.h" #include "hw/block/block.h" #include "sysemu/block-backend.h" #include "qemu/cutils.h" -#include "qemu/error-report.h" #include "hw/ide/internal.h" #include "trace.h"
hw/ide/ich.c +0 -1
@@ -63,7 +63,6 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/msi.h" -#include "hw/i386/pc.h" #include "hw/pci/pci.h" #include "hw/isa/isa.h" #include "sysemu/block-backend.h"
hw/ide/isa.c +0 -1
@@ -24,7 +24,6 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/isa/isa.h" #include "sysemu/block-backend.h" #include "sysemu/dma.h"
hw/ide/microdrive.c +0 -1
@@ -24,7 +24,6 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/pcmcia.h" #include "sysemu/block-backend.h" #include "sysemu/dma.h"
hw/ide/pci.c +0 -1
@@ -24,7 +24,6 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/pci/pci.h" #include "hw/isa/isa.h" #include "sysemu/block-backend.h"
hw/ide/piix.c +1 -1
@@ -25,11 +25,11 @@#include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/pci/pci.h" #include "hw/isa/isa.h" #include "sysemu/block-backend.h" #include "sysemu/sysemu.h" +#include "sysemu/blockdev.h" #include "sysemu/dma.h" #include "hw/ide/pci.h"
hw/ide/via.c +0 -1
@@ -25,7 +25,6 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/pci/pci.h" #include "hw/isa/isa.h" #include "sysemu/block-backend.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 26/42 hw/ipmi: remove old i386 dependency
In reply to Philippe Mathieu-Daudé---
no IPMI entry!
hw/ipmi/isa_ipmi_bt.c | 1 - hw/ipmi/isa_ipmi_kcs.c | 1 - 2 files changed, 2 deletions(-)
hw/ipmi/isa_ipmi_bt.c +0 -1
@@ -26,7 +26,6 @@#include "hw/hw.h" #include "hw/ipmi/ipmi.h" #include "hw/isa/isa.h" -#include "hw/i386/pc.h" /* Control register */ #define IPMI_BT_CLR_WR_BIT 0
hw/ipmi/isa_ipmi_kcs.c +0 -1
@@ -26,7 +26,6 @@#include "hw/hw.h" #include "hw/ipmi/ipmi.h" #include "hw/isa/isa.h" -#include "hw/i386/pc.h" #define IPMI_KCS_OBF_BIT 0#define IPMI_KCS_IBF_BIT 1
Signature · 1 line
2.15.0.rc0
PATCH v3 27/42 hw/i2c: remove old i386 dependency
In reply to Philippe Mathieu-Daudé--- hw/i2c/pm_smbus.c | 1 - hw/i2c/smbus_ich9.c | 1 - 2 files changed, 2 deletions(-)
hw/i2c/pm_smbus.c +0 -1
@@ -19,7 +19,6 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/i2c/pm_smbus.h" #include "hw/i2c/smbus.h"
hw/i2c/smbus_ich9.c +0 -1
@@ -26,7 +26,6 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/i2c/pm_smbus.h" #include "hw/pci/pci.h" #include "sysemu/sysemu.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 28/42 hw/tpm: remove old i386 dependency
In reply to Philippe Mathieu-Daudé--- hw/tpm/tpm_passthrough.c | 1 - hw/tpm/tpm_tis.c | 1 - 2 files changed, 2 deletions(-)
hw/tpm/tpm_passthrough.c +0 -1
@@ -29,7 +29,6 @@#include "sysemu/tpm_backend.h" #include "tpm_int.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "qapi/clone-visitor.h" #include "tpm_tis.h" #include "tpm_util.h"
hw/tpm/tpm_tis.c +0 -1
@@ -28,7 +28,6 @@#include "sysemu/block-backend.h" #include "exec/address-spaces.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/pci/pci_ids.h" #include "tpm_tis.h" #include "qapi/error.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 29/42 hw/virtio-balloon: remove old i386 dependency
In reply to Philippe Mathieu-Daudé--- hw/virtio/virtio-balloon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/virtio/virtio-balloon.c +1 -1
@@ -18,7 +18,7 @@#include "qemu/timer.h" #include "qemu-common.h" #include "hw/virtio/virtio.h" -#include "hw/i386/pc.h" +#include "hw/mem/pc-dimm.h" #include "sysemu/balloon.h" #include "hw/virtio/virtio-balloon.h" #include "sysemu/kvm.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 30/42 hw/unicore32: restrict hw addr defines to source file
In reply to Philippe Mathieu-Daudéand drop unused #includes
--- include/hw/unicore32/puv3.h | 10 ---------- hw/unicore32/puv3.c | 15 ++++++++++----- 2 files changed, 10 insertions(+), 15 deletions(-)
include/hw/unicore32/puv3.h +0 -10
@@ -14,16 +14,6 @@#define PUV3_REGS_OFFSET (0x1000)/* 4K is reasonable */ -/* PKUnity System bus (AHB): 0xc0000000 - 0xedffffff (640MB) */ -#define PUV3_DMA_BASE (0xc0200000)/* AHB-4 */ - -/* PKUnity Peripheral bus (APB): 0xee000000 - 0xefffffff (128MB) */ -#define PUV3_GPIO_BASE (0xee500000)/* APB-5 */ -#define PUV3_INTC_BASE (0xee600000)/* APB-6 */ -#define PUV3_OST_BASE (0xee800000)/* APB-8 */ -#define PUV3_PM_BASE (0xeea00000)/* APB-10 */ -#define PUV3_PS2_BASE (0xeeb00000)/* APB-11 */ -/* Hardware interrupts */ #define PUV3_IRQS_NR (32)
hw/unicore32/puv3.c +10 -5
@@ -11,16 +11,11 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "cpu.h" #include "ui/console.h" -#include "elf.h" -#include "exec/address-spaces.h" -#include "hw/sysbus.h" #include "hw/boards.h" #include "hw/loader.h" #include "hw/i386/pc.h" -#include "qemu/error-report.h" #include "sysemu/qtest.h" #undef DEBUG_PUV3
@@ -29,6 +24,16 @@#define KERNEL_LOAD_ADDR 0x03000000#define KERNEL_MAX_SIZE 0x00800000/* Just a guess */ +/* PKUnity System bus (AHB): 0xc0000000 - 0xedffffff (640MB) */ +#define PUV3_DMA_BASE (0xc0200000)/* AHB-4 */ + +/* PKUnity Peripheral bus (APB): 0xee000000 - 0xefffffff (128MB) */ +#define PUV3_GPIO_BASE (0xee500000)/* APB-5 */ +#define PUV3_INTC_BASE (0xee600000)/* APB-6 */ +#define PUV3_OST_BASE (0xee800000)/* APB-8 */ +#define PUV3_PM_BASE (0xeea00000)/* APB-10 */ +#define PUV3_PS2_BASE (0xeeb00000)/* APB-11 */ +static void puv3_intc_cpu_handler (void *opaque,int irq,int level) {UniCore32CPU *cpu = opaque;
Signature · 1 line
2.15.0.rc0
PATCH v3 31/42 hw/timer/i8254: rename pit_init() -> i8254_pit_init()
In reply to Philippe Mathieu-Daudéand remove the old i386/pc dependency
--- include/hw/timer/i8254.h | 5 +++-- include/hw/timer/i8254_internal.h | 2 +- hw/alpha/dp264.c | 2 +- hw/i386/pc.c | 2 +- hw/isa/i82378.c | 2 +- hw/mips/mips_fulong2e.c | 2 +- hw/mips/mips_jazz.c | 2 +- hw/mips/mips_malta.c | 2 +- hw/mips/mips_r4k.c | 2 +- hw/timer/i8254.c | 1 - hw/timer/i8254_common.c | 1 - 11 files changed, 11 insertions(+), 12 deletions(-)
include/hw/timer/i8254.h +3 -2
@@ -26,6 +26,7 @@#define HW_I8254_H #include "hw/hw.h" +#include "hw/qdev.h" #include "hw/isa/isa.h" #define PIT_FREQ 1193182
@@ -48,8 +49,8 @@ typedef struct PITChannelInfo {#define TYPE_I8254 "isa-pit"#define TYPE_KVM_I8254 "kvm-pit" -static inline ISADevice *pit_init (ISABus *bus,int base,int isa_irq, -qemu_irq alt_irq) +static inline ISADevice *i8254_pit_init (ISABus *bus,int base,int isa_irq, +qemu_irq alt_irq) {DeviceState *dev;ISADevice *d;
include/hw/timer/i8254_internal.h +1 -1
@@ -26,8 +26,8 @@#define QEMU_I8254_INTERNAL_H #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/isa/isa.h" +#include "qemu/timer.h" typedef struct PITChannelState { int count; /* can be 65536 */
hw/alpha/dp264.c +1 -1
@@ -81,7 +81,7 @@ static void clipper_init(MachineState *machine)/* Since we have an SRM-compatible PALcode, use the SRM epoch. */ rtc_init (isa_bus,1900 , rtc_irq); -pit_init (isa_bus,0x40 ,0 ,NULL ); +i8254_pit_init (isa_bus,0x40 ,0 ,NULL );isa_create_simple (isa_bus,"i8042" );/* VGA setup. Don't bother loading the bios. */
hw/i386/pc.c +1 -1
@@ -1551,7 +1551,7 @@ void pc_basic_device_init(ISABus *isa_bus, qemu_irq *gsi,if (kvm_pit_in_kernel ()) { pit =kvm_pit_init (isa_bus,0x40 ); }else { - pit =pit_init (isa_bus,0x40 , pit_isa_irq, pit_alt_irq); + pit =i8254_pit_init (isa_bus,0x40 , pit_isa_irq, pit_alt_irq); }if (hpet) {/* connect PIT to output control line of the HPET */
hw/isa/i82378.c +1 -1
@@ -97,7 +97,7 @@ static void i82378_realize(PCIDevice *pci, Error **errp)isa_bus_irqs (isabus, s->i8259);/* 1 82C54 (pit) */ - isa =pit_init (isabus,0x40 ,0 ,NULL ); + isa =i8254_pit_init (isabus,0x40 ,0 ,NULL );/* speaker */ pcspk_init (isabus, isa);
hw/mips/mips_fulong2e.c +1 -1
@@ -363,7 +363,7 @@ static void mips_fulong2e_init(MachineState *machine)smbus_eeprom_init (smbus,1 , eeprom_spd,sizeof (eeprom_spd));/* init other devices */ - pit =pit_init (isa_bus,0x40 ,0 ,NULL ); + pit =i8254_pit_init (isa_bus,0x40 ,0 ,NULL );DMA_init (isa_bus,0 );/* Super I/O */
hw/mips/mips_jazz.c +1 -1
@@ -222,7 +222,7 @@ static void mips_jazz_init(MachineState *machine, i8259 =i8259_init (isa_bus, env->irq[4 ]);isa_bus_irqs (isa_bus, i8259);DMA_init (isa_bus,0 ); - pit =pit_init (isa_bus,0x40 ,0 ,NULL ); + pit =i8254_pit_init (isa_bus,0x40 ,0 ,NULL );pcspk_init (isa_bus, pit);/* Video card */
hw/mips/mips_malta.c +1 -1
@@ -1217,7 +1217,7 @@ void mips_malta_init(MachineState *machine) isa_get_irq(NULL, 9), NULL, 0, NULL);smbus_eeprom_init (smbus,8 , smbus_eeprom_buf, smbus_eeprom_size);g_free (smbus_eeprom_buf); - pit =pit_init (isa_bus,0x40 ,0 ,NULL ); + pit =i8254_pit_init (isa_bus,0x40 ,0 ,NULL );DMA_init (isa_bus,0 );/* Super I/O */
hw/mips/mips_r4k.c +1 -1
@@ -280,7 +280,7 @@ void mips_r4k_init(MachineState *machine)rtc_init (isa_bus,2000 ,NULL ); - pit =pit_init (isa_bus,0x40 ,0 ,NULL ); + pit =i8254_pit_init (isa_bus,0x40 ,0 ,NULL );serial_hds_isa_init (isa_bus,0 ,MAX_SERIAL_PORTS );
hw/timer/i8254.c +0 -1
@@ -23,7 +23,6 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/isa/isa.h" #include "qemu/timer.h" #include "hw/timer/i8254.h"
hw/timer/i8254_common.c +0 -1
@@ -24,7 +24,6 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/isa/isa.h" #include "qemu/timer.h" #include "hw/timer/i8254.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 32/42 hw/timer/mc146818: rename rtc_init() -> mc146818_rtc_init()
In reply to Philippe Mathieu-Daudé--- include/hw/timer/mc146818rtc.h | 3 ++- hw/alpha/dp264.c | 2 +- hw/i386/pc.c | 2 +- hw/isa/i82378.c | 3 ++- hw/mips/mips_fulong2e.c | 2 +- hw/mips/mips_jazz.c | 2 +- hw/mips/mips_malta.c | 2 +- hw/mips/mips_r4k.c | 2 +- hw/ppc/pnv.c | 2 +- hw/timer/mc146818rtc.c | 2 +- 10 files changed, 12 insertions(+), 10 deletions(-)
include/hw/timer/mc146818rtc.h +2 -1
@@ -6,7 +6,8 @@#define TYPE_MC146818_RTC "mc146818rtc" -ISADevice *rtc_init (ISABus *bus,int base_year,qemu_irq intercept_irq); +ISADevice *mc146818_rtc_init (ISABus *bus,int base_year, +qemu_irq intercept_irq);void rtc_set_memory (ISADevice *dev,int addr,int val);int rtc_get_memory (ISADevice *dev,int addr);
hw/alpha/dp264.c +1 -1
@@ -79,7 +79,7 @@ static void clipper_init(MachineState *machine) clipper_pci_map_irq);/* Since we have an SRM-compatible PALcode, use the SRM epoch. */ -rtc_init (isa_bus,1900 , rtc_irq); +mc146818_rtc_init (isa_bus,1900 , rtc_irq);i8254_pit_init (isa_bus,0x40 ,0 ,NULL );isa_create_simple (isa_bus,"i8042" );
hw/i386/pc.c +1 -1
@@ -1543,7 +1543,7 @@ void pc_basic_device_init(ISABus *isa_bus, qemu_irq *gsi, rtc_irq =qdev_get_gpio_in (hpet,HPET_LEGACY_RTC_INT ); } } - *rtc_state =rtc_init (isa_bus,2000 , rtc_irq); + *rtc_state =mc146818_rtc_init (isa_bus,2000 , rtc_irq);qemu_register_boot_set (pc_boot_set, *rtc_state);
hw/isa/i82378.c +2 -1
@@ -21,6 +21,7 @@#include "hw/pci/pci.h" #include "hw/i386/pc.h" #include "hw/timer/i8254.h" +#include "hw/timer/mc146818rtc.h" #include "hw/audio/pcspk.h" #define TYPE_I82378 "i82378"
@@ -106,7 +107,7 @@ static void i82378_realize(PCIDevice *pci, Error **errp) isa =isa_create_simple (isabus,"i82374" );/* timer */ -isa_create_simple (isabus,"mc146818rtc" ); +isa_create_simple (isabus,TYPE_MC146818_RTC ); }static void i82378_init (Object *obj)
hw/mips/mips_fulong2e.c +1 -1
@@ -369,7 +369,7 @@ static void mips_fulong2e_init(MachineState *machine)/* Super I/O */ isa_create_simple (isa_bus,"i8042" ); -rtc_init (isa_bus,2000 ,NULL ); +mc146818_rtc_init (isa_bus,2000 ,NULL );serial_hds_isa_init (isa_bus,0 ,MAX_SERIAL_PORTS );parallel_hds_isa_init (isa_bus,1 );
hw/mips/mips_jazz.c +1 -1
@@ -292,7 +292,7 @@ static void mips_jazz_init(MachineState *machine,fdctrl_init_sysbus (qdev_get_gpio_in (rc4030,1 ),-1 ,0x80003000 , fds);/* Real time clock */ -rtc_init (isa_bus,1980 ,NULL ); +mc146818_rtc_init (isa_bus,1980 ,NULL );memory_region_init_io (rtc,NULL , &rtc_ops,NULL ,"rtc" ,0x1000 );memory_region_add_subregion (address_space,0x80004000 , rtc);
hw/mips/mips_malta.c +1 -1
@@ -1223,7 +1223,7 @@ void mips_malta_init(MachineState *machine)/* Super I/O */ isa_create_simple (isa_bus,"i8042" ); -rtc_init (isa_bus,2000 ,NULL ); +mc146818_rtc_init (isa_bus,2000 ,NULL );serial_hds_isa_init (isa_bus,0 ,2 );parallel_hds_isa_init (isa_bus,1 );
hw/mips/mips_r4k.c +1 -1
@@ -278,7 +278,7 @@ void mips_r4k_init(MachineState *machine) i8259 =i8259_init (isa_bus, env->irq[2 ]);isa_bus_irqs (isa_bus, i8259); -rtc_init (isa_bus,2000 ,NULL ); +mc146818_rtc_init (isa_bus,2000 ,NULL ); pit =i8254_pit_init (isa_bus,0x40 ,0 ,NULL );
hw/ppc/pnv.c +1 -1
@@ -651,7 +651,7 @@ static void ppc_powernv_init(MachineState *machine)serial_hds_isa_init (pnv->isa_bus,0 ,MAX_SERIAL_PORTS );/* Create an RTC ISA device too */ -rtc_init (pnv->isa_bus,2000 ,NULL ); +mc146818_rtc_init (pnv->isa_bus,2000 ,NULL );/* OpenPOWER systems use a IPMI SEL Event message to notify the * host to powerdown */
hw/timer/mc146818rtc.c +1 -1
@@ -999,7 +999,7 @@ static void rtc_realizefn(DeviceState *dev, Error **errp)qdev_init_gpio_out (dev, &s->irq,1 ); } -ISADevice *rtc_init (ISABus *bus,int base_year,qemu_irq intercept_irq) +ISADevice *mc146818_rtc_init (ISABus *bus,int base_year,qemu_irq intercept_irq) {DeviceState *dev;ISADevice *isadev;
Signature · 1 line
2.15.0.rc0
PATCH v3 33/42 hw/acpi: ACPI_PM_* defines are not restricted to i386 arch
In reply to Philippe Mathieu-Daudéthis allows to remove the old i386/pc dependency on acpi/core.
--- include/hw/acpi/acpi.h | 11 +++++++++++ include/hw/i386/pc.h | 11 ----------- hw/acpi/core.c | 1 - 3 files changed, 11 insertions(+), 12 deletions(-)
include/hw/acpi/acpi.h +11 -0
@@ -39,6 +39,17 @@#define ACPI_PM2_REGISTER_WIDTH 8#define ACPI_PM_TIMER_WIDTH 32 +/* PC-style peripherals (also used by other machines). */ +#define ACPI_PM_PROP_S3_DISABLED "disable_s3" +#define ACPI_PM_PROP_S4_DISABLED "disable_s4" +#define ACPI_PM_PROP_S4_VAL "s4_val" +#define ACPI_PM_PROP_SCI_INT "sci_int" +#define ACPI_PM_PROP_ACPI_ENABLE_CMD "acpi_enable_cmd" +#define ACPI_PM_PROP_ACPI_DISABLE_CMD "acpi_disable_cmd" +#define ACPI_PM_PROP_PM_IO_BASE "pm_io_base" +#define ACPI_PM_PROP_GPE0_BLK "gpe0_blk" +#define ACPI_PM_PROP_GPE0_BLK_LEN "gpe0_blk_len" +/* PM Timer ticks per second (HZ) */ #define PM_TIMER_FREQUENCY 3579545
include/hw/i386/pc.h +0 -11
@@ -151,17 +151,6 @@ struct PCMachineClass {#define PC_MACHINE_CLASS (klass) \ OBJECT_CLASS_CHECK(PCMachineClass, (klass), TYPE_PC_MACHINE) -/* PC-style peripherals (also used by other machines). */ - -#define ACPI_PM_PROP_S3_DISABLED "disable_s3" -#define ACPI_PM_PROP_S4_DISABLED "disable_s4" -#define ACPI_PM_PROP_S4_VAL "s4_val" -#define ACPI_PM_PROP_SCI_INT "sci_int" -#define ACPI_PM_PROP_ACPI_ENABLE_CMD "acpi_enable_cmd" -#define ACPI_PM_PROP_ACPI_DISABLE_CMD "acpi_disable_cmd" -#define ACPI_PM_PROP_PM_IO_BASE "pm_io_base" -#define ACPI_PM_PROP_GPE0_BLK "gpe0_blk" -#define ACPI_PM_PROP_GPE0_BLK_LEN "gpe0_blk_len"#define ACPI_PM_PROP_TCO_ENABLED "enable_tco"/* parallel.c */
hw/acpi/core.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "sysemu/sysemu.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/acpi/acpi.h" #include "hw/nvram/fw_cfg.h" #include "qemu/config-file.h"
Signature · 1 line
2.15.0.rc0
Re: [Qemu-devel] [PATCH v3 33/42] hw/acpi: ACPI_PM_* defines are not restricted to i386 arch
Quoted 3 lines · On Tue, 17 Oct 2017 13:44:17 -0300 Philippe Mathieu-Daudé <[email protected]>…
this allows to remove the old i386/pc dependency on acpi/core.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>
Quoted 62 lines
--- include/hw/acpi/acpi.h | 11 +++++++++++ include/hw/i386/pc.h | 11 ----------- hw/acpi/core.c | 1 - 3 files changed, 11 insertions(+), 12 deletions(-)include/hw/acpi/acpi.h +11
-0@@ -39,6 +39,17 @@#define ACPI_PM2_REGISTER_WIDTH 8#define ACPI_PM_TIMER_WIDTH 32 +/* PC-style peripherals (also used by other machines). */ +#define ACPI_PM_PROP_S3_DISABLED "disable_s3" +#define ACPI_PM_PROP_S4_DISABLED "disable_s4" +#define ACPI_PM_PROP_S4_VAL "s4_val" +#define ACPI_PM_PROP_SCI_INT "sci_int" +#define ACPI_PM_PROP_ACPI_ENABLE_CMD "acpi_enable_cmd" +#define ACPI_PM_PROP_ACPI_DISABLE_CMD "acpi_disable_cmd" +#define ACPI_PM_PROP_PM_IO_BASE "pm_io_base" +#define ACPI_PM_PROP_GPE0_BLK "gpe0_blk" +#define ACPI_PM_PROP_GPE0_BLK_LEN "gpe0_blk_len" +/* PM Timer ticks per second (HZ) */ #define PM_TIMER_FREQUENCY 3579545include/hw/i386/pc.h +0
-11@@ -151,17 +151,6 @@ struct PCMachineClass {#define PC_MACHINE_CLASS (klass) \ OBJECT_CLASS_CHECK(PCMachineClass, (klass), TYPE_PC_MACHINE) -/* PC-style peripherals (also used by other machines). */ - -#define ACPI_PM_PROP_S3_DISABLED "disable_s3" -#define ACPI_PM_PROP_S4_DISABLED "disable_s4" -#define ACPI_PM_PROP_S4_VAL "s4_val" -#define ACPI_PM_PROP_SCI_INT "sci_int" -#define ACPI_PM_PROP_ACPI_ENABLE_CMD "acpi_enable_cmd" -#define ACPI_PM_PROP_ACPI_DISABLE_CMD "acpi_disable_cmd" -#define ACPI_PM_PROP_PM_IO_BASE "pm_io_base" -#define ACPI_PM_PROP_GPE0_BLK "gpe0_blk" -#define ACPI_PM_PROP_GPE0_BLK_LEN "gpe0_blk_len"#define ACPI_PM_PROP_TCO_ENABLED "enable_tco"/* parallel.c */ hw/acpi/core.c +0
-1@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "sysemu/sysemu.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/acpi/acpi.h" #include "hw/nvram/fw_cfg.h" #include "qemu/config-file.h"
PATCH v3 34/42 hw/acpi/ich9: extract ACPI_PM_PROP_TCO_ENABLED from i386/pc
In reply to Philippe Mathieu-Daudéenable_tco is specific to i386/pc.
--- include/hw/acpi/ich9.h | 2 ++ include/hw/i386/pc.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-)
include/hw/acpi/ich9.h +2 -0
@@ -63,6 +63,8 @@ typedef struct ICH9LPCPMRegs {TCOIORegs tco_regs; } ICH9LPCPMRegs; +#define ACPI_PM_PROP_TCO_ENABLED "enable_tco" +void ich9_pm_init (PCIDevice *lpc_pci,ICH9LPCPMRegs *pm,bool smm_enabled,qemu_irq sci_irq);
include/hw/i386/pc.h +0 -2
@@ -151,8 +151,6 @@ struct PCMachineClass {#define PC_MACHINE_CLASS (klass) \ OBJECT_CLASS_CHECK(PCMachineClass, (klass), TYPE_PC_MACHINE) -#define ACPI_PM_PROP_TCO_ENABLED "enable_tco" -/* parallel.c */ void parallel_hds_isa_init (ISABus *bus,int n);
Signature · 1 line
2.15.0.rc0
Re: [Qemu-devel] [PATCH v3 34/42] hw/acpi/ich9: extract ACPI_PM_PROP_TCO_ENABLED from i386/pc
Quoted 4 lines · On Tue, 17 Oct 2017 13:44:18 -0300 Philippe Mathieu-Daudé <[email protected]>…
enable_tcois specific to i386/pc.Suggested-by Paolo Bonzini <[email protected]>Signed-off-by Philippe Mathieu-Daudé <[email protected]>
Quoted 31 lines
--- include/hw/acpi/ich9.h | 2 ++ include/hw/i386/pc.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-)include/hw/acpi/ich9.h +2
-0@@ -63,6 +63,8 @@ typedef struct ICH9LPCPMRegs {TCOIORegs tco_regs; } ICH9LPCPMRegs; +#define ACPI_PM_PROP_TCO_ENABLED "enable_tco" +void ich9_pm_init (PCIDevice *lpc_pci,ICH9LPCPMRegs *pm,bool smm_enabled,qemu_irq sci_irq);include/hw/i386/pc.h +0
-2@@ -151,8 +151,6 @@ struct PCMachineClass {#define PC_MACHINE_CLASS (klass) \ OBJECT_CLASS_CHECK(PCMachineClass, (klass), TYPE_PC_MACHINE) -#define ACPI_PM_PROP_TCO_ENABLED "enable_tco" -/* parallel.c */ void parallel_hds_isa_init (ISABus *bus,int n);
PATCH v3 35/42 hw/display/vga: "vga.h" only contains registers defs, rename it "vga_regs.h"
In reply to Philippe Mathieu-Daudé---
hw/display/{vga.h => vga_regs.h} | 0
hw/display/vga.c | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
rename hw/display/{vga.h => vga_regs.h} (100%)hw/display/vga_regs.h renamed from hw/display/vga.h +0 -0
hw/display/vga.c +1 -1
@@ -24,11 +24,11 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "hw/hw.h" -#include "vga.h" #include "ui/console.h" #include "hw/i386/pc.h" #include "hw/pci/pci.h" #include "vga_int.h" +#include "vga_regs.h" #include "ui/pixel_ops.h" #include "qemu/timer.h" #include "hw/xen/xen.h"
Signature · 1 line
2.15.0.rc0
Re: [Qemu-devel] [PATCH v3 35/42] hw/display/vga: "vga.h" only contains registers defs, rename it "vga_regs.h"
Quoted 19 lines · Philippe Mathieu-Daudé
Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- hw/display/{vga.h => vga_regs.h} | 0 hw/display/vga.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename hw/display/{vga.h => vga_regs.h} (100%)hw/display/vga_regs.h renamed from hw/display/vga.h +0
-0hw/display/vga.c +0
-0@@ -24,11 +24,11 @@#include "qemu/osdep.h" #include "qapi/error.h"
hw/display/vga.c line 34
Quoted 10 lines
hw/display/vga.c +1
-1#include "hw/hw.h" -#include "vga.h" #include "ui/console.h" #include "hw/i386/pc.h" #include "hw/pci/pci.h" #include "vga_int.h" +#include "vga_regs.h" #include "ui/pixel_ops.h" #include "qemu/timer.h" #include "hw/xen/xen.h"
PATCH v3 36/42 hw/display/vga: "vga_int.h" requires "ui/console.h"
In reply to Philippe Mathieu-Daudésince The VGACommonState struct has a GraphicHwOps *hw_ops member, then remove the now unnecessary includes.
--- hw/display/qxl.h | 1 - hw/display/vga_int.h | 3 ++- hw/display/cirrus_vga.c | 1 - hw/display/vga-isa-mm.c | 1 - hw/display/vga-isa.c | 1 - hw/display/vga-pci.c | 1 - hw/display/vga.c | 1 - hw/display/virtio-vga.c | 1 - hw/display/vmware_vga.c | 1 - 9 files changed, 2 insertions(+), 9 deletions(-)
hw/display/qxl.h +0 -1
@@ -3,7 +3,6 @@#include "qemu-common.h" -#include "ui/console.h" #include "hw/hw.h" #include "hw/pci/pci.h" #include "vga_int.h"
hw/display/vga_int.h +2 -1
@@ -25,8 +25,9 @@#ifndef HW_VGA_INT_H #define HW_VGA_INT_H -#include "hw/hw.h" +#include "exec/ioport.h" #include "exec/memory.h" +#include "ui/console.h" #define ST01_V_RETRACE 0x08#define ST01_DISP_ENABLE 0x01
hw/display/cirrus_vga.c +0 -1
@@ -31,7 +31,6 @@#include "trace.h" #include "hw/hw.h" #include "hw/pci/pci.h" -#include "ui/console.h" #include "ui/pixel_ops.h" #include "vga_int.h" #include "hw/loader.h"
hw/display/vga-isa-mm.c +0 -1
@@ -23,7 +23,6 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "ui/console.h" #include "hw/i386/pc.h" #include "vga_int.h" #include "ui/pixel_ops.h"
hw/display/vga-isa.c +0 -1
@@ -25,7 +25,6 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "ui/console.h" #include "hw/i386/pc.h" #include "vga_int.h" #include "ui/pixel_ops.h"
hw/display/vga-pci.c +0 -1
@@ -25,7 +25,6 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "ui/console.h" #include "hw/pci/pci.h" #include "vga_int.h" #include "ui/pixel_ops.h"
hw/display/vga.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "hw/hw.h" -#include "ui/console.h" #include "hw/i386/pc.h" #include "hw/pci/pci.h" #include "vga_int.h"
hw/display/virtio-vga.c +0 -1
@@ -1,7 +1,6 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" -#include "ui/console.h" #include "vga_int.h" #include "hw/virtio/virtio-pci.h" #include "qapi/error.h"
hw/display/vmware_vga.c +0 -1
@@ -26,7 +26,6 @@#include "hw/hw.h" #include "hw/loader.h" #include "trace.h" -#include "ui/console.h" #include "ui/vnc.h" #include "hw/pci/pci.h"
Signature · 1 line
2.15.0.rc0
Re: [Qemu-devel] [PATCH v3 36/42] hw/display/vga: "vga_int.h" requires "ui/console.h"
Quoted 4 lines · Philippe Mathieu-Daudé
since The VGACommonState struct has a GraphicHwOps
*hw_opsmember, then remove the now unnecessary includes.Signed-off-by Philippe Mathieu-Daudé <[email protected]>
Quoted 11 lines
--- hw/display/qxl.h | 1 - hw/display/vga_int.h | 3 ++- hw/display/cirrus_vga.c | 1 - hw/display/vga-isa-mm.c | 1 - hw/display/vga-isa.c | 1 - hw/display/vga-pci.c | 1 - hw/display/vga.c | 1 - hw/display/virtio-vga.c | 1 - hw/display/vmware_vga.c | 1 - 9 files changed, 2 insertions(+), 9 deletions(-)
PATCH v3 37/42 hw/display/vga: extract public API from i386/pc to "hw/display/vga.h"
In reply to Philippe Mathieu-Daudéand remove the old i386/pc dependency.
--- include/hw/display/vga.h | 25 +++++++++++++++++++++++++ include/hw/i386/pc.h | 12 ------------ hw/display/vga-isa-mm.c | 3 +-- hw/display/vga-isa.c | 2 +- hw/display/vga.c | 2 +- hw/mips/mips_jazz.c | 1 + vl.c | 2 +- MAINTAINERS | 1 + 8 files changed, 31 insertions(+), 17 deletions(-) create mode 100644 include/hw/display/vga.h
include/hw/display/vga.h new file +25 -0
@@ -0,0 +1,25 @@ +/* +* QEMU VGA Emulator. +* +* Copyright (c) 2003 Fabrice Bellard +* +* This work is licensed under the terms of the GNU GPL, version 2 or later. +* See the COPYING file in the top-level directory. +*/ +#ifndef QEMU_HW_DISPLAY_VGA_H +#define QEMU_HW_DISPLAY_VGA_H + +#include "exec/memory.h" + +enum vga_retrace_method { +VGA_RETRACE_DUMB , +VGA_RETRACE_PRECISE +}; + +extern enum vga_retrace_method vga_retrace_method; + +int isa_vga_mm_init (hwaddr vram_base, +hwaddr ctrl_base,int it_shift, +MemoryRegion *address_space); + +#endif
include/hw/i386/pc.h +0 -12
@@ -302,18 +302,6 @@ PCIBus *find_i440fx(void);extern PCIDevice *piix4_dev;int piix4_init (PCIBus *bus,ISABus **isa_bus,int devfn); -/* vga.c */ -enum vga_retrace_method { -VGA_RETRACE_DUMB , -VGA_RETRACE_PRECISE -}; - -extern enum vga_retrace_method vga_retrace_method; - -int isa_vga_mm_init (hwaddr vram_base, -hwaddr ctrl_base,int it_shift, -MemoryRegion *address_space); -/* ne2000.c */ static inline bool isa_ne2000_init (ISABus *bus,int base,int irq,NICInfo *nd) {
hw/display/vga-isa-mm.c +1 -2
@@ -23,10 +23,9 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" +#include "hw/display/vga.h" #include "vga_int.h" #include "ui/pixel_ops.h" -#include "qemu/timer.h" #define VGA_RAM_SIZE (8192 * 1024)
hw/display/vga-isa.c +1 -1
@@ -25,7 +25,7 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" +#include "hw/isa/isa.h" #include "vga_int.h" #include "ui/pixel_ops.h" #include "qemu/timer.h"
hw/display/vga.c +1 -1
@@ -24,7 +24,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "hw/hw.h" -#include "hw/i386/pc.h" +#include "hw/display/vga.h" #include "hw/pci/pci.h" #include "vga_int.h" #include "vga_regs.h"
hw/mips/mips_jazz.c +1 -0
@@ -39,6 +39,7 @@#include "hw/loader.h" #include "hw/timer/mc146818rtc.h" #include "hw/timer/i8254.h" +#include "hw/display/vga.h" #include "hw/audio/pcspk.h" #include "sysemu/block-backend.h" #include "hw/sysbus.h"
vl.c +1 -1
@@ -57,9 +57,9 @@ int main(int argc, char **argv)#include "hw/boards.h" #include "sysemu/accel.h" #include "hw/usb.h" -#include "hw/i386/pc.h" #include "hw/isa/isa.h" #include "hw/scsi/scsi.h" +#include "hw/display/vga.h" #include "hw/bt.h" #include "sysemu/watchdog.h" #include "hw/smbios/smbios.h"
MAINTAINERS +1 -0
@@ -860,6 +860,7 @@ F: hw/timer/hpet* F: hw/timer/i8254* F: hw/timer/mc146818rtc* F: hw/watchdog/wdt_ib700.c +F: include/hw/display/vga.h F: include/hw/i2c/pm_smbus.h F: include/hw/isa/i8257.h F: include/hw/timer/hpet.h
Signature · 1 line
2.15.0.rc0
Re: [Qemu-devel] [PATCH v3 37/42] hw/display/vga: extract public API from i386/pc to "hw/display/vga.h"
Quoted 143 lines · Philippe Mathieu-Daudé
and remove the old i386/pc dependency.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- include/hw/display/vga.h | 25 +++++++++++++++++++++++++ include/hw/i386/pc.h | 12 ------------ hw/display/vga-isa-mm.c | 3 +-- hw/display/vga-isa.c | 2 +- hw/display/vga.c | 2 +- hw/mips/mips_jazz.c | 1 + vl.c | 2 +- MAINTAINERS | 1 + 8 files changed, 31 insertions(+), 17 deletions(-) create mode 100644 include/hw/display/vga.hinclude/hw/display/vga.h new file +25
-0@@ -0,0 +1,25 @@ +/* +* QEMU VGA Emulator. +* +* Copyright (c) 2003 Fabrice Bellard +* +* This work is licensed under the terms of the GNU GPL, version 2 or later. +* See the COPYING file in the top-level directory. +*/ +#ifndef QEMU_HW_DISPLAY_VGA_H +#define QEMU_HW_DISPLAY_VGA_H + +#include "exec/memory.h" + +enum vga_retrace_method { +VGA_RETRACE_DUMB , +VGA_RETRACE_PRECISE +}; + +extern enum vga_retrace_method vga_retrace_method; + +int isa_vga_mm_init (hwaddr vram_base, +hwaddr ctrl_base,int it_shift, +MemoryRegion *address_space); + +#endif include/hw/i386/pc.h +0
-12@@ -302,18 +302,6 @@ PCIBus *find_i440fx(void);extern PCIDevice *piix4_dev;int piix4_init (PCIBus *bus,ISABus **isa_bus,int devfn); -/* vga.c */ -enum vga_retrace_method { -VGA_RETRACE_DUMB , -VGA_RETRACE_PRECISE -}; - -extern enum vga_retrace_method vga_retrace_method; - -int isa_vga_mm_init (hwaddr vram_base, -hwaddr ctrl_base,int it_shift, -MemoryRegion *address_space); -/* ne2000.c */ static inline bool isa_ne2000_init (ISABus *bus,int base,int irq,NICInfo *nd) {hw/display/vga-isa-mm.c +1
-2@@ -23,10 +23,9 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" +#include "hw/display/vga.h" #include "vga_int.h" #include "ui/pixel_ops.h" -#include "qemu/timer.h" #define VGA_RAM_SIZE (8192 * 1024)hw/display/vga-isa.c +1
-1@@ -25,7 +25,7 @@*/ #include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" +#include "hw/isa/isa.h" #include "vga_int.h" #include "ui/pixel_ops.h" #include "qemu/timer.h" hw/display/vga.c +1
-1@@ -24,7 +24,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "hw/hw.h" -#include "hw/i386/pc.h" +#include "hw/display/vga.h" #include "hw/pci/pci.h" #include "vga_int.h" #include "vga_regs.h" hw/mips/mips_jazz.c +1
-0@@ -39,6 +39,7 @@#include "hw/loader.h" #include "hw/timer/mc146818rtc.h" #include "hw/timer/i8254.h" +#include "hw/display/vga.h" #include "hw/audio/pcspk.h" #include "sysemu/block-backend.h" #include "hw/sysbus.h" vl.c +1
-1@@ -57,9 +57,9 @@ int main(int argc, char **argv)#include "hw/boards.h" #include "sysemu/accel.h" #include "hw/usb.h" -#include "hw/i386/pc.h" #include "hw/isa/isa.h" #include "hw/scsi/scsi.h" +#include "hw/display/vga.h" #include "hw/bt.h" #include "sysemu/watchdog.h" #include "hw/smbios/smbios.h" MAINTAINERS +0
-0
MAINTAINERS F: hw/timer/hpet* · line 866
Quoted 7 lines
MAINTAINERS +1
-0@@ -860,6 +860,7 @@ F: hw/timer/hpet* F: hw/timer/i8254* F: hw/timer/mc146818rtc* F: hw/watchdog/wdt_ib700.c +F: include/hw/display/vga.h F: include/hw/i2c/pm_smbus.h F: include/hw/isa/i8257.h F: include/hw/timer/hpet.h
Not sure whether this is the right section for vga.h ... especially since the other hw/display/vga* files are also not listed in MAINTAINERS yet?
Anyway, the other parts of this patch look fine to me, so with or without the change to MAINTAINERS:
PATCH v3 38/42 hw/net/ne2000: extract ne2k-isa code from i386/pc to ne2000-isa.c
In reply to Philippe Mathieu-Daudé- add "hw/net/ne2000-isa.h"
- remove the old i386 dependency
--- hw/net/ne2000.h | 3 +++ include/hw/i386/pc.h | 20 -------------------- include/hw/net/ne2000-isa.h | 33 +++++++++++++++++++++++++++++++++ hw/i386/pc.c | 1 + hw/mips/mips_r4k.c | 1 + hw/net/ne2000-isa.c | 6 ++---- hw/net/ne2000.c | 2 -- hw/ppc/prep.c | 1 + 8 files changed, 41 insertions(+), 26 deletions(-) create mode 100644 include/hw/net/ne2000-isa.h
hw/net/ne2000.h +3 -0
@@ -1,6 +1,9 @@#ifndef HW_NE2000_H #define HW_NE2000_H +#include "hw/hw.h" +#include "net/net.h" +#define NE2000_PMEM_SIZE (32*1024)#define NE2000_PMEM_START (16*1024)#define NE2000_PMEM_END (NE2000_PMEM_SIZE+NE2000_PMEM_START)
include/hw/i386/pc.h +0 -20
@@ -302,26 +302,6 @@ PCIBus *find_i440fx(void);extern PCIDevice *piix4_dev;int piix4_init (PCIBus *bus,ISABus **isa_bus,int devfn); -/* ne2000.c */ -static inline bool isa_ne2000_init (ISABus *bus,int base,int irq,NICInfo *nd) -{ -DeviceState *dev; -ISADevice *isadev; - -qemu_check_nic_model (nd,"ne2k_isa" ); - - isadev =isa_try_create (bus,"ne2k_isa" ); -if (!isadev) { -return false; - } - dev =DEVICE (isadev); -qdev_prop_set_uint32 (dev,"iobase" , base); -qdev_prop_set_uint32 (dev,"irq" , irq); -qdev_set_nic_properties (dev, nd); -qdev_init_nofail (dev); -return true; -} -/* pc_sysfw.c */ void pc_system_firmware_init (MemoryRegion *rom_memory,bool isapc_ram_fw);
include/hw/net/ne2000-isa.h new file +33 -0
@@ -0,0 +1,33 @@ +/* +* QEMU NE2000 emulation -- isa bus windup +* +* Copyright (c) 2003-2004 Fabrice Bellard +* +* This work is licensed under the terms of the GNU GPL, version 2 or later. +* See the COPYING file in the top-level directory. +*/ +#include "hw/hw.h" +#include "hw/qdev.h" +#include "hw/isa/isa.h" +#include "net/net.h" + +#define TYPE_ISA_NE2000 "ne2k_isa" + +static inline ISADevice *isa_ne2000_init (ISABus *bus,int base,int irq, +NICInfo *nd) +{ +ISADevice *d; + +qemu_check_nic_model (nd,"ne2k_isa" ); + + d =isa_try_create (bus,TYPE_ISA_NE2000 ); +if (d) { +DeviceState *dev =DEVICE (d); + +qdev_prop_set_uint32 (dev,"iobase" , base); +qdev_prop_set_uint32 (dev,"irq" , irq); +qdev_set_nic_properties (dev, nd); +qdev_init_nofail (dev); + } +return d; +}
hw/i386/pc.c +1 -0
@@ -69,6 +69,7 @@#include "qom/cpu.h" #include "hw/nmi.h" #include "hw/i386/intel_iommu.h" +#include "hw/net/ne2000-isa.h" /* debug PC/ISA interrupts */ //#define DEBUG_IRQ
hw/mips/mips_r4k.c +1 -0
@@ -18,6 +18,7 @@#include "hw/char/serial.h" #include "hw/isa/isa.h" #include "net/net.h" +#include "hw/net/ne2000-isa.h" #include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/block/flash.h"
hw/net/ne2000-isa.c +2 -4
@@ -22,17 +22,15 @@* THE SOFTWARE. */ #include "qemu/osdep.h" -#include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/isa/isa.h" +#include "hw/net/ne2000-isa.h" #include "hw/qdev.h" -#include "net/net.h" #include "ne2000.h" +#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "qapi/error.h" #include "qapi/visitor.h" -#define TYPE_ISA_NE2000 "ne2k_isa"#define ISA_NE2000 (obj) OBJECT_CHECK(ISANE2000State, (obj), TYPE_ISA_NE2000) typedef struct ISANE2000State {
hw/net/ne2000.c +0 -2
@@ -22,9 +22,7 @@* THE SOFTWARE. */ #include "qemu/osdep.h" -#include "hw/hw.h" #include "hw/pci/pci.h" -#include "net/net.h" #include "ne2000.h" #include "hw/loader.h" #include "sysemu/sysemu.h"
hw/ppc/prep.c +1 -0
@@ -42,6 +42,7 @@#include "hw/loader.h" #include "hw/timer/mc146818rtc.h" #include "hw/isa/pc87312.h" +#include "hw/net/ne2000-isa.h" #include "sysemu/block-backend.h" #include "sysemu/arch_init.h" #include "sysemu/kvm.h"
Signature · 1 line
2.15.0.rc0
PATCH v3 39/42 hw/misc/pvpanic: extract public API from i386/pc to "hw/misc/pvpanic.h"
In reply to Philippe Mathieu-Daudéand remove the old i386/pc dependency.
---
no MAINTAINERS entry, does this belong to "PC Chipset"?
include/hw/i386/pc.h | 3 --- include/hw/misc/pvpanic.h | 21 +++++++++++++++++++++ hw/i386/acpi-build.c | 2 +- hw/misc/pvpanic.c | 9 ++++----- 4 files changed, 26 insertions(+), 9 deletions(-) create mode 100644 include/hw/misc/pvpanic.h
include/hw/i386/pc.h +0 -3
@@ -306,9 +306,6 @@ int piix4_init(PCIBus *bus, ISABus **isa_bus, int devfn);void pc_system_firmware_init (MemoryRegion *rom_memory,bool isapc_ram_fw); -/* pvpanic.c */ -uint16_t pvpanic_port (void ); -/* acpi-build.c */ void pc_madt_cpu_entry (AcpiDeviceIf *adev,int uid,const CPUArchIdList *apic_ids,GArray *entry);
include/hw/misc/pvpanic.h new file +21 -0
@@ -0,0 +1,21 @@ +/* +* QEMU simulated pvpanic device. +* +* Copyright Fujitsu, Corp. 2013 +* +* Authors: +* Wen Congyang <[email protected]> +* Hu Tao <[email protected]> +* +* This work is licensed under the terms of the GNU GPL, version 2 or later. +* See the COPYING file in the top-level directory. +* +*/ +#ifndef HW_MISC_PVPANIC_H +#define HW_MISC_PVPANIC_H + +#define TYPE_PVPANIC "pvpanic" + +uint16_t pvpanic_port (void ); + +#endif
hw/i386/acpi-build.c +1 -1
@@ -28,8 +28,8 @@#include "qemu/error-report.h" #include "hw/pci/pci.h" #include "qom/cpu.h" -#include "hw/i386/pc.h" #include "target/i386/cpu.h" +#include "hw/misc/pvpanic.h" #include "hw/timer/hpet.h" #include "hw/acpi/acpi-defs.h" #include "hw/acpi/acpi.h"
hw/misc/pvpanic.c +4 -5
@@ -17,7 +17,7 @@#include "qemu/log.h" #include "hw/nvram/fw_cfg.h" -#include "hw/i386/pc.h" +#include "hw/misc/pvpanic.h" /* The bit of supported pv event */ #define PVPANIC_F_PANICKED 0
@@ -25,9 +25,8 @@/* The pv event value */ #define PVPANIC_PANICKED (1 << PVPANIC_F_PANICKED) -#define TYPE_ISA_PVPANIC_DEVICE "pvpanic"#define ISA_PVPANIC_DEVICE (obj) \ - OBJECT_CHECK(PVPanicState, (obj), TYPE_ISA_PVPANIC_DEVICE) + OBJECT_CHECK(PVPanicState, (obj), TYPE_PVPANIC)static void handle_event (int event) {
@@ -104,7 +103,7 @@ static void pvpanic_isa_realizefn(DeviceState *dev, Error **errp)uint16_t pvpanic_port (void ) { -Object *o =object_resolve_path_type ("" ,TYPE_ISA_PVPANIC_DEVICE ,NULL ); +Object *o =object_resolve_path_type ("" ,TYPE_PVPANIC ,NULL );if (!o) {return 0 ; }
@@ -126,7 +125,7 @@ static void pvpanic_isa_class_init(ObjectClass *klass, void *data) }static TypeInfo pvpanic_isa_info = { - .name =TYPE_ISA_PVPANIC_DEVICE , + .name =TYPE_PVPANIC , .parent =TYPE_ISA_DEVICE , .instance_size =sizeof (PVPanicState), .instance_init = pvpanic_isa_initfn,
Signature · 1 line
2.15.0.rc0
PATCH v3 40/42 i386/pc: move vmport.c to hw/i386/
In reply to Philippe Mathieu-DaudéIt's a x86-only device, so it does not make sense to keep it in the shared misc folder.
---
hw/{misc => i386}/vmport.c | 0
hw/i386/Makefile.objs | 1 +
hw/misc/Makefile.objs | 2 --
3 files changed, 1 insertion(+), 2 deletions(-)
rename hw/{misc => i386}/vmport.c (100%)hw/i386/vmport.c renamed from hw/misc/vmport.c +0 -0
hw/i386/Makefile.objs +1 -0
@@ -5,6 +5,7 @@ obj-y += pc_sysfw.o obj-y += x86-iommu.o intel_iommu.o obj-y += amd_iommu.o obj-$(CONFIG_XEN) += ../xenpv/ xen/ +obj-$(CONFIG_VMPORT) += vmport.o obj-y += kvmvapic.o obj-y += acpi-build.o
hw/misc/Makefile.objs +0 -2
@@ -11,8 +11,6 @@ common-obj-$(CONFIG_EDU) += edu.o common-obj-y += unimp.o common-obj-y += vmcoreinfo.o -obj-$(CONFIG_VMPORT) += vmport.o - # ARM devices common-obj-$(CONFIG_PL310) += arm_l2x0.o common-obj-$(CONFIG_INTEGRATOR_DEBUG) += arm_integrator_debug.o
Signature · 1 line
2.15.0.rc0
Re: [Qemu-devel] [PATCH v3 40/42] i386/pc: move vmport.c to hw/i386/
Quoted 10 lines · Philippe Mathieu-Daudé
It's a x86-only device, so it does not make sense to keep it in the shared misc folder.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- hw/{misc => i386}/vmport.c | 0 hw/i386/Makefile.objs | 1 + hw/misc/Makefile.objs | 2 -- 3 files changed, 1 insertion(+), 2 deletions(-) rename hw/{misc => i386}/vmport.c (100%)
PATCH v3 41/42 i386/pc: move vmmouse.c to hw/i386/
In reply to Philippe Mathieu-DaudéIt's a x86-only device, so it does not make sense to keep it in the shared misc folder.
---
hw/{input => i386}/vmmouse.c | 0
hw/i386/Makefile.objs | 1 +
hw/input/Makefile.objs | 1 -
3 files changed, 1 insertion(+), 1 deletion(-)
rename hw/{input => i386}/vmmouse.c (100%)hw/i386/vmmouse.c renamed from hw/input/vmmouse.c +0 -0
hw/i386/Makefile.objs +1 -0
@@ -6,6 +6,7 @@ obj-y += x86-iommu.o intel_iommu.o obj-y += amd_iommu.o obj-$(CONFIG_XEN) += ../xenpv/ xen/ obj-$(CONFIG_VMPORT) += vmport.o +obj-$(CONFIG_VMMOUSE) += vmmouse.o obj-y += kvmvapic.o obj-y += acpi-build.o
hw/input/Makefile.objs +0 -1
@@ -6,7 +6,6 @@ common-obj-$(CONFIG_PL050) += pl050.o common-obj-y += ps2.o common-obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o common-obj-$(CONFIG_TSC2005) += tsc2005.o -common-obj-$(CONFIG_VMMOUSE) += vmmouse.o common-obj-$(CONFIG_VIRTIO) += virtio-input.o common-obj-$(CONFIG_VIRTIO) += virtio-input-hid.o
Signature · 1 line
2.15.0.rc0
Re: [Qemu-devel] [PATCH v3 41/42] i386/pc: move vmmouse.c to hw/i386/
Quoted 2 lines · Philippe Mathieu-Daudé
It's a x86-only device, so it does not make sense to keep it in the shared misc folder.
s/misc/input/
Quoted 7 lines
Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- hw/{input => i386}/vmmouse.c | 0 hw/i386/Makefile.objs | 1 + hw/input/Makefile.objs | 1 - 3 files changed, 1 insertion(+), 1 deletion(-) rename hw/{input => i386}/vmmouse.c (100%)
PATCH v3 42/42 misc: drop old i386 dependency
In reply to Philippe Mathieu-Daudé--- hw/char/debugcon.c | 1 - hw/intc/lm32_pic.c | 1 - hw/moxie/moxiesim.c | 1 - hw/sparc/sun4m.c | 1 - hw/watchdog/wdt_ib700.c | 1 - 5 files changed, 5 deletions(-)
hw/char/debugcon.c +0 -1
@@ -29,7 +29,6 @@#include "hw/hw.h" #include "chardev/char-fe.h" #include "hw/isa/isa.h" -#include "hw/i386/pc.h" #define TYPE_ISA_DEBUGCON_DEVICE "isa-debugcon"#define ISA_DEBUGCON_DEVICE (obj) \
hw/intc/lm32_pic.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "monitor/monitor.h" #include "hw/sysbus.h" #include "trace.h"
hw/moxie/moxiesim.c +0 -1
@@ -30,7 +30,6 @@#include "cpu.h" #include "hw/sysbus.h" #include "hw/hw.h" -#include "hw/i386/pc.h" #include "hw/isa/isa.h" #include "net/net.h" #include "sysemu/sysemu.h"
hw/sparc/sun4m.c +0 -1
@@ -36,7 +36,6 @@#include "net/net.h" #include "hw/boards.h" #include "hw/scsi/esp.h" -#include "hw/i386/pc.h" #include "hw/isa/isa.h" #include "hw/nvram/sun_nvram.h" #include "hw/nvram/chrp_nvram.h"
hw/watchdog/wdt_ib700.c +0 -1
@@ -25,7 +25,6 @@#include "sysemu/watchdog.h" #include "hw/hw.h" #include "hw/isa/isa.h" -#include "hw/i386/pc.h" /*#define IB700_DEBUG 1*/
Signature · 1 line
2.15.0.rc0
Hi Michael,
Since we are now in Soft Freeze, I'll respin this series rebased once the next merge window opens.
Quoted 5 lines · Philippe Mathieu-Daudé
Hi,
quite a bunch of patches and files modified, but the diffstat is not that big.
patches missing review: 2 3 16 20 21 33-37 39-41
In the meaning time patches 3 16 20 21 39 can still get some R|A-b :)
Regards,
Phil.
Quoted 72 lines
since v3:
- addressed Thomas & Paolo comments (thanks for your reviews!)
- split/fixedMAINTAINERSentries
- dropped port92 patch
- dropped i8237* patchesI couldn't test the KVM/XEN/HAX part (thanks Corey Minyard for v1 testing!).
since v2:
- added R-b, A-b
- added missingMAINTAINERSentries (as separate patches)
- dma/i82374: avoid multiple creations on the same ISA bus
- i386/pc: extract port92 frompc.c
- i386/pc: movevmport.c/pvpanic.cfrom hw/misc/ to hw/i386/v1:
- clean includes (mostly from script)
- code movement (about no logical changes)Regards,
Phil.
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively001/42:[----] [--] '
MAINTAINERS: add entries for i2c/ppc4xx'
002/42:[down] 'MAINTAINERS: add an entry for the i82374 (southbridge)' 003/42:[down] 'MAINTAINERS: add an entry for the i8257 (DMA controller)' 004/42:[----] [--] 'MAINTAINERS: add an entry for the i82378 (superio)' 005/42:[----] [-C] 'MAINTAINERS: add an entry for watchdog/wdt_ib700' 006/42:[----] [--] 'MAINTAINERS: add an entry forinput/pckbd.c' 007/42:[----] [--] 'MAINTAINERS: add entries for timer/m48t59'
008/42:[----] [--] 'MAINTAINERS: add missing entry forinclude/hw/net/' 009/42:[----] [--] 'hw: use "qemu/osdep.h" as first #include in source files' 010/42:[----] [--] 'hw: remove "qemu/osdep.h" from header files' 011/42:[----] [--] 'block: remove "qemu/osdep.h" from header file' 012/42:[----] [--] 'misc: remove headers implicitly included'
013/42:[----] [--] 'misc: remove duplicated includes'
014/42:[----] [--] 'ppc: remove duplicated includes'
015/42:[----] [--] 'i386/hax: remove duplicated includes'
016/42:[0013] [FC] 'i386/hax: remove duplicated include'
017/42:[----] [--] 'nios2: remove duplicated includes (in code commented out)' 018/42:[----] [--] 'misc: avoid "include/" in include path'
019/42:[----] [--] 'numa: remove unused #include'
020/42:[down] 'hw/input/vmmouse: remove unused #include'
021/42:[down] 'hw/misc/pvpanic: remove unused #include'
022/42:[----] [--] 'hw/ssi/aspeed_smc: remove unused #include'
023/42:[----] [--] 'amd_iommu: avoid needless includes in header file' 024/42:[0001] [FC] 'misc: remove old i386 dependency'
025/42:[----] [--] 'hw/ide: remove old i386 dependency'
026/42:[----] [--] 'hw/ipmi: remove old i386 dependency'
027/42:[----] [--] 'hw/i2c: remove old i386 dependency'
028/42:[----] [--] 'hw/tpm: remove old i386 dependency'
029/42:[----] [--] 'hw/virtio-balloon: remove old i386 dependency' 030/42:[0001] [FC] 'hw/unicore32: restrict hw addr defines to source file' 031/42:[----] [--] 'hw/timer/i8254: renamepit_init()->i8254_pit_init()' 032/42:[----] [-C] 'hw/timer/mc146818: renamertc_init()->mc146818_rtc_init()' 033/42:[0003] [FC] 'hw/acpi: ACPI_PM_* defines are not restricted to i386 arch' 034/42:[down] 'hw/acpi/ich9: extractACPI_PM_PROP_TCO_ENABLEDfrom i386/pc' 035/42:[down] 'hw/display/vga: "vga.h" only contains registers defs, rename it "vga_regs.h"' 036/42:[down] 'hw/display/vga: "vga_int.h" requires "ui/console.h"' 037/42:[down] 'hw/display/vga: extract public API from i386/pc to "hw/display/vga.h"' 038/42:[----] [-C] 'hw/net/ne2000: extract ne2k-isa code from i386/pc tone2000-isa.c' 039/42:[down] 'hw/misc/pvpanic: extract public API from i386/pc to "hw/misc/pvpanic.h"' 040/42:[down] 'i386/pc: movevmport.cto hw/i386/'
041/42:[down] 'i386/pc: movevmmouse.cto hw/i386/'
042/42:[----] [--] 'misc: drop old i386 dependency'
[...]
Quoted 5 lines · Philippe Mathieu-Daudé
Hi,
quite a bunch of patches and files modified, but the diffstat is not that big.
patches missing review: 2 3 16 20 21 33-37 39-41
All my stuff looks good. Series
If you like, and no one wants to, I can merge after the release.
Quoted 251 lines
since v3:
- addressed Thomas & Paolo comments (thanks for your reviews!)
- split/fixedMAINTAINERSentries
- dropped port92 patch
- dropped i8237* patchesI couldn't test the KVM/XEN/HAX part (thanks Corey Minyard for v1 testing!).
since v2:
- added R-b, A-b
- added missingMAINTAINERSentries (as separate patches)
- dma/i82374: avoid multiple creations on the same ISA bus
- i386/pc: extract port92 frompc.c
- i386/pc: movevmport.c/pvpanic.cfrom hw/misc/ to hw/i386/v1:
- clean includes (mostly from script)
- code movement (about no logical changes)Regards,
Phil.
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively001/42:[----] [--] '
MAINTAINERS: add entries for i2c/ppc4xx'
002/42:[down] 'MAINTAINERS: add an entry for the i82374 (southbridge)' 003/42:[down] 'MAINTAINERS: add an entry for the i8257 (DMA controller)' 004/42:[----] [--] 'MAINTAINERS: add an entry for the i82378 (superio)' 005/42:[----] [-C] 'MAINTAINERS: add an entry for watchdog/wdt_ib700' 006/42:[----] [--] 'MAINTAINERS: add an entry forinput/pckbd.c' 007/42:[----] [--] 'MAINTAINERS: add entries for timer/m48t59'
008/42:[----] [--] 'MAINTAINERS: add missing entry forinclude/hw/net/' 009/42:[----] [--] 'hw: use "qemu/osdep.h" as first #include in source files' 010/42:[----] [--] 'hw: remove "qemu/osdep.h" from header files' 011/42:[----] [--] 'block: remove "qemu/osdep.h" from header file' 012/42:[----] [--] 'misc: remove headers implicitly included'
013/42:[----] [--] 'misc: remove duplicated includes'
014/42:[----] [--] 'ppc: remove duplicated includes'
015/42:[----] [--] 'i386/hax: remove duplicated includes'
016/42:[0013] [FC] 'i386/hax: remove duplicated include'
017/42:[----] [--] 'nios2: remove duplicated includes (in code commented out)' 018/42:[----] [--] 'misc: avoid "include/" in include path'
019/42:[----] [--] 'numa: remove unused #include'
020/42:[down] 'hw/input/vmmouse: remove unused #include'
021/42:[down] 'hw/misc/pvpanic: remove unused #include'
022/42:[----] [--] 'hw/ssi/aspeed_smc: remove unused #include'
023/42:[----] [--] 'amd_iommu: avoid needless includes in header file' 024/42:[0001] [FC] 'misc: remove old i386 dependency'
025/42:[----] [--] 'hw/ide: remove old i386 dependency'
026/42:[----] [--] 'hw/ipmi: remove old i386 dependency'
027/42:[----] [--] 'hw/i2c: remove old i386 dependency'
028/42:[----] [--] 'hw/tpm: remove old i386 dependency'
029/42:[----] [--] 'hw/virtio-balloon: remove old i386 dependency' 030/42:[0001] [FC] 'hw/unicore32: restrict hw addr defines to source file' 031/42:[----] [--] 'hw/timer/i8254: renamepit_init()->i8254_pit_init()' 032/42:[----] [-C] 'hw/timer/mc146818: renamertc_init()->mc146818_rtc_init()' 033/42:[0003] [FC] 'hw/acpi: ACPI_PM_* defines are not restricted to i386 arch' 034/42:[down] 'hw/acpi/ich9: extractACPI_PM_PROP_TCO_ENABLEDfrom i386/pc' 035/42:[down] 'hw/display/vga: "vga.h" only contains registers defs, rename it "vga_regs.h"' 036/42:[down] 'hw/display/vga: "vga_int.h" requires "ui/console.h"' 037/42:[down] 'hw/display/vga: extract public API from i386/pc to "hw/display/vga.h"' 038/42:[----] [-C] 'hw/net/ne2000: extract ne2k-isa code from i386/pc tone2000-isa.c' 039/42:[down] 'hw/misc/pvpanic: extract public API from i386/pc to "hw/misc/pvpanic.h"' 040/42:[down] 'i386/pc: movevmport.cto hw/i386/'
041/42:[down] 'i386/pc: movevmmouse.cto hw/i386/'
042/42:[----] [--] 'misc: drop old i386 dependency'Philippe Mathieu-Daudé (42):
MAINTAINERS: add entries for i2c/ppc4xx
MAINTAINERS: add an entry for the i82374 (southbridge)
MAINTAINERS: add an entry for the i8257 (DMA controller)
MAINTAINERS: add an entry for the i82378 (superio)
MAINTAINERS: add an entry for watchdog/wdt_ib700
MAINTAINERS: add an entry forinput/pckbd.c
MAINTAINERS: add entries for timer/m48t59
MAINTAINERS: add missing entry forinclude/hw/net/
hw: use "qemu/osdep.h" as first #include in source files
hw: remove "qemu/osdep.h" from header files
block: remove "qemu/osdep.h" from header file
misc: remove headers implicitly included
misc: remove duplicated includes
ppc: remove duplicated includes
i386/hax: remove duplicated includes
i386/hax: remove duplicated include
nios2: remove duplicated includes (in code commented out)
misc: avoid "include/" in include path
numa: remove unused #include
hw/input/vmmouse: remove unused #include hw/misc/pvpanic: remove unused #include hw/ssi/aspeed_smc: remove unused #include
amd_iommu: avoid needless includes in header file
misc: remove old i386 dependency
hw/ide: remove old i386 dependency
hw/ipmi: remove old i386 dependency
hw/i2c: remove old i386 dependency
hw/tpm: remove old i386 dependency
hw/virtio-balloon: remove old i386 dependency hw/unicore32: restrict hw addr defines to source file hw/timer/i8254: renamepit_init()->i8254_pit_init()hw/timer/mc146818: renamertc_init()->mc146818_rtc_init()hw/acpi: ACPI_PM_* defines are not restricted to i386 arch hw/acpi/ich9: extractACPI_PM_PROP_TCO_ENABLEDfrom i386/pc hw/display/vga: "vga.h" only contains registers defs, rename it"vga_regs.h" hw/display/vga: "vga_int.h" requires "ui/console.h" hw/display/vga: extract public API from i386/pc to "hw/display/vga.h" hw/net/ne2000: extract ne2k-isa code from i386/pc to ne2000-isa.c hw/misc/pvpanic: extract public API from i386/pc to "hw/misc/pvpanic.h"i386/pc: move
vmport.cto hw/i386/
i386/pc: movevmmouse.cto hw/i386/
misc: drop old i386 dependencyblock/dmg.h | 1 - hw/audio/fmopl.h | 1 - hw/display/qxl.h | 1 - hw/display/vga_int.h | 3 ++- hw/display/{vga.h => vga_regs.h} | 0 hw/i386/amd_iommu.h | 5 ---- hw/net/ne2000.h | 3 +++ include/hw/acpi/acpi.h | 11 +++++++++ include/hw/acpi/ich9.h | 2 ++ include/hw/acpi/ipmi.h | 1 - include/hw/cpu/core.h | 1 - include/hw/display/vga.h | 25 +++++++++++++++++++ include/hw/i2c/ppc4xx_i2c.h | 1 - include/hw/i386/pc.h | 48 ------------------------------------- include/hw/misc/pvpanic.h | 21 ++++++++++++++++ include/hw/net/ne2000-isa.h | 33 +++++++++++++++++++++++++ include/hw/timer/i8254.h | 5 ++-- include/hw/timer/i8254_internal.h | 2 +- include/hw/timer/mc146818rtc.h | 3 ++- include/hw/unicore32/puv3.h | 10 -------- include/sysemu/hax.h | 1 - target/i386/hax-darwin.h | 3 --- target/i386/hax-windows.h | 3 --- target/nios2/cpu.h | 1 - accel/tcg/translate-all.c | 1 - bsd-user/main.c | 1 - chardev/wctablet.c | 4 ---- disas/nios2.c | 3 --- exec.c | 3 --- hw/acpi/core.c | 1 - hw/acpi/ipmi-stub.c | 1 + hw/alpha/dp264.c | 4 ++-- hw/arm/spitz.c | 1 - hw/audio/fmopl.c | 1 - hw/audio/pcspk.c | 1 - hw/char/debugcon.c | 1 - hw/char/xen_console.c | 1 - hw/core/machine.c | 1 - hw/cpu/core.c | 1 + hw/display/cirrus_vga.c | 1 - hw/display/vga-isa-mm.c | 4 +--- hw/display/vga-isa.c | 3 +-- hw/display/vga-pci.c | 1 - hw/display/vga.c | 5 ++-- hw/display/virtio-vga.c | 1 - hw/display/vmware_vga.c | 1 - hw/i2c/pm_smbus.c | 1 - hw/i2c/smbus_ich9.c | 1 - hw/i386/acpi-build.c | 2 +- hw/i386/amd_iommu.c | 5 +++- hw/i386/kvm/pci-assign.c | 1 - hw/i386/pc.c | 5 ++-- hw/i386/pci-assign-load-rom.c | 2 -- hw/{input => i386}/vmmouse.c | 1 - hw/{misc => i386}/vmport.c | 0 hw/i386/xen/xen_platform.c | 1 - hw/ide/ahci.c | 1 - hw/ide/cmd646.c | 1 - hw/ide/core.c | 3 +-- hw/ide/ich.c | 1 - hw/ide/isa.c | 1 - hw/ide/microdrive.c | 1 - hw/ide/pci.c | 1 - hw/ide/piix.c | 2 +- hw/ide/via.c | 1 - hw/input/adb.c | 2 +- hw/intc/lm32_pic.c | 1 - hw/ipmi/isa_ipmi_bt.c | 1 - hw/ipmi/isa_ipmi_kcs.c | 1 - hw/isa/i82378.c | 5 ++-- hw/isa/vt82c686.c | 1 - hw/mips/mips_fulong2e.c | 4 ++-- hw/mips/mips_jazz.c | 5 ++-- hw/mips/mips_malta.c | 4 ++-- hw/mips/mips_r4k.c | 5 ++-- hw/misc/ivshmem.c | 1 - hw/misc/pvpanic.c | 12 ++++------ hw/misc/sga.c | 1 - hw/moxie/moxiesim.c | 1 - hw/net/ne2000-isa.c | 6 ++--- hw/net/ne2000.c | 2 -- hw/nios2/boot.c | 1 - hw/pci-bridge/pci_expander_bridge.c | 1 - hw/ppc/pnv.c | 2 +- hw/ppc/prep.c | 1 + hw/ppc/spapr_cpu_core.c | 1 + hw/ppc/spapr_hcall.c | 1 - hw/s390x/css.c | 1 - hw/scsi/vhost-user-scsi.c | 1 - hw/smbios/smbios_type_38-stub.c | 1 + hw/sparc/sun4m.c | 1 - hw/ssi/aspeed_smc.c | 3 +-- hw/timer/i8254.c | 1 - hw/timer/i8254_common.c | 1 - hw/timer/mc146818rtc.c | 2 +- hw/tpm/tpm_passthrough.c | 1 - hw/tpm/tpm_tis.c | 1 - hw/unicore32/puv3.c | 15 ++++++++---- hw/vfio/ccw.c | 2 +- hw/virtio/vhost-vsock.c | 2 +- hw/virtio/virtio-balloon.c | 2 +- hw/watchdog/wdt_ib700.c | 1 - linux-user/main.c | 1 - monitor.c | 1 - net/colo-compare.c | 1 - numa.c | 1 - target/i386/hax-darwin.c | 6 +---- target/nios2/helper.c | 5 +--- target/nios2/op_helper.c | 1 + target/nios2/translate.c | 1 + target/openrisc/exception_helper.c | 1 - target/ppc/kvm.c | 3 --- tests/test-aio-multithread.c | 1 - tests/test-clone-visitor.c | 1 - tests/vhost-user-test.c | 1 - tests/vmgenid-test.c | 3 --- util/qemu-sockets.c | 1 - vl.c | 3 +-- MAINTAINERS | 13 +++++++++- hw/i386/Makefile.objs | 2 ++ hw/input/Makefile.objs | 1 - hw/misc/Makefile.objs | 2 -- 122 files changed, 179 insertions(+), 221 deletions(-) rename hw/display/{vga.h => vga_regs.h} (100%) create mode 100644 include/hw/display/vga.h create mode 100644 include/hw/misc/pvpanic.h create mode 100644 include/hw/net/ne2000-isa.h rename hw/{input => i386}/vmmouse.c (99%) rename hw/{misc => i386}/vmport.c (100%)Signature · 1 line
2.15.0.rc0