make: move generated headers to qemu-build/
Subsystems (11)
PATCH v2 1/2 make: move generated headers to qemu-build/
Make sure all generated files go into qemu-build subdirectory. We can then include them like this:
#include "qemu-build/trace.h"
This serves two purposes:
- make it easy to detect which files are in the source directory (a bit more work for writers, easier for readers)
- reduce chances of conflicts with possible stale files in source directory (which could be left over from e.g. old patches, etc)
This patch needs to be merged with patch 2 of series updating all
files: sending it separately to avoid spamming the list.
--- configure | 6 +- Makefile | 412 +++++++++++++++++++++++++++------------------------- rules.mak | 5 +- .gitignore | 1 + Makefile.objs | 144 +++++++++--------- Makefile.target | 21 +-- trace/Makefile.objs | 15 +- 7 files changed, 313 insertions(+), 291 deletions(-)
configure +4 -2
@@ -6638,6 +6638,8 @@ if test "$gcov" = "yes" ; then echo "GCOV=$gcov_tool" >> $config_host_mak fi +mkdir -p qemu-build + # use included Linux headers if test "$linux" = "yes" ; then mkdir -p linux-headers
@@ -7046,10 +7048,10 @@ echo "QEMU_CFLAGS+=$cflags" >> $config_target_mak done # for target in $targets if [ "$dtc_internal" = "yes" ]; then - echo "config-host.h: subdir-dtc" >> $config_host_mak + echo "qemu-build/config-host.h: subdir-dtc" >> $config_host_mak fi if [ "$capstone" = "git" -o "$capstone" = "internal" ]; then - echo "config-host.h: subdir-capstone" >> $config_host_mak + echo "qemu-build/config-host.h: subdir-capstone" >> $config_host_mak fi if test -n "$LIBCAPSTONE"; then echo "LIBCAPSTONE=$LIBCAPSTONE" >> $config_host_mak
Makefile +212 -200
560 lines not on this page · raw message
rules.mak +3 -2
@@ -191,10 +191,11 @@ TRACETOOL=$(PYTHON) $(SRC_PATH)/scripts/tracetool.py # Generate timestamp files for .h include files -config-%.h: config-%.h-timestamp +qemu-build/config-%.h: qemu-build/config-%.h-timestamp @cmp $< $@ >/dev/null 2>&1 || cp $< $@ -config-%.h-timestamp: config-%.mak $(SRC_PATH)/scripts/create_config +qemu-build/config-%.h-timestamp: config-%.mak $(SRC_PATH)/scripts/create_config + $(call quiet-command,mkdir -p $(dir $@), "MKDIR $(dir $@)") $(call quiet-command, sh $(SRC_PATH)/scripts/create_config < $< > $@,"GEN","$(TARGET_DIR)config-$*.h") .PHONY: clean-timestamp
.gitignore +1 -0
@@ -1,3 +1,4 @@ +**/qemu-build/ /config-devices.* /config-all-devices.* /config-all-disas.*
Makefile.objs +72 -72
156 lines not on this page · raw message
Makefile.target +12 -9
@@ -36,8 +36,8 @@ endif PROGS=$(QEMU_PROG) $(QEMU_PROGW) STPFILES= -config-target.h: config-target.h-timestamp -config-target.h-timestamp: config-target.mak +qemu-build/config-target.h: qemu-build/config-target.h-timestamp +qemu-build/config-target.h-timestamp: config-target.mak ifdef CONFIG_TRACE_SYSTEMTAP stap: $(QEMU_PROG).stp-installed $(QEMU_PROG).stp $(QEMU_PROG)-simpletrace.stp
@@ -100,7 +100,7 @@ obj-$(CONFIG_TCG_INTERPRETER) += disas/tci.o obj-y += fpu/softfloat.o obj-y += target/$(TARGET_BASE_ARCH)/ obj-y += disas.o -obj-$(call notempty,$(TARGET_XML_FILES)) += gdbstub-xml.o +obj-$(call notempty,$(TARGET_XML_FILES)) += qemu-build/gdbstub-xml.o ######################################################### # Linux user emulator target
@@ -148,7 +148,7 @@ else obj-y += hw/$(TARGET_BASE_ARCH)/ endif -GENERATED_FILES += hmp-commands.h hmp-commands-info.h +GENERATED_FILES += qemu-build/hmp-commands.h qemu-build/hmp-commands-info.h endif # CONFIG_SOFTMMU
@@ -196,19 +196,22 @@ ifdef CONFIG_DARWIN $(call quiet-command,SetFile -a C $@,"SETFILE","$(TARGET_DIR)$@") endif -gdbstub-xml.c: $(TARGET_XML_FILES) $(SRC_PATH)/scripts/feature_to_c.sh +qemu-build/gdbstub-xml.c: $(TARGET_XML_FILES) $(SRC_PATH)/scripts/feature_to_c.sh + $(call quiet-command,mkdir -p $(dir $@), "MKDIR $(dir $@)") $(call quiet-command,rm -f $@ && $(SHELL) $(SRC_PATH)/scripts/feature_to_c.sh $@ $(TARGET_XML_FILES),"GEN","$(TARGET_DIR)$@") -hmp-commands.h: $(SRC_PATH)/hmp-commands.hx $(SRC_PATH)/scripts/hxtool +qemu-build/hmp-commands.h: $(SRC_PATH)/hmp-commands.hx $(SRC_PATH)/scripts/hxtool + $(call quiet-command,mkdir -p $(dir $@), "MKDIR $(dir $@)") $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -h < $< > $@,"GEN","$(TARGET_DIR)$@") -hmp-commands-info.h: $(SRC_PATH)/hmp-commands-info.hx $(SRC_PATH)/scripts/hxtool +qemu-build/hmp-commands-info.h: $(SRC_PATH)/hmp-commands-info.hx $(SRC_PATH)/scripts/hxtool + $(call quiet-command,mkdir -p $(dir $@), "MKDIR $(dir $@)") $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -h < $< > $@,"GEN","$(TARGET_DIR)$@") clean: clean-target rm -f *.a *~ $(PROGS) rm -f $(shell find . -name '*.[od]') - rm -f hmp-commands.h gdbstub-xml.c + rm -f qemu-build/hmp-commands.h qemu-build/gdbstub-xml.c ifdef CONFIG_TRACE_SYSTEMTAP rm -f *.stp endif
@@ -223,5 +226,5 @@ ifdef CONFIG_TRACE_SYSTEMTAP $(INSTALL_DATA) $(QEMU_PROG)-simpletrace.stp "$(DESTDIR)$(qemu_datadir)/../systemtap/tapset/$(QEMU_PROG)-simpletrace.stp" endif -GENERATED_FILES += config-target.h +GENERATED_FILES += qemu-build/config-target.h Makefile: $(GENERATED_FILES)
trace/Makefile.objs +9 -6
@@ -7,18 +7,20 @@ $(BUILD_DIR)/trace-events-all: $(trace-events-files) ################################################## # Translation level -$(obj)/generated-helpers-wrappers.h: $(obj)/generated-helpers-wrappers.h-timestamp +qemu-build/$(obj)/generated-helpers-wrappers.h: qemu-build/$(obj)/generated-helpers-wrappers.h-timestamp @cmp $< $@ >/dev/null 2>&1 || cp $< $@ -$(obj)/generated-helpers-wrappers.h-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/config-host.mak $(tracetool-y) +qemu-build/$(obj)/generated-helpers-wrappers.h-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/config-host.mak $(tracetool-y) + $(call quiet-command,mkdir -p $(dir $@), "MKDIR $(dir $@)") $(call quiet-command,$(TRACETOOL) \ --group=root \ --format=tcg-helper-wrapper-h \ --backend=$(TRACE_BACKENDS) \ $< > $@,"GEN","$(patsubst %-timestamp,%,$@)") -$(obj)/generated-helpers.h: $(obj)/generated-helpers.h-timestamp +qemu-build/$(obj)/generated-helpers.h: qemu-build/$(obj)/generated-helpers.h-timestamp @cmp $< $@ >/dev/null 2>&1 || cp $< $@ -$(obj)/generated-helpers.h-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/config-host.mak $(tracetool-y) +qemu-build/$(obj)/generated-helpers.h-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/config-host.mak $(tracetool-y) + $(call quiet-command,mkdir -p $(dir $@), "MKDIR $(dir $@)") $(call quiet-command,$(TRACETOOL) \ --group=root \ --format=tcg-helper-h \
@@ -39,9 +41,10 @@ $(obj)/generated-helpers.o: $(obj)/generated-helpers.c target-obj-y += generated-helpers.o -$(obj)/generated-tcg-tracers.h: $(obj)/generated-tcg-tracers.h-timestamp +qemu-build/$(obj)/generated-tcg-tracers.h: qemu-build/$(obj)/generated-tcg-tracers.h-timestamp @cmp $< $@ >/dev/null 2>&1 || cp $< $@ -$(obj)/generated-tcg-tracers.h-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/config-host.mak $(tracetool-y) +qemu-build/$(obj)/generated-tcg-tracers.h-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/config-host.mak $(tracetool-y) + $(call quiet-command,mkdir -p $(dir $@), "MKDIR $(dir $@)") $(call quiet-command,$(TRACETOOL) \ --group=root \ --format=tcg-h \
Signature · 1 line
MST
PATCH v2 2/2 qemu: move generated files to qemu-build
See patch 1 for description and motivation.
--- docs/devel/build-system.txt | 2 +- docs/devel/tracing.txt | 6 +++--- crypto/cipherpriv.h | 2 +- include/block/block.h | 2 +- include/block/dirty-bitmap.h | 2 +- include/block/nbd.h | 2 +- include/chardev/char.h | 2 +- include/crypto/cipher.h | 2 +- include/crypto/hash.h | 2 +- include/crypto/hmac.h | 2 +- include/crypto/secret.h | 2 +- include/crypto/tlscreds.h | 2 +- include/exec/cpu_ldst_template.h | 2 +- include/exec/cpu_ldst_useronly_template.h | 2 +- include/exec/helper-gen.h | 4 ++-- include/exec/helper-proto.h | 2 +- include/exec/helper-tcg.h | 2 +- include/hw/block/block.h | 2 +- include/hw/block/fdc.h | 2 +- include/hw/ppc/spapr_drc.h | 2 +- include/hw/qdev-properties.h | 4 ++-- include/hw/xen/xen_common.h | 2 +- include/io/dns-resolver.h | 2 +- include/migration/colo.h | 2 +- include/migration/failover.h | 2 +- include/migration/global_state.h | 2 +- include/monitor/monitor.h | 2 +- include/net/filter.h | 2 +- include/net/net.h | 2 +- include/qapi/error.h | 2 +- include/qapi/qmp/qobject.h | 2 +- include/qapi/visitor.h | 2 +- include/qemu/osdep.h | 4 ++-- include/qemu/sockets.h | 2 +- include/qemu/throttle.h | 2 +- include/qom/cpu.h | 2 +- include/qom/object.h | 2 +- include/sysemu/arch_init.h | 2 +- include/sysemu/balloon.h | 2 +- include/sysemu/dump.h | 2 +- include/sysemu/hostmem.h | 2 +- include/sysemu/replay.h | 4 ++-- include/sysemu/sysemu.h | 2 +- include/sysemu/tpm.h | 2 +- include/sysemu/watchdog.h | 2 +- include/sysemu/whpx.h | 2 +- include/trace-tcg.h | 2 +- include/ui/console.h | 2 +- include/ui/input.h | 2 +- migration/migration.h | 2 +- migration/ram.h | 2 +- net/tap_int.h | 2 +- qemu-options-wrapper.h | 2 +- replication.h | 2 +- target/s390x/cpu_models.h | 2 +- ui/vnc.h | 2 +- accel/kvm/kvm-all.c | 2 +- accel/tcg/cpu-exec.c | 2 +- accel/tcg/translate-all.c | 2 +- arch_init.c | 2 +- audio/alsaaudio.c | 2 +- audio/ossaudio.c | 2 +- backends/hostmem.c | 2 +- balloon.c | 4 ++-- block.c | 6 +++--- block/backup.c | 2 +- block/block-backend.c | 4 ++-- block/commit.c | 2 +- block/create.c | 2 +- block/crypto.c | 2 +- block/dirty-bitmap.c | 2 +- block/file-posix.c | 2 +- block/file-win32.c | 2 +- block/io.c | 2 +- block/iscsi.c | 2 +- block/mirror.c | 2 +- block/nbd.c | 2 +- block/nfs.c | 4 ++-- block/nvme.c | 2 +- block/qapi.c | 4 ++-- block/qcow2-cache.c | 2 +- block/qcow2-cluster.c | 2 +- block/qcow2.c | 6 +++--- block/qed-l2-cache.c | 2 +- block/qed-table.c | 2 +- block/qed.c | 2 +- block/quorum.c | 2 +- block/rbd.c | 2 +- block/sheepdog.c | 4 ++-- block/ssh.c | 4 ++-- block/stream.c | 2 +- block/throttle-groups.c | 2 +- block/vxhs.c | 2 +- block/write-threshold.c | 4 ++-- blockdev-nbd.c | 2 +- blockdev.c | 8 ++++---- blockjob.c | 2 +- bsd-user/main.c | 2 +- chardev/char-ringbuf.c | 2 +- chardev/char-socket.c | 2 +- chardev/char.c | 2 +- chardev/spice.c | 2 +- chardev/wctablet.c | 2 +- cpus.c | 4 ++-- crypto/secret.c | 2 +- crypto/tlscreds.c | 2 +- crypto/tlscredsanon.c | 2 +- crypto/tlscredsx509.c | 2 +- crypto/tlssession.c | 2 +- dma-helpers.c | 2 +- dump.c | 4 ++-- exec.c | 2 +- gdbstub.c | 2 +- hmp.c | 20 +++++++++---------- hw/9pfs/9p.c | 2 +- hw/acpi/core.c | 4 ++-- hw/acpi/cpu.c | 4 ++-- hw/acpi/memory_hotplug.c | 4 ++-- hw/acpi/tco.c | 2 +- hw/acpi/vmgenid.c | 2 +- hw/alpha/pci.c | 2 +- hw/arm/iotkit.c | 2 +- hw/arm/virt-acpi-build.c | 2 +- hw/audio/cs4231.c | 2 +- hw/audio/milkymist-ac97.c | 2 +- hw/block/block.c | 2 +- hw/block/dataplane/virtio-blk.c | 2 +- hw/block/hd-geometry.c | 4 ++-- hw/block/nvme.c | 2 +- hw/block/virtio-blk.c | 2 +- hw/block/xen_disk.c | 2 +- hw/char/cmsdk-apb-uart.c | 2 +- hw/char/escc.c | 2 +- hw/char/grlib_apbuart.c | 2 +- hw/char/lm32_juart.c | 2 +- hw/char/lm32_uart.c | 2 +- hw/char/milkymist-uart.c | 2 +- hw/char/pl011.c | 2 +- hw/char/virtio-console.c | 4 ++-- hw/char/virtio-serial-bus.c | 2 +- hw/core/machine.c | 2 +- hw/core/qdev.c | 2 +- hw/display/cirrus_vga.c | 2 +- hw/display/g364fb.c | 2 +- hw/display/jazz_led.c | 2 +- hw/display/milkymist-tmu2.c | 2 +- hw/display/milkymist-vgafb.c | 2 +- hw/display/qxl-render.c | 2 +- hw/display/qxl.c | 2 +- hw/display/sii9022.c | 2 +- hw/display/vga.c | 2 +- hw/display/virtio-gpu-3d.c | 2 +- hw/display/virtio-gpu.c | 2 +- hw/display/vmware_vga.c | 2 +- hw/display/xenfb.c | 2 +- hw/dma/i8257.c | 2 +- hw/dma/rc4030.c | 2 +- hw/dma/sparc32_dma.c | 2 +- hw/hppa/pci.c | 2 +- hw/i386/amd_iommu.c | 2 +- hw/i386/intel_iommu.c | 2 +- hw/i386/pc.c | 2 +- hw/i386/vmport.c | 2 +- hw/i386/x86-iommu.c | 2 +- hw/i386/xen/xen-hvm.c | 4 ++-- hw/i386/xen/xen-mapcache.c | 2 +- hw/i386/xen/xen_platform.c | 2 +- hw/i386/xen/xen_pvdevice.c | 2 +- hw/ide/ahci-allwinner.c | 2 +- hw/ide/ahci.c | 2 +- hw/ide/atapi.c | 2 +- hw/ide/cmd646.c | 2 +- hw/ide/core.c | 2 +- hw/ide/pci.c | 2 +- hw/ide/piix.c | 2 +- hw/ide/sii3112.c | 2 +- hw/ide/via.c | 2 +- hw/input/adb-kbd.c | 2 +- hw/input/adb-mouse.c | 2 +- hw/input/hid.c | 2 +- hw/input/milkymist-softusb.c | 2 +- hw/input/ps2.c | 2 +- hw/input/virtio-input.c | 2 +- hw/intc/apic.c | 2 +- hw/intc/apic_common.c | 2 +- hw/intc/arm_gic.c | 2 +- hw/intc/arm_gicv3_cpuif.c | 2 +- hw/intc/arm_gicv3_dist.c | 2 +- hw/intc/arm_gicv3_redist.c | 2 +- hw/intc/armv7m_nvic.c | 2 +- hw/intc/aspeed_vic.c | 2 +- hw/intc/grlib_irqmp.c | 2 +- hw/intc/heathrow_pic.c | 2 +- hw/intc/i8259.c | 2 +- hw/intc/ioapic.c | 2 +- hw/intc/lm32_pic.c | 2 +- hw/intc/s390_flic.c | 2 +- hw/intc/s390_flic_kvm.c | 2 +- hw/intc/slavio_intctl.c | 2 +- hw/intc/xics.c | 2 +- hw/intc/xics_kvm.c | 2 +- hw/intc/xics_spapr.c | 2 +- hw/ipmi/ipmi.c | 2 +- hw/isa/pc87312.c | 2 +- hw/mem/pc-dimm.c | 2 +- hw/misc/aspeed_scu.c | 2 +- hw/misc/aspeed_sdmc.c | 2 +- hw/misc/eccmemctl.c | 2 +- hw/misc/imx7_gpr.c | 2 +- hw/misc/iotkit-secctl.c | 2 +- hw/misc/macio/cuda.c | 2 +- hw/misc/milkymist-hpdmc.c | 2 +- hw/misc/milkymist-pfpu.c | 2 +- hw/misc/mmio_interface.c | 2 +- hw/misc/mos6522.c | 2 +- hw/misc/mps2-fpgaio.c | 2 +- hw/misc/mps2-scc.c | 2 +- hw/misc/msf2-sysreg.c | 2 +- hw/misc/slavio_misc.c | 2 +- hw/misc/tz-ppc.c | 2 +- hw/net/e1000e.c | 2 +- hw/net/e1000e_core.c | 2 +- hw/net/e1000x_common.c | 2 +- hw/net/lance.c | 2 +- hw/net/milkymist-minimac2.c | 2 +- hw/net/mipsnet.c | 2 +- hw/net/net_rx_pkt.c | 2 +- hw/net/opencores_eth.c | 2 +- hw/net/pcnet-pci.c | 2 +- hw/net/pcnet.c | 2 +- hw/net/rocker/qmp-norocker.c | 2 +- hw/net/rocker/rocker.c | 2 +- hw/net/rocker/rocker_fp.c | 2 +- hw/net/rocker/rocker_of_dpa.c | 2 +- hw/net/spapr_llan.c | 2 +- hw/net/sungem.c | 2 +- hw/net/sunhme.c | 2 +- hw/net/virtio-net.c | 2 +- hw/nvram/ds1225y.c | 2 +- hw/nvram/fw_cfg.c | 2 +- hw/pci-host/grackle.c | 2 +- hw/pci-host/sabre.c | 2 +- hw/pci-host/uninorth.c | 2 +- hw/pci/msix.c | 2 +- hw/pci/pci-stub.c | 2 +- hw/pci/pci.c | 4 ++-- hw/pci/pci_host.c | 2 +- hw/ppc/mac_newworld.c | 2 +- hw/ppc/ppc.c | 2 +- hw/ppc/ppc440_pcix.c | 2 +- hw/ppc/ppc4xx_pci.c | 2 +- hw/ppc/prep.c | 2 +- hw/ppc/prep_systemio.c | 2 +- hw/ppc/rs6000_mc.c | 2 +- hw/ppc/spapr.c | 2 +- hw/ppc/spapr_drc.c | 2 +- hw/ppc/spapr_hcall.c | 2 +- hw/ppc/spapr_iommu.c | 2 +- hw/ppc/spapr_ovec.c | 2 +- hw/ppc/spapr_pci.c | 2 +- hw/ppc/spapr_rtas.c | 2 +- hw/ppc/spapr_rtas_ddw.c | 2 +- hw/ppc/spapr_rtc.c | 2 +- hw/ppc/spapr_vio.c | 2 +- hw/rdma/rdma_backend.c | 2 +- hw/rdma/vmw/pvrdma_main.c | 2 +- hw/s390x/css.c | 2 +- hw/s390x/s390-skeys.c | 2 +- hw/s390x/virtio-ccw.c | 2 +- hw/scsi/esp-pci.c | 2 +- hw/scsi/esp.c | 2 +- hw/scsi/megasas.c | 2 +- hw/scsi/mptconfig.c | 2 +- hw/scsi/mptendian.c | 2 +- hw/scsi/mptsas.c | 2 +- hw/scsi/scsi-bus.c | 2 +- hw/scsi/spapr_vscsi.c | 2 +- hw/scsi/vmw_pvscsi.c | 2 +- hw/sd/core.c | 2 +- hw/sd/milkymist-memcard.c | 2 +- hw/sd/pxa2xx_mmci.c | 2 +- hw/sd/sd.c | 2 +- hw/sd/sdhci.c | 2 +- hw/sparc/leon3.c | 2 +- hw/sparc/sun4m.c | 2 +- hw/sparc/sun4m_iommu.c | 2 +- hw/sparc64/sparc64.c | 2 +- hw/sparc64/sun4u.c | 2 +- hw/sparc64/sun4u_iommu.c | 2 +- hw/timer/armv7m_systick.c | 2 +- hw/timer/aspeed_timer.c | 2 +- hw/timer/cmsdk-apb-timer.c | 2 +- hw/timer/grlib_gptimer.c | 2 +- hw/timer/lm32_timer.c | 2 +- hw/timer/mc146818rtc.c | 4 ++-- hw/timer/milkymist-sysctl.c | 2 +- hw/timer/slavio_timer.c | 2 +- hw/timer/xlnx-zynqmp-rtc.c | 2 +- hw/tpm/tpm_crb.c | 2 +- hw/tpm/tpm_emulator.c | 4 ++-- hw/tpm/tpm_passthrough.c | 4 ++-- hw/tpm/tpm_tis.c | 2 +- hw/tpm/tpm_util.c | 2 +- hw/usb/bus.c | 2 +- hw/usb/combined-packet.c | 2 +- hw/usb/core.c | 2 +- hw/usb/desc.c | 2 +- hw/usb/dev-hub.c | 2 +- hw/usb/dev-mtp.c | 2 +- hw/usb/dev-uas.c | 2 +- hw/usb/hcd-ehci.c | 2 +- hw/usb/hcd-ohci.c | 2 +- hw/usb/hcd-uhci.c | 2 +- hw/usb/hcd-xhci.c | 2 +- hw/usb/host-libusb.c | 2 +- hw/vfio/common.c | 2 +- hw/vfio/pci-quirks.c | 2 +- hw/vfio/pci.c | 2 +- hw/vfio/platform.c | 2 +- hw/vfio/spapr.c | 2 +- hw/virtio/vhost-user.c | 2 +- hw/virtio/vhost.c | 2 +- hw/virtio/virtio-balloon.c | 4 ++-- hw/virtio/virtio-rng.c | 2 +- hw/virtio/virtio.c | 2 +- hw/watchdog/watchdog.c | 4 ++-- io/channel-buffer.c | 2 +- io/channel-command.c | 2 +- io/channel-file.c | 2 +- io/channel-socket.c | 4 ++-- io/channel-tls.c | 2 +- io/channel-websock.c | 2 +- io/dns-resolver.c | 2 +- io/task.c | 2 +- ioport.c | 2 +- iothread.c | 2 +- linux-user/main.c | 2 +- linux-user/signal.c | 2 +- memory.c | 2 +- migration/channel.c | 2 +- migration/colo-comm.c | 2 +- migration/colo-failover.c | 4 ++-- migration/colo.c | 4 ++-- migration/exec.c | 2 +- migration/fd.c | 2 +- migration/global_state.c | 2 +- migration/migration.c | 6 +++--- migration/postcopy-ram.c | 2 +- migration/qemu-file.c | 2 +- migration/ram.c | 4 ++-- migration/rdma.c | 2 +- migration/savevm.c | 6 +++--- migration/socket.c | 2 +- migration/tls.c | 2 +- migration/vmstate-types.c | 2 +- migration/vmstate.c | 2 +- monitor.c | 12 ++++++------ nbd/client.c | 2 +- nbd/common.c | 2 +- nbd/server.c | 2 +- net/colo-compare.c | 2 +- net/colo.c | 2 +- net/filter-buffer.c | 2 +- net/filter-mirror.c | 2 +- net/filter-rewriter.c | 2 +- net/net.c | 4 ++-- net/vhost-user.c | 4 ++-- numa.c | 4 ++-- qapi/qapi-visit-core.c | 2 +- qdev-monitor.c | 2 +- qemu-img.c | 8 ++++---- qemu-io.c | 2 +- qemu-nbd.c | 2 +- qga/main.c | 2 +- qmp.c | 8 ++++---- qom/cpu.c | 2 +- qom/object.c | 4 ++-- replay/replay-input.c | 2 +- scsi/pr-manager.c | 2 +- scsi/qemu-pr-helper.c | 2 +- stubs/tpm.c | 2 +- stubs/uuid.c | 2 +- stubs/vmgenid.c | 2 +- stubs/xen-hvm.c | 2 +- target/arm/helper.c | 2 +- target/arm/monitor.c | 2 +- target/i386/cpu.c | 4 ++-- target/i386/kvm.c | 2 +- target/mips/translate.c | 2 +- target/ppc/kvm.c | 2 +- target/s390x/cpu.c | 6 +++--- target/s390x/cpu_features.c | 2 +- target/s390x/ioinst.c | 2 +- target/s390x/kvm.c | 2 +- target/s390x/mmu_helper.c | 2 +- target/s390x/sigp.c | 4 ++-- target/sparc/int32_helper.c | 2 +- target/sparc/int64_helper.c | 2 +- target/sparc/mmu_helper.c | 2 +- target/sparc/win_helper.c | 2 +- tests/qmp-test.c | 4 ++-- tests/tcg/test_path.c | 2 +- tests/test-char.c | 2 +- tests/test-qmp-cmds.c | 6 +++--- tests/test-qmp-event.c | 2 +- tests/test-qobject-input-visitor.c | 6 +++--- tpm.c | 2 +- trace/control-target.c | 2 +- trace/control.c | 4 ++-- trace/ftrace.c | 2 +- trace/qmp.c | 2 +- ui/console.c | 4 ++-- ui/gtk-egl.c | 2 +- ui/gtk-gl-area.c | 2 +- ui/gtk.c | 4 ++-- ui/input-keymap.c | 32 +++++++++++++++---------------- ui/input-legacy.c | 2 +- ui/input.c | 4 ++-- ui/keymaps.c | 2 +- ui/shader.c | 6 +++--- ui/spice-core.c | 4 ++-- ui/spice-display.c | 2 +- ui/vnc-auth-sasl.c | 2 +- ui/vnc-auth-vencrypt.c | 2 +- ui/vnc-ws.c | 2 +- ui/vnc.c | 6 +++--- ui/x_keymap.c | 2 +- util/aio-posix.c | 2 +- util/async.c | 2 +- util/buffer.c | 2 +- util/hbitmap.c | 2 +- util/lockcnt.c | 2 +- util/oslib-posix.c | 2 +- util/oslib-win32.c | 2 +- util/qemu-config.c | 2 +- util/qemu-coroutine-lock.c | 2 +- util/qemu-coroutine.c | 2 +- util/qemu-sockets.c | 2 +- util/qemu-thread-posix.c | 2 +- util/qemu-thread-win32.c | 2 +- util/thread-pool.c | 2 +- util/vfio-helpers.c | 4 ++-- vl.c | 14 +++++++------- scripts/qapi/types.py | 6 +++--- scripts/qapi/visit.py | 6 +++--- scripts/tracetool/backend/dtrace.py | 4 ++-- scripts/tracetool/format/c.py | 4 ++-- scripts/tracetool/format/tcg_h.py | 4 ++-- scripts/tracetool/format/tcg_helper_c.py | 4 ++-- target/s390x/Makefile.objs | 7 ++++--- trace-events | 2 +- ui/cocoa.m | 4 ++-- version.rc | 2 +- 453 files changed, 571 insertions(+), 570 deletions(-)
docs/devel/build-system.txt +1 -1
@@ -385,7 +385,7 @@ block/Makefile.objs If there are any rules defined in the Makefile.objs file, they should all use $(obj) as a prefix to the target, e.g. - $(obj)/generated-tcg-tracers.h: $(obj)/generated-tcg-tracers.h-timestamp + qemu-build/$(obj)/generated-tcg-tracers.h: qemu-build/$(obj)/generated-tcg-tracers.h-timestamp - Makefile.target
docs/devel/tracing.txt +3 -3
@@ -52,7 +52,7 @@ In the sub-directory the following files will be automatically generated Source files in the sub-directory should #include the local 'trace.h' file, without any sub-directory path prefix. eg io/channel-buffer.c would do - #include "trace.h" + #include "qemu-build/trace.h" To access the 'io/trace.h' file. While it is possible to include a trace.h file from outside a source files' own sub-directory, this is discouraged in
@@ -67,7 +67,7 @@ a trace.h in the current directory, vs the top level directory. Trace events are invoked directly from source code like this: - #include "trace.h" /* needed for trace event prototype */ + #include "qemu-build/trace.h" /* needed for trace event prototype */ void *qemu_vmalloc(size_t size) {
@@ -333,7 +333,7 @@ performed to generate values that are only used as arguments for a trace function. In these cases you can use the macro 'TRACE_${EVENT_NAME}_ENABLED' to guard such computations and avoid its compilation when the event is disabled: - #include "trace.h" /* needed for trace event prototype */ + #include "qemu-build/trace.h" /* needed for trace event prototype */ void *qemu_vmalloc(size_t size) {
crypto/cipherpriv.h +1 -1
@@ -15,7 +15,7 @@#ifndef QCRYPTO_CIPHERPRIV_H #define QCRYPTO_CIPHERPRIV_H -#include "qapi/qapi-types-crypto.h" +#include "qemu-build/qapi/qapi-types-crypto.h" typedef struct QCryptoCipherDriver QCryptoCipherDriver ;
include/block/block.h +1 -1
@@ -2,7 +2,7 @@#define BLOCK_H #include "block/aio.h" -#include "qapi/qapi-types-block-core.h" +#include "qemu-build/qapi/qapi-types-block-core.h" #include "block/aio-wait.h" #include "qemu/iov.h" #include "qemu/coroutine.h"
include/block/dirty-bitmap.h +1 -1
@@ -2,7 +2,7 @@#define BLOCK_DIRTY_BITMAP_H #include "qemu-common.h" -#include "qapi/qapi-types-block-core.h" +#include "qemu-build/qapi/qapi-types-block-core.h" #include "qemu/hbitmap.h" BdrvDirtyBitmap *bdrv_create_dirty_bitmap(BlockDriverState *bs,
include/block/nbd.h +1 -1
@@ -20,7 +20,7 @@#ifndef NBD_H #define NBD_H -#include "qapi/qapi-types-block.h" +#include "qemu-build/qapi/qapi-types-block.h" #include "io/channel-socket.h" #include "crypto/tlscreds.h"
include/chardev/char.h +1 -1
@@ -1,7 +1,7 @@#ifndef QEMU_CHAR_H #define QEMU_CHAR_H -#include "qapi/qapi-types-char.h" +#include "qemu-build/qapi/qapi-types-char.h" #include "qemu/main-loop.h" #include "qemu/bitmap.h" #include "qom/object.h"
include/crypto/cipher.h +1 -1
@@ -21,7 +21,7 @@#ifndef QCRYPTO_CIPHER_H #define QCRYPTO_CIPHER_H -#include "qapi/qapi-types-crypto.h" +#include "qemu-build/qapi/qapi-types-crypto.h" typedef struct QCryptoCipher QCryptoCipher ;
include/crypto/hash.h +1 -1
@@ -21,7 +21,7 @@#ifndef QCRYPTO_HASH_H #define QCRYPTO_HASH_H -#include "qapi/qapi-types-crypto.h" +#include "qemu-build/qapi/qapi-types-crypto.h" /* See also "QCryptoHashAlgorithm" defined in qapi/crypto.json */
include/crypto/hmac.h +1 -1
@@ -12,7 +12,7 @@#ifndef QCRYPTO_HMAC_H #define QCRYPTO_HMAC_H -#include "qapi/qapi-types-crypto.h" +#include "qemu-build/qapi/qapi-types-crypto.h" typedef struct QCryptoHmac QCryptoHmac ; struct QCryptoHmac {
include/crypto/secret.h +1 -1
@@ -21,7 +21,7 @@#ifndef QCRYPTO_SECRET_H #define QCRYPTO_SECRET_H -#include "qapi/qapi-types-crypto.h" +#include "qemu-build/qapi/qapi-types-crypto.h" #include "qom/object.h" #define TYPE_QCRYPTO_SECRET "secret"
include/crypto/tlscreds.h +1 -1
@@ -21,7 +21,7 @@#ifndef QCRYPTO_TLSCREDS_H #define QCRYPTO_TLSCREDS_H -#include "qapi/qapi-types-crypto.h" +#include "qemu-build/qapi/qapi-types-crypto.h" #include "qom/object.h" #ifdef CONFIG_GNUTLS
include/exec/cpu_ldst_template.h +1 -1
@@ -25,7 +25,7 @@*/ #if !defined(SOFTMMU_CODE_ACCESS ) -#include "trace-root.h" +#include "qemu-build/trace-root.h" #endif #include "trace/mem.h"
include/exec/cpu_ldst_useronly_template.h +1 -1
@@ -24,7 +24,7 @@*/ #if !defined(CODE_ACCESS ) -#include "trace-root.h" +#include "qemu-build/trace-root.h" #endif #include "trace/mem.h"
include/exec/helper-gen.h +2 -2
@@ -67,8 +67,8 @@ static inline void glue(gen_helper_, name)(dh_retvar_decl(ret) \ }#include "helper.h" -#include "trace/generated-helpers.h" -#include "trace/generated-helpers-wrappers.h" +#include "qemu-build/trace/generated-helpers.h" +#include "qemu-build/trace/generated-helpers-wrappers.h" #include "tcg-runtime.h" #undef DEF_HELPER_FLAGS_0
include/exec/helper-proto.h +1 -1
@@ -31,7 +31,7 @@ dh_ctype(ret) HELPER(name) (dh_ctype(t1), dh_ctype(t2), dh_ctype(t3), \ dh_ctype(t4), dh_ctype(t5), dh_ctype(t6));#include "helper.h" -#include "trace/generated-helpers.h" +#include "qemu-build/trace/generated-helpers.h" #include "tcg-runtime.h" #undef DEF_HELPER_FLAGS_0
include/exec/helper-tcg.h +1 -1
@@ -46,7 +46,7 @@ | dh_sizemask(t5, 5) | dh_sizemask(t6, 6) },#include "helper.h" -#include "trace/generated-helpers.h" +#include "qemu-build/trace/generated-helpers.h" #include "tcg-runtime.h" #undef str
include/hw/block/block.h +1 -1
@@ -12,7 +12,7 @@#define HW_BLOCK_H #include "qemu-common.h" -#include "qapi/qapi-types-block-core.h" +#include "qemu-build/qapi/qapi-types-block-core.h" /* Configuration */
include/hw/block/fdc.h +1 -1
@@ -2,7 +2,7 @@#define HW_FDC_H #include "qemu-common.h" -#include "qapi/qapi-types-block.h" +#include "qemu-build/qapi/qapi-types-block.h" /* fdc.c */ #define MAX_FD 2
include/hw/ppc/spapr_drc.h +1 -1
@@ -14,7 +14,7 @@#define HW_SPAPR_DRC_H #include <libfdt.h> -#include "qapi/qapi-types-run-state.h" +#include "qemu-build/qapi/qapi-types-run-state.h" #include "qom/object.h" #include "sysemu/sysemu.h" #include "hw/qdev.h"
include/hw/qdev-properties.h +2 -2
@@ -1,8 +1,8 @@#ifndef QEMU_QDEV_PROPERTIES_H #define QEMU_QDEV_PROPERTIES_H -#include "qapi/qapi-types-block.h" -#include "qapi/qapi-types-misc.h" +#include "qemu-build/qapi/qapi-types-block.h" +#include "qemu-build/qapi/qapi-types-misc.h" #include "hw/qdev-core.h" /*** qdev-properties.c ***/
include/hw/xen/xen_common.h +1 -1
@@ -18,7 +18,7 @@#include "hw/xen/xen.h" #include "hw/pci/pci.h" #include "qemu/queue.h" -#include "hw/xen/trace.h" +#include "qemu-build/hw/xen/trace.h" extern xc_interface *xen_xc;
include/io/dns-resolver.h +1 -1
@@ -22,7 +22,7 @@#define QIO_DNS_RESOLVER_H #include "qemu-common.h" -#include "qapi/qapi-types-sockets.h" +#include "qemu-build/qapi/qapi-types-sockets.h" #include "qom/object.h" #include "io/task.h"
include/migration/colo.h +1 -1
@@ -14,7 +14,7 @@#define QEMU_COLO_H #include "qemu-common.h" -#include "qapi/qapi-types-migration.h" +#include "qemu-build/qapi/qapi-types-migration.h" void colo_info_init (void );
include/migration/failover.h +1 -1
@@ -14,7 +14,7 @@#define QEMU_FAILOVER_H #include "qemu-common.h" -#include "qapi/qapi-types-migration.h" +#include "qemu-build/qapi/qapi-types-migration.h" void failover_init_state (void ); FailoverStatus failover_set_state(FailoverStatus old_state,
include/migration/global_state.h +1 -1
@@ -13,7 +13,7 @@#ifndef QEMU_MIGRATION_GLOBAL_STATE_H #define QEMU_MIGRATION_GLOBAL_STATE_H -#include "qapi/qapi-types-run-state.h" +#include "qemu-build/qapi/qapi-types-run-state.h" #include "sysemu/sysemu.h" void register_global_state (void );
include/monitor/monitor.h +1 -1
@@ -3,7 +3,7 @@#include "qemu-common.h" #include "block/block.h" -#include "qapi/qapi-types-misc.h" +#include "qemu-build/qapi/qapi-types-misc.h" #include "qemu/readline.h" extern Monitor *cur_mon;
include/net/filter.h +1 -1
@@ -9,7 +9,7 @@#ifndef QEMU_NET_FILTER_H #define QEMU_NET_FILTER_H -#include "qapi/qapi-types-net.h" +#include "qemu-build/qapi/qapi-types-net.h" #include "qom/object.h" #include "qemu-common.h" #include "net/queue.h"
include/net/net.h +1 -1
@@ -2,7 +2,7 @@#define QEMU_NET_H #include "qemu/queue.h" -#include "qapi/qapi-types-net.h" +#include "qemu-build/qapi/qapi-types-net.h" #include "net/queue.h" #include "migration/vmstate.h"
include/qapi/error.h +1 -1
@@ -115,7 +115,7 @@#ifndef ERROR_H #define ERROR_H -#include "qapi/qapi-types-common.h" +#include "qemu-build/qapi/qapi-types-common.h" /* * Overall category of an error.
include/qapi/qmp/qobject.h +1 -1
@@ -32,7 +32,7 @@ #ifndef QOBJECT_H #define QOBJECT_H -#include "qapi/qapi-builtin-types.h" +#include "qemu-build/qapi/qapi-builtin-types.h" struct QObject { QType type;
include/qapi/visitor.h +1 -1
@@ -15,7 +15,7 @@#ifndef QAPI_VISITOR_H #define QAPI_VISITOR_H -#include "qapi/qapi-builtin-types.h" +#include "qemu-build/qapi/qapi-builtin-types.h" /* * The QAPI schema defines both a set of C data types, and a QMP wire
include/qemu/osdep.h +2 -2
@@ -27,9 +27,9 @@#ifndef QEMU_OSDEP_H #define QEMU_OSDEP_H -#include "config-host.h" +#include "qemu-build/config-host.h" #ifdef NEED_CPU_H -#include "config-target.h" +#include "qemu-build/config-target.h" #else #include "exec/poison.h" #endif
include/qemu/sockets.h +1 -1
@@ -9,7 +9,7 @@ int inet_aton(const char *cp, struct in_addr *ia);#endif /* !_WIN32 */ -#include "qapi/qapi-types-sockets.h" +#include "qemu-build/qapi/qapi-types-sockets.h" /* misc helpers */ int qemu_socket (int domain,int type,int protocol);
include/qemu/throttle.h +1 -1
@@ -26,7 +26,7 @@#define THROTTLE_H #include "qemu-common.h" -#include "qapi/qapi-types-block-core.h" +#include "qemu-build/qapi/qapi-types-block-core.h" #include "qemu/timer.h" #define THROTTLE_VALUE_MAX 1000000000000000LL
include/qom/cpu.h +1 -1
@@ -24,7 +24,7 @@#include "disas/bfd.h" #include "exec/hwaddr.h" #include "exec/memattrs.h" -#include "qapi/qapi-types-run-state.h" +#include "qemu-build/qapi/qapi-types-run-state.h" #include "qemu/bitmap.h" #include "qemu/queue.h" #include "qemu/thread.h"
include/qom/object.h +1 -1
@@ -14,7 +14,7 @@#ifndef QEMU_OBJECT_H #define QEMU_OBJECT_H -#include "qapi/qapi-builtin-types.h" +#include "qemu-build/qapi/qapi-builtin-types.h" #include "qemu/queue.h" struct TypeImpl ;
include/sysemu/arch_init.h +1 -1
@@ -1,7 +1,7 @@#ifndef QEMU_ARCH_INIT_H #define QEMU_ARCH_INIT_H -#include "qapi/qapi-types-misc.h" +#include "qemu-build/qapi/qapi-types-misc.h" enum { QEMU_ARCH_ALL = -1,
include/sysemu/balloon.h +1 -1
@@ -14,7 +14,7 @@#ifndef QEMU_BALLOON_H #define QEMU_BALLOON_H -#include "qapi/qapi-types-misc.h" +#include "qemu-build/qapi/qapi-types-misc.h" typedef void (QEMUBalloonEvent )(void *opaque,ram_addr_t target);typedef void (QEMUBalloonStatus )(void *opaque,BalloonInfo *info);
include/sysemu/dump.h +1 -1
@@ -14,7 +14,7 @@#ifndef DUMP_H #define DUMP_H -#include "qapi/qapi-types-misc.h" +#include "qemu-build/qapi/qapi-types-misc.h" #define MAKEDUMPFILE_SIGNATURE "makedumpfile"#define MAX_SIZE_MDF_HEADER (4096)/* max size of makedumpfile_header */
include/sysemu/hostmem.h +1 -1
@@ -14,7 +14,7 @@#define SYSEMU_HOSTMEM_H #include "sysemu/sysemu.h" /* for MAX_NODES */ -#include "qapi/qapi-types-misc.h" +#include "qemu-build/qapi/qapi-types-misc.h" #include "qom/object.h" #include "exec/memory.h" #include "qemu/bitmap.h"
include/sysemu/replay.h +2 -2
@@ -13,8 +13,8 @@*/ #include "sysemu.h" -#include "qapi/qapi-types-misc.h" -#include "qapi/qapi-types-ui.h" +#include "qemu-build/qapi/qapi-types-misc.h" +#include "qemu-build/qapi/qapi-types-ui.h" /* replay clock kinds */ enum ReplayClockKind {
include/sysemu/sysemu.h +1 -1
@@ -2,7 +2,7 @@#define SYSEMU_H /* Misc. things related to the system emulator. */ -#include "qapi/qapi-types-run-state.h" +#include "qemu-build/qapi/qapi-types-run-state.h" #include "qemu/queue.h" #include "qemu/timer.h" #include "qemu/notify.h"
include/sysemu/tpm.h +1 -1
@@ -12,7 +12,7 @@#ifndef QEMU_TPM_H #define QEMU_TPM_H -#include "qapi/qapi-types-tpm.h" +#include "qemu-build/qapi/qapi-types-tpm.h" #include "qom/object.h" int tpm_config_parse (QemuOptsList *opts_list,const char *optarg);
include/sysemu/watchdog.h +1 -1
@@ -23,7 +23,7 @@#define QEMU_WATCHDOG_H #include "qemu/queue.h" -#include "qapi/qapi-types-run-state.h" +#include "qemu-build/qapi/qapi-types-run-state.h" struct WatchdogTimerModel {QLIST_ENTRY (WatchdogTimerModel) entry;
include/sysemu/whpx.h +1 -1
@@ -13,7 +13,7 @@#ifndef QEMU_WHPX_H #define QEMU_WHPX_H -#include "config-host.h" +#include "qemu-build/config-host.h" #include "qemu-common.h" int whpx_init_vcpu (CPUState *cpu);
include/trace-tcg.h +1 -1
@@ -1,6 +1,6 @@#ifndef TRACE_TCG_H #define TRACE_TCG_H -#include "trace/generated-tcg-tracers.h" +#include "qemu-build/trace/generated-tcg-tracers.h" #endif /* TRACE_TCG_H */
include/ui/console.h +1 -1
@@ -5,7 +5,7 @@#include "qom/object.h" #include "qemu/notify.h" #include "qemu/error-report.h" -#include "qapi/qapi-types-ui.h" +#include "qemu-build/qapi/qapi-types-ui.h" #ifdef CONFIG_OPENGL # include <epoxy/gl.h>
include/ui/input.h +1 -1
@@ -1,7 +1,7 @@#ifndef INPUT_H #define INPUT_H -#include "qapi/qapi-types-ui.h" +#include "qemu-build/qapi/qapi-types-ui.h" #define INPUT_EVENT_MASK_KEY (1<<INPUT_EVENT_KIND_KEY)#define INPUT_EVENT_MASK_BTN (1<<INPUT_EVENT_KIND_BTN)
migration/migration.h +1 -1
@@ -15,7 +15,7 @@#define QEMU_MIGRATION_H #include "qemu-common.h" -#include "qapi/qapi-types-migration.h" +#include "qemu-build/qapi/qapi-types-migration.h" #include "qemu/thread.h" #include "exec/cpu-common.h" #include "qemu/coroutine_int.h"
migration/ram.h +1 -1
@@ -30,7 +30,7 @@#define QEMU_MIGRATION_RAM_H #include "qemu-common.h" -#include "qapi/qapi-types-migration.h" +#include "qemu-build/qapi/qapi-types-migration.h" #include "exec/cpu-common.h" extern MigrationStats ram_counters;
net/tap_int.h +1 -1
@@ -27,7 +27,7 @@#define NET_TAP_INT_H #include "qemu-common.h" -#include "qapi/qapi-types-net.h" +#include "qemu-build/qapi/qapi-types-net.h" int tap_open (char *ifname,int ifname_size,int *vnet_hdr,int vnet_hdr_required,int mq_required,Error **errp);
qemu-options-wrapper.h +1 -1
@@ -29,7 +29,7 @@#error "qemu-options-wrapper.h included with no option defined"#endif -#include "qemu-options.def" +#include "qemu-build/qemu-options.def" #undef DEF#undef DEFHEADING
replication.h +1 -1
@@ -15,7 +15,7 @@#ifndef REPLICATION_H #define REPLICATION_H -#include "qapi/qapi-types-block-core.h" +#include "qemu-build/qapi/qapi-types-block-core.h" #include "qemu/queue.h" typedef struct ReplicationOps ReplicationOps ;
target/s390x/cpu_models.h +1 -1
@@ -14,7 +14,7 @@#define TARGET_S390X_CPU_MODELS_H #include "cpu_features.h" -#include "gen-features.h" +#include "qemu-build/gen-features.h" #include "qom/cpu.h" /* static CPU definition */
ui/vnc.h +1 -1
@@ -28,7 +28,7 @@#define QEMU_VNC_H #include "qemu-common.h" -#include "qapi/qapi-types-ui.h" +#include "qemu-build/qapi/qapi-types-ui.h" #include "qemu/queue.h" #include "qemu/thread.h" #include "ui/console.h"
accel/kvm/kvm-all.c +1 -1
@@ -36,7 +36,7 @@#include "exec/ram_addr.h" #include "exec/address-spaces.h" #include "qemu/event_notifier.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/irq.h" #include "hw/boards.h"
accel/tcg/cpu-exec.c +1 -1
@@ -18,7 +18,7 @@*/ #include "qemu/osdep.h" #include "cpu.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "disas/disas.h" #include "exec/exec-all.h" #include "tcg.h"
accel/tcg/translate-all.c +1 -1
@@ -25,7 +25,7 @@#include "qemu-common.h" #define NO_CPU_IO_DEFS #include "cpu.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "disas/disas.h" #include "exec/exec-all.h" #include "tcg.h"
arch_init.c +1 -1
@@ -28,7 +28,7 @@#include "sysemu/arch_init.h" #include "hw/pci/pci.h" #include "hw/audio/soundhw.h" -#include "qapi/qapi-commands-misc.h" +#include "qemu-build/qapi/qapi-commands-misc.h" #include "qemu/config-file.h" #include "qemu/error-report.h" #include "hw/acpi/acpi.h"
audio/alsaaudio.c +1 -1
@@ -26,7 +26,7 @@#include "qemu-common.h" #include "qemu/main-loop.h" #include "audio.h" -#include "trace.h" +#include "qemu-build/trace.h" #if QEMU_GNUC_PREREQ (4 ,3 )#pragma GCC diagnostic ignored "-Waddress"
audio/ossaudio.c +1 -1
@@ -28,7 +28,7 @@#include "qemu/main-loop.h" #include "qemu/host-utils.h" #include "audio.h" -#include "trace.h" +#include "qemu-build/trace.h" #define AUDIO_CAP "oss"#include "audio_int.h"
backends/hostmem.c +1 -1
@@ -14,7 +14,7 @@#include "sysemu/hostmem.h" #include "hw/boards.h" #include "qapi/error.h" -#include "qapi/qapi-builtin-visit.h" +#include "qemu-build/qapi/qapi-builtin-visit.h" #include "qapi/visitor.h" #include "qemu/config-file.h" #include "qom/object_interfaces.h"
balloon.c +2 -2
@@ -29,9 +29,9 @@#include "exec/cpu-common.h" #include "sysemu/kvm.h" #include "sysemu/balloon.h" -#include "trace-root.h" +#include "qemu-build/trace-root.h" #include "qapi/error.h" -#include "qapi/qapi-commands-misc.h" +#include "qemu-build/qapi/qapi-commands-misc.h" #include "qapi/qmp/qerror.h" static QEMUBalloonEvent *balloon_event_fn;
block.c +3 -3
@@ -23,19 +23,19 @@*/ #include "qemu/osdep.h" -#include "block/trace.h" +#include "qemu-build/block/trace.h" #include "block/block_int.h" #include "block/blockjob.h" #include "block/nbd.h" #include "qemu/error-report.h" -#include "module_block.h" +#include "qemu-build/module_block.h" #include "qemu/module.h" #include "qapi/error.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qjson.h" #include "qapi/qmp/qstring.h" #include "qapi/qobject-output-visitor.h" -#include "qapi/qapi-visit-block-core.h" +#include "qemu-build/qapi/qapi-visit-block-core.h" #include "sysemu/block-backend.h" #include "sysemu/sysemu.h" #include "qemu/notify.h"
block/backup.c +1 -1
@@ -13,7 +13,7 @@#include "qemu/osdep.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "block/block.h" #include "block/block_int.h" #include "block/blockjob_int.h"
block/block-backend.c +2 -2
@@ -18,10 +18,10 @@#include "sysemu/blockdev.h" #include "sysemu/sysemu.h" #include "qapi/error.h" -#include "qapi/qapi-events-block.h" +#include "qemu-build/qapi/qapi-events-block.h" #include "qemu/id.h" #include "qemu/option.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "migration/misc.h" /* Number of coroutines to reserve per attached device model */
block/commit.c +1 -1
@@ -14,7 +14,7 @@#include "qemu/osdep.h" #include "qemu/cutils.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "block/block_int.h" #include "block/blockjob_int.h" #include "qapi/error.h"
block/create.c +1 -1
@@ -24,7 +24,7 @@#include "qemu/osdep.h" #include "block/block_int.h" -#include "qapi/qapi-commands-block-core.h" +#include "qemu-build/qapi/qapi-commands-block-core.h" #include "qapi/error.h" typedef struct BlockdevCreateCo {
block/crypto.c +1 -1
@@ -24,7 +24,7 @@#include "sysemu/block-backend.h" #include "crypto/block.h" #include "qapi/opts-visitor.h" -#include "qapi/qapi-visit-crypto.h" +#include "qemu-build/qapi/qapi-visit-crypto.h" #include "qapi/qmp/qdict.h" #include "qapi/qobject-input-visitor.h" #include "qapi/error.h"
block/dirty-bitmap.c +1 -1
@@ -24,7 +24,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu-common.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "block/block_int.h" #include "block/blockjob.h"
block/file-posix.c +1 -1
@@ -29,7 +29,7 @@#include "block/block_int.h" #include "qemu/module.h" #include "qemu/option.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "block/thread-pool.h" #include "qemu/iov.h" #include "block/raw-aio.h"
block/file-win32.c +1 -1
@@ -29,7 +29,7 @@#include "qemu/module.h" #include "qemu/option.h" #include "block/raw-aio.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "block/thread-pool.h" #include "qemu/iov.h" #include "qapi/qmp/qdict.h"
block/io.c +1 -1
@@ -23,7 +23,7 @@*/ #include "qemu/osdep.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "sysemu/block-backend.h" #include "block/aio-wait.h" #include "block/blockjob.h"
block/iscsi.c +1 -1
@@ -38,7 +38,7 @@#include "qemu/option.h" #include "qemu/uuid.h" #include "qapi/error.h" -#include "qapi/qapi-commands-misc.h" +#include "qemu-build/qapi/qapi-commands-misc.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" #include "crypto/secret.h"
block/mirror.c +1 -1
@@ -13,7 +13,7 @@#include "qemu/osdep.h" #include "qemu/cutils.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "block/blockjob_int.h" #include "block/block_int.h" #include "sysemu/block-backend.h"
block/nbd.c +1 -1
@@ -33,7 +33,7 @@#include "block/block_int.h" #include "qemu/module.h" #include "qemu/option.h" -#include "qapi/qapi-visit-sockets.h" +#include "qemu-build/qapi/qapi-visit-sockets.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qobject-output-visitor.h" #include "qapi/qmp/qdict.h"
block/nfs.c +2 -2
@@ -29,13 +29,13 @@#include "qemu/error-report.h" #include "qapi/error.h" #include "block/block_int.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/iov.h" #include "qemu/option.h" #include "qemu/uri.h" #include "qemu/cutils.h" #include "sysemu/sysemu.h" -#include "qapi/qapi-visit-block-core.h" +#include "qemu-build/qapi/qapi-visit-block-core.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" #include "qapi/qobject-input-visitor.h"
block/nvme.c +1 -1
@@ -21,7 +21,7 @@#include "qemu/option.h" #include "qemu/vfio-helpers.h" #include "block/block_int.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "block/nvme.h"
block/qapi.c +2 -2
@@ -28,9 +28,9 @@#include "block/throttle-groups.h" #include "block/write-threshold.h" #include "qapi/error.h" -#include "qapi/qapi-commands-block-core.h" +#include "qemu-build/qapi/qapi-commands-block-core.h" #include "qapi/qobject-output-visitor.h" -#include "qapi/qapi-visit-block-core.h" +#include "qemu-build/qapi/qapi-visit-block-core.h" #include "qapi/qmp/qbool.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qlist.h"
block/qcow2-cache.c +1 -1
@@ -26,7 +26,7 @@#include "block/block_int.h" #include "qemu-common.h" #include "qcow2.h" -#include "trace.h" +#include "qemu-build/trace.h" typedef struct Qcow2CachedTable { int64_t offset;
block/qcow2-cluster.c +1 -1
@@ -30,7 +30,7 @@#include "block/block_int.h" #include "block/qcow2.h" #include "qemu/bswap.h" -#include "trace.h" +#include "qemu-build/trace.h" int qcow2_shrink_l1_table (BlockDriverState *bs,uint64_t exact_size) {
block/qcow2.c +3 -3
@@ -30,15 +30,15 @@#include "block/qcow2.h" #include "qemu/error-report.h" #include "qapi/error.h" -#include "qapi/qapi-events-block-core.h" +#include "qemu-build/qapi/qapi-events-block-core.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/option_int.h" #include "qemu/cutils.h" #include "qemu/bswap.h" #include "qapi/qobject-input-visitor.h" -#include "qapi/qapi-visit-block-core.h" +#include "qemu-build/qapi/qapi-visit-block-core.h" #include "block/crypto.h" /*
block/qed-l2-cache.c +1 -1
@@ -51,7 +51,7 @@*/ #include "qemu/osdep.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qed.h" /* Each L2 holds 2GB so this let's us fully cache a 100GB disk */
block/qed-table.c +1 -1
@@ -13,7 +13,7 @@*/ #include "qemu/osdep.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/sockets.h" /* for EINPROGRESS on Windows */ #include "qed.h" #include "qemu/bswap.h"
block/qed.c +1 -1
@@ -17,7 +17,7 @@#include "qemu/timer.h" #include "qemu/bswap.h" #include "qemu/option.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qed.h" #include "sysemu/block-backend.h"
block/quorum.c +1 -1
@@ -18,7 +18,7 @@#include "qemu/option.h" #include "block/block_int.h" #include "qapi/error.h" -#include "qapi/qapi-events-block.h" +#include "qemu-build/qapi/qapi-events-block.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qerror.h" #include "qapi/qmp/qlist.h"
block/rbd.c +1 -1
@@ -25,7 +25,7 @@#include "qapi/qmp/qjson.h" #include "qapi/qmp/qlist.h" #include "qapi/qobject-input-visitor.h" -#include "qapi/qapi-visit-block-core.h" +#include "qemu-build/qapi/qapi-visit-block-core.h" /* * When specifying the image filename use:
block/sheepdog.c +2 -2
@@ -14,8 +14,8 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "qapi/qapi-visit-sockets.h" -#include "qapi/qapi-visit-block-core.h" +#include "qemu-build/qapi/qapi-visit-sockets.h" +#include "qemu-build/qapi/qapi-visit-block-core.h" #include "qapi/qmp/qdict.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qobject-output-visitor.h"
block/ssh.c +2 -2
@@ -34,8 +34,8 @@#include "qemu/cutils.h" #include "qemu/sockets.h" #include "qemu/uri.h" -#include "qapi/qapi-visit-sockets.h" -#include "qapi/qapi-visit-block-core.h" +#include "qemu-build/qapi/qapi-visit-sockets.h" +#include "qemu-build/qapi/qapi-visit-block-core.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" #include "qapi/qobject-input-visitor.h"
block/stream.c +1 -1
@@ -12,7 +12,7 @@*/ #include "qemu/osdep.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "block/block_int.h" #include "block/blockjob_int.h" #include "qapi/error.h"
block/throttle-groups.c +1 -1
@@ -30,7 +30,7 @@#include "qemu/thread.h" #include "sysemu/qtest.h" #include "qapi/error.h" -#include "qapi/qapi-visit-block-core.h" +#include "qemu-build/qapi/qapi-visit-block-core.h" #include "qom/object.h" #include "qom/object_interfaces.h"
block/vxhs.c +1 -1
@@ -15,7 +15,7 @@#include "qapi/qmp/qerror.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/uri.h" #include "qapi/error.h" #include "qemu/uuid.h"
block/write-threshold.c +2 -2
@@ -16,8 +16,8 @@#include "block/write-threshold.h" #include "qemu/notify.h" #include "qapi/error.h" -#include "qapi/qapi-commands-block-core.h" -#include "qapi/qapi-events-block-core.h" +#include "qemu-build/qapi/qapi-commands-block-core.h" +#include "qemu-build/qapi/qapi-events-block-core.h" uint64_t bdrv_write_threshold_get (const BlockDriverState *bs) {
blockdev-nbd.c +1 -1
@@ -14,7 +14,7 @@#include "sysemu/block-backend.h" #include "hw/block/block.h" #include "qapi/error.h" -#include "qapi/qapi-commands-block.h" +#include "qemu-build/qapi/qapi-commands-block.h" #include "sysemu/sysemu.h" #include "block/nbd.h" #include "io/channel-socket.h"
blockdev.c +4 -4
@@ -40,9 +40,9 @@#include "qemu/error-report.h" #include "qemu/option.h" #include "qemu/config-file.h" -#include "qapi/qapi-commands-block.h" -#include "qapi/qapi-commands-transaction.h" -#include "qapi/qapi-visit-block-core.h" +#include "qemu-build/qapi/qapi-commands-block.h" +#include "qemu-build/qapi/qapi-commands-transaction.h" +#include "qemu-build/qapi/qapi-visit-block-core.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qnum.h" #include "qapi/qmp/qstring.h"
@@ -53,7 +53,7 @@#include "sysemu/sysemu.h" #include "sysemu/iothread.h" #include "block/block_int.h" -#include "block/trace.h" +#include "qemu-build/block/trace.h" #include "sysemu/arch_init.h" #include "sysemu/qtest.h" #include "qemu/cutils.h"
blockjob.c +1 -1
@@ -30,7 +30,7 @@#include "block/block_int.h" #include "sysemu/block-backend.h" #include "qapi/error.h" -#include "qapi/qapi-events-block-core.h" +#include "qemu-build/qapi/qapi-events-block-core.h" #include "qapi/qmp/qerror.h" #include "qemu/coroutine.h" #include "qemu/id.h"
bsd-user/main.c +1 -1
@@ -17,7 +17,7 @@* along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" -#include "qemu-version.h" +#include "qemu-build/qemu-version.h" #include <machine/trap.h> #include "qapi/error.h"
chardev/char-ringbuf.c +1 -1
@@ -25,7 +25,7 @@#include "qemu/osdep.h" #include "chardev/char.h" #include "qapi/error.h" -#include "qapi/qapi-commands-char.h" +#include "qemu-build/qapi/qapi-commands-char.h" #include "qemu/base64.h" #include "qemu/option.h"
chardev/char-socket.c +1 -1
@@ -31,7 +31,7 @@#include "qemu/option.h" #include "qapi/error.h" #include "qapi/clone-visitor.h" -#include "qapi/qapi-visit-sockets.h" +#include "qemu-build/qapi/qapi-visit-sockets.h" #include "chardev/char-io.h"
chardev/char.c +1 -1
@@ -30,7 +30,7 @@#include "qemu/error-report.h" #include "chardev/char.h" #include "qapi/error.h" -#include "qapi/qapi-commands-char.h" +#include "qemu-build/qapi/qapi-commands-char.h" #include "qapi/qmp/qerror.h" #include "sysemu/replay.h" #include "qemu/help_option.h"
chardev/spice.c +1 -1
@@ -1,5 +1,5 @@#include "qemu/osdep.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "ui/qemu-spice.h" #include "chardev/char.h" #include "qapi/error.h"
chardev/wctablet.c +1 -1
@@ -31,7 +31,7 @@#include "chardev/char-serial.h" #include "ui/console.h" #include "ui/input.h" -#include "trace.h" +#include "qemu-build/trace.h" #define WC_OUTPUT_BUF_MAX_LEN 512
cpus.c +2 -2
@@ -27,8 +27,8 @@#include "cpu.h" #include "monitor/monitor.h" #include "qapi/error.h" -#include "qapi/qapi-commands-misc.h" -#include "qapi/qapi-events-run-state.h" +#include "qemu-build/qapi/qapi-commands-misc.h" +#include "qemu-build/qapi/qapi-events-run-state.h" #include "qapi/qmp/qerror.h" #include "qemu/error-report.h" #include "sysemu/sysemu.h"
crypto/secret.c +1 -1
@@ -24,7 +24,7 @@#include "qapi/error.h" #include "qom/object_interfaces.h" #include "qemu/base64.h" -#include "trace.h" +#include "qemu-build/trace.h" static void
crypto/tlscreds.c +1 -1
@@ -21,7 +21,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "crypto/tlscredspriv.h" -#include "trace.h" +#include "qemu-build/trace.h" #define DH_BITS 2048
crypto/tlscredsanon.c +1 -1
@@ -23,7 +23,7 @@#include "crypto/tlscredspriv.h" #include "qapi/error.h" #include "qom/object_interfaces.h" -#include "trace.h" +#include "qemu-build/trace.h" #ifdef CONFIG_GNUTLS
crypto/tlscredsx509.c +1 -1
@@ -24,7 +24,7 @@#include "crypto/secret.h" #include "qapi/error.h" #include "qom/object_interfaces.h" -#include "trace.h" +#include "qemu-build/trace.h" #ifdef CONFIG_GNUTLS
crypto/tlssession.c +1 -1
@@ -24,7 +24,7 @@#include "crypto/tlscredsx509.h" #include "qapi/error.h" #include "qemu/acl.h" -#include "trace.h" +#include "qemu-build/trace.h" #ifdef CONFIG_GNUTLS
dma-helpers.c +1 -1
@@ -10,7 +10,7 @@#include "qemu/osdep.h" #include "sysemu/block-backend.h" #include "sysemu/dma.h" -#include "trace-root.h" +#include "qemu-build/trace-root.h" #include "qemu/thread.h" #include "qemu/main-loop.h"
dump.c +2 -2
@@ -23,8 +23,8 @@#include "sysemu/memory_mapping.h" #include "sysemu/cpus.h" #include "qapi/error.h" -#include "qapi/qapi-commands-misc.h" -#include "qapi/qapi-events-misc.h" +#include "qemu-build/qapi/qapi-commands-misc.h" +#include "qemu-build/qapi/qapi-events-misc.h" #include "qapi/qmp/qerror.h" #include "qemu/error-report.h" #include "hw/misc/vmcoreinfo.h"
exec.c +1 -1
@@ -46,7 +46,7 @@#include "sysemu/hw_accel.h" #include "exec/address-spaces.h" #include "sysemu/xen-mapcache.h" -#include "trace-root.h" +#include "qemu-build/trace-root.h" #ifdef CONFIG_FALLOCATE_PUNCH_HOLE #include <linux/falloc.h>
gdbstub.c +1 -1
@@ -21,7 +21,7 @@#include "qemu/error-report.h" #include "qemu/cutils.h" #include "cpu.h" -#include "trace-root.h" +#include "qemu-build/trace-root.h" #ifdef CONFIG_USER_ONLY #include "qemu.h" #else
hmp.c +10 -10
@@ -28,16 +28,16 @@#include "monitor/qdev.h" #include "qapi/error.h" #include "qapi/opts-visitor.h" -#include "qapi/qapi-builtin-visit.h" -#include "qapi/qapi-commands-block.h" -#include "qapi/qapi-commands-char.h" -#include "qapi/qapi-commands-migration.h" -#include "qapi/qapi-commands-misc.h" -#include "qapi/qapi-commands-net.h" -#include "qapi/qapi-commands-rocker.h" -#include "qapi/qapi-commands-run-state.h" -#include "qapi/qapi-commands-tpm.h" -#include "qapi/qapi-commands-ui.h" +#include "qemu-build/qapi/qapi-builtin-visit.h" +#include "qemu-build/qapi/qapi-commands-block.h" +#include "qemu-build/qapi/qapi-commands-char.h" +#include "qemu-build/qapi/qapi-commands-migration.h" +#include "qemu-build/qapi/qapi-commands-misc.h" +#include "qemu-build/qapi/qapi-commands-net.h" +#include "qemu-build/qapi/qapi-commands-rocker.h" +#include "qemu-build/qapi/qapi-commands-run-state.h" +#include "qemu-build/qapi/qapi-commands-tpm.h" +#include "qemu-build/qapi/qapi-commands-ui.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qerror.h" #include "qapi/string-input-visitor.h"
hw/9pfs/9p.c +1 -1
@@ -22,7 +22,7 @@#include "fsdev/qemu-fsdev.h" #include "9p-xattr.h" #include "coth.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "migration/blocker.h" #include "sysemu/qtest.h"
hw/acpi/core.c +2 -2
@@ -27,8 +27,8 @@#include "qemu/config-file.h" #include "qapi/error.h" #include "qapi/opts-visitor.h" -#include "qapi/qapi-events-run-state.h" -#include "qapi/qapi-visit-misc.h" +#include "qemu-build/qapi/qapi-events-run-state.h" +#include "qemu-build/qapi/qapi-visit-misc.h" #include "qemu/error-report.h" #include "qemu/option.h"
hw/acpi/cpu.c +2 -2
@@ -2,8 +2,8 @@#include "hw/boards.h" #include "hw/acpi/cpu.h" #include "qapi/error.h" -#include "qapi/qapi-events-misc.h" -#include "trace.h" +#include "qemu-build/qapi/qapi-events-misc.h" +#include "qemu-build/trace.h" #include "sysemu/numa.h" #define ACPI_CPU_HOTPLUG_REG_LEN 12
hw/acpi/memory_hotplug.c +2 -2
@@ -4,9 +4,9 @@#include "hw/mem/pc-dimm.h" #include "hw/boards.h" #include "hw/qdev-core.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qapi/error.h" -#include "qapi/qapi-events-misc.h" +#include "qemu-build/qapi/qapi-events-misc.h" #define MEMORY_SLOTS_NUMBER "MDNR"#define MEMORY_HOTPLUG_IO_REGION "HPMR"
hw/acpi/tco.c +1 -1
@@ -12,7 +12,7 @@#include "hw/i386/ich9.h" #include "hw/acpi/tco.h" -#include "trace.h" +#include "qemu-build/trace.h" //#define DEBUG
hw/acpi/vmgenid.c +1 -1
@@ -12,7 +12,7 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "qapi/qapi-commands-misc.h" +#include "qemu-build/qapi/qapi-commands-misc.h" #include "hw/acpi/acpi.h" #include "hw/acpi/aml-build.h" #include "hw/acpi/vmgenid.h"
hw/alpha/pci.c +1 -1
@@ -11,7 +11,7 @@#include "alpha_sys.h" #include "qemu/log.h" #include "sysemu/sysemu.h" -#include "trace.h" +#include "qemu-build/trace.h" /* Fallback for unassigned PCI I/O operations. Avoids MCHK. */
hw/arm/iotkit.c +1 -1
@@ -12,7 +12,7 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "qapi/error.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/sysbus.h" #include "hw/registerfields.h" #include "hw/arm/iotkit.h"
hw/arm/virt-acpi-build.c +1 -1
@@ -30,7 +30,7 @@#include "qapi/error.h" #include "qemu-common.h" #include "qemu/bitmap.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qom/cpu.h" #include "target/arm/cpu.h" #include "hw/acpi/acpi-defs.h"
hw/audio/cs4231.c +1 -1
@@ -24,7 +24,7 @@#include "qemu/osdep.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" /* * In addition to Crystal CS4231 there is a DMA controller on Sparc.
hw/audio/milkymist-ac97.c +1 -1
@@ -24,7 +24,7 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "audio/audio.h" #include "qemu/error-report.h"
hw/block/block.c +1 -1
@@ -12,7 +12,7 @@#include "sysemu/block-backend.h" #include "hw/block/block.h" #include "qapi/error.h" -#include "qapi/qapi-types-block.h" +#include "qemu-build/qapi/qapi-types-block.h" #include "qemu/error-report.h" void blkconf_serial (BlockConf *conf,char **serial)
hw/block/dataplane/virtio-blk.c +1 -1
@@ -14,7 +14,7 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/iov.h" #include "qemu/thread.h" #include "qemu/error-report.h"
hw/block/hd-geometry.c +2 -2
@@ -32,10 +32,10 @@#include "qemu/osdep.h" #include "sysemu/block-backend.h" -#include "qapi/qapi-types-block.h" +#include "qemu-build/qapi/qapi-types-block.h" #include "qemu/bswap.h" #include "hw/block/block.h" -#include "trace.h" +#include "qemu-build/trace.h" struct partition {uint8_t boot_ind;/* 0x80 - active */
hw/block/nvme.c +1 -1
@@ -35,7 +35,7 @@#include "sysemu/block-backend.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "nvme.h" #define NVME_GUEST_ERR (trace, fmt, ...) \
hw/block/virtio-blk.c +1 -1
@@ -16,7 +16,7 @@#include "qemu-common.h" #include "qemu/iov.h" #include "qemu/error-report.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/block/block.h" #include "sysemu/block-backend.h" #include "sysemu/blockdev.h"
hw/block/xen_disk.c +1 -1
@@ -32,7 +32,7 @@#include "qapi/error.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" -#include "trace.h" +#include "qemu-build/trace.h" /* ------------------------------------------------------------- */
hw/char/cmsdk-apb-uart.c +1 -1
@@ -18,7 +18,7 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "qapi/error.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/sysbus.h" #include "hw/registerfields.h" #include "chardev/char-fe.h"
hw/char/escc.c +1 -1
@@ -27,7 +27,7 @@#include "hw/sysbus.h" #include "hw/char/escc.h" #include "ui/console.h" -#include "trace.h" +#include "qemu-build/trace.h" /* * Chipset docs:
hw/char/grlib_apbuart.c +1 -1
@@ -26,7 +26,7 @@#include "hw/sysbus.h" #include "chardev/char-fe.h" -#include "trace.h" +#include "qemu-build/trace.h" #define UART_REG_SIZE 20/* Size of memory mapped registers */
hw/char/lm32_juart.c +1 -1
@@ -20,7 +20,7 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "chardev/char-fe.h" #include "hw/char/lm32_juart.h"
hw/char/lm32_uart.c +1 -1
@@ -25,7 +25,7 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "chardev/char-fe.h" #include "qemu/error-report.h"
hw/char/milkymist-uart.c +1 -1
@@ -24,7 +24,7 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "chardev/char-fe.h" #include "qemu/error-report.h"
hw/char/pl011.c +1 -1
@@ -11,7 +11,7 @@#include "hw/sysbus.h" #include "chardev/char-fe.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" #define TYPE_PL011 "pl011"#define PL011 (obj) OBJECT_CHECK(PL011State, (obj), TYPE_PL011)
hw/char/virtio-console.c +2 -2
@@ -13,10 +13,10 @@#include "qemu/osdep.h" #include "chardev/char-fe.h" #include "qemu/error-report.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/virtio/virtio-serial.h" #include "qapi/error.h" -#include "qapi/qapi-events-char.h" +#include "qemu-build/qapi/qapi-events-char.h" #define TYPE_VIRTIO_CONSOLE_SERIAL_PORT "virtserialport"#define VIRTIO_CONSOLE (obj) \
hw/char/virtio-serial-bus.c +1 -1
@@ -25,7 +25,7 @@#include "qemu/error-report.h" #include "qemu/queue.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/virtio/virtio-serial.h" #include "hw/virtio/virtio-access.h"
hw/core/machine.c +1 -1
@@ -13,7 +13,7 @@#include "qemu/osdep.h" #include "hw/boards.h" #include "qapi/error.h" -#include "qapi/qapi-visit-common.h" +#include "qemu-build/qapi/qapi-visit-common.h" #include "qapi/visitor.h" #include "hw/sysbus.h" #include "sysemu/sysemu.h"
hw/core/qdev.c +1 -1
@@ -29,7 +29,7 @@#include "hw/qdev.h" #include "sysemu/sysemu.h" #include "qapi/error.h" -#include "qapi/qapi-events-misc.h" +#include "qemu-build/qapi/qapi-events-misc.h" #include "qapi/qmp/qerror.h" #include "qapi/visitor.h" #include "qemu/error-report.h"
hw/display/cirrus_vga.c +1 -1
@@ -28,7 +28,7 @@*/ #include "qemu/osdep.h" #include "qapi/error.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/hw.h" #include "hw/pci/pci.h" #include "ui/pixel_ops.h"
hw/display/g364fb.c +1 -1
@@ -22,7 +22,7 @@#include "qemu/error-report.h" #include "ui/console.h" #include "ui/pixel_ops.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/sysbus.h" typedef struct G364State {
hw/display/jazz_led.c +1 -1
@@ -26,7 +26,7 @@#include "qemu-common.h" #include "ui/console.h" #include "ui/pixel_ops.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/sysbus.h" typedef enum {
hw/display/milkymist-tmu2.c +1 -1
@@ -27,7 +27,7 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qapi/error.h" #include "qemu/error-report.h" #include "qapi/error.h"
hw/display/milkymist-vgafb.c +1 -1
@@ -25,7 +25,7 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "ui/console.h" #include "framebuffer.h" #include "ui/pixel_ops.h"
hw/display/qxl-render.c +1 -1
@@ -21,7 +21,7 @@#include "qemu/osdep.h" #include "qxl.h" -#include "trace.h" +#include "qemu-build/trace.h" static void qxl_blit (PCIQXLDevice *qxl,QXLRect *rect) {
hw/display/qxl.c +1 -1
@@ -28,7 +28,7 @@#include "qemu/atomic.h" #include "sysemu/sysemu.h" #include "migration/blocker.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qxl.h"
hw/display/sii9022.c +1 -1
@@ -17,7 +17,7 @@#include "qemu-common.h" #include "hw/i2c/i2c.h" #include "hw/i2c/i2c-ddc.h" -#include "trace.h" +#include "qemu-build/trace.h" #define SII9022_SYS_CTRL_DATA 0x1a#define SII9022_SYS_CTRL_PWR_DWN 0x10
hw/display/vga.c +1 -1
@@ -31,7 +31,7 @@#include "ui/pixel_ops.h" #include "qemu/timer.h" #include "hw/xen/xen.h" -#include "trace.h" +#include "qemu-build/trace.h" //#define DEBUG_VGA_MEM //#define DEBUG_VGA_REG
hw/display/virtio-gpu-3d.c +1 -1
@@ -14,7 +14,7 @@#include "qemu/osdep.h" #include "qemu-common.h" #include "qemu/iov.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/virtio/virtio.h" #include "hw/virtio/virtio-gpu.h"
hw/display/virtio-gpu.c +1 -1
@@ -15,7 +15,7 @@#include "qemu-common.h" #include "qemu/iov.h" #include "ui/console.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/virtio/virtio.h" #include "hw/virtio/virtio-gpu.h" #include "hw/virtio/virtio-bus.h"
hw/display/vmware_vga.c +1 -1
@@ -25,7 +25,7 @@#include "qapi/error.h" #include "hw/hw.h" #include "hw/loader.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "ui/vnc.h" #include "hw/pci/pci.h"
hw/display/xenfb.c +1 -1
@@ -36,7 +36,7 @@#include <xen/io/kbdif.h> #include <xen/io/protocols.h> -#include "trace.h" +#include "qemu-build/trace.h" #ifndef BTN_LEFT #define BTN_LEFT 0x110/* from <linux/input.h> */
hw/dma/i8257.c +1 -1
@@ -26,7 +26,7 @@#include "hw/isa/isa.h" #include "hw/isa/i8257.h" #include "qemu/main-loop.h" -#include "trace.h" +#include "qemu-build/trace.h" #define I8257 (obj) \ OBJECT_CHECK(I8257State, (obj), TYPE_I8257)
hw/dma/rc4030.c +1 -1
@@ -29,7 +29,7 @@#include "qemu/timer.h" #include "qemu/log.h" #include "exec/address-spaces.h" -#include "trace.h" +#include "qemu-build/trace.h" /********************************************************/ /* rc4030 emulation */
hw/dma/sparc32_dma.c +1 -1
@@ -32,7 +32,7 @@#include "hw/sysbus.h" #include "sysemu/dma.h" #include "qapi/error.h" -#include "trace.h" +#include "qemu-build/trace.h" /* * This is the DMA controller part of chip STP2000 (Master I/O), also
hw/hppa/pci.c +1 -1
@@ -8,7 +8,7 @@#include "hppa_sys.h" #include "qemu/log.h" #include "sysemu/sysemu.h" -#include "trace.h" +#include "qemu-build/trace.h" /* Fallback for unassigned PCI I/O operations. Avoids MCHK. */
hw/i386/amd_iommu.c +1 -1
@@ -26,7 +26,7 @@#include "amd_iommu.h" #include "qapi/error.h" #include "qemu/error-report.h" -#include "trace.h" +#include "qemu-build/trace.h" /* used AMD-Vi MMIO registers */ const char *amdvi_mmio_low[] = {
hw/i386/intel_iommu.c +1 -1
@@ -35,7 +35,7 @@#include "sysemu/kvm.h" #include "hw/i386/apic_internal.h" #include "kvm_i386.h" -#include "trace.h" +#include "qemu-build/trace.h" static void vtd_define_quad (IntelIOMMUState *s,hwaddr addr,uint64_t val,uint64_t wmask,uint64_t w1cmask)
hw/i386/pc.c +1 -1
@@ -67,7 +67,7 @@#include "acpi-build.h" #include "hw/mem/pc-dimm.h" #include "qapi/error.h" -#include "qapi/qapi-visit-common.h" +#include "qemu-build/qapi/qapi-visit-common.h" #include "qapi/visitor.h" #include "qom/cpu.h" #include "hw/nmi.h"
hw/i386/vmport.c +1 -1
@@ -28,7 +28,7 @@#include "sysemu/hw_accel.h" #include "hw/qdev.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" #define VMPORT_CMD_GETVERSION 0x0a#define VMPORT_CMD_GETRAMSIZE 0x14
hw/i386/x86-iommu.c +1 -1
@@ -24,7 +24,7 @@#include "hw/i386/pc.h" #include "qapi/error.h" #include "qemu/error-report.h" -#include "trace.h" +#include "qemu-build/trace.h" void x86_iommu_iec_register_notifier (X86IOMMUState *iommu,iec_notify_fn fn,void *data)
hw/i386/xen/xen-hvm.c +2 -2
@@ -17,11 +17,11 @@#include "hw/xen/xen_common.h" #include "hw/xen/xen_backend.h" #include "qapi/error.h" -#include "qapi/qapi-commands-misc.h" +#include "qemu-build/qapi/qapi-commands-misc.h" #include "qemu/error-report.h" #include "qemu/range.h" #include "sysemu/xen-mapcache.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "exec/address-spaces.h" #include <xen/hvm/ioreq.h>
hw/i386/xen/xen-mapcache.c +1 -1
@@ -20,7 +20,7 @@#include <xen/hvm/params.h> #include "sysemu/xen-mapcache.h" -#include "trace.h" +#include "qemu-build/trace.h" //#define MAPCACHE_DEBUG
hw/i386/xen/xen_platform.c +1 -1
@@ -31,7 +31,7 @@#include "hw/irq.h" #include "hw/xen/xen_common.h" #include "hw/xen/xen_backend.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "exec/address-spaces.h" #include "sysemu/block-backend.h" #include "qemu/error-report.h"
hw/i386/xen/xen_pvdevice.c +1 -1
@@ -33,7 +33,7 @@#include "qapi/error.h" #include "hw/hw.h" #include "hw/pci/pci.h" -#include "trace.h" +#include "qemu-build/trace.h" #define TYPE_XEN_PV_DEVICE "xen-pvdevice"
hw/ide/ahci-allwinner.c +1 -1
@@ -23,7 +23,7 @@#include "hw/ide/internal.h" #include "hw/ide/ahci_internal.h" -#include "trace.h" +#include "qemu-build/trace.h" #define ALLWINNER_AHCI_BISTAFR ((0xa0 - ALLWINNER_AHCI_MMIO_OFF) / 4)#define ALLWINNER_AHCI_BISTCR ((0xa4 - ALLWINNER_AHCI_MMIO_OFF) / 4)
hw/ide/ahci.c +1 -1
@@ -33,7 +33,7 @@#include "hw/ide/pci.h" #include "hw/ide/ahci_internal.h" -#include "trace.h" +#include "qemu-build/trace.h" static void check_cmd (AHCIState *s,int port);static int handle_cmd (AHCIState *s,int port,uint8_t slot);
hw/ide/atapi.c +1 -1
@@ -27,7 +27,7 @@#include "hw/ide/internal.h" #include "hw/scsi/scsi.h" #include "sysemu/block-backend.h" -#include "trace.h" +#include "qemu-build/trace.h" #define ATAPI_SECTOR_BITS (2 + BDRV_SECTOR_BITS)#define ATAPI_SECTOR_SIZE (1 << ATAPI_SECTOR_BITS)
hw/ide/cmd646.c +1 -1
@@ -31,7 +31,7 @@#include "sysemu/dma.h" #include "hw/ide/pci.h" -#include "trace.h" +#include "qemu-build/trace.h" /* CMD646 specific */ #define CFR 0x50
hw/ide/core.c +1 -1
@@ -38,7 +38,7 @@#include "qemu/cutils.h" #include "hw/ide/internal.h" -#include "trace.h" +#include "qemu-build/trace.h" /* These values were based on a Seagate ST3500418AS but have been modified to make more sense in QEMU */
hw/ide/pci.c +1 -1
@@ -30,7 +30,7 @@#include "sysemu/dma.h" #include "qemu/error-report.h" #include "hw/ide/pci.h" -#include "trace.h" +#include "qemu-build/trace.h" #define BMDMA_PAGE_SIZE 4096
hw/ide/piix.c +1 -1
@@ -33,7 +33,7 @@#include "sysemu/dma.h" #include "hw/ide/pci.h" -#include "trace.h" +#include "qemu-build/trace.h" static uint64_t bmdma_read (void *opaque,hwaddr addr,unsigned size) {
hw/ide/sii3112.c +1 -1
@@ -14,7 +14,7 @@#include "qemu/osdep.h" #include "hw/ide/pci.h" -#include "trace.h" +#include "qemu-build/trace.h" #define TYPE_SII3112_PCI "sii3112"#define SII3112_PCI (obj) OBJECT_CHECK(SiI3112PCIState, (obj), \
hw/ide/via.c +1 -1
@@ -32,7 +32,7 @@#include "sysemu/dma.h" #include "hw/ide/pci.h" -#include "trace.h" +#include "qemu-build/trace.h" static uint64_t bmdma_read (void *opaque,hwaddr addr,unsigned size)
hw/input/adb-kbd.c +1 -1
@@ -27,7 +27,7 @@#include "hw/input/adb-keys.h" #include "sysemu/sysemu.h" #include "adb-internal.h" -#include "trace.h" +#include "qemu-build/trace.h" #define ADB_KEYBOARD (obj) OBJECT_CHECK(KBDState, (obj), TYPE_ADB_KEYBOARD)
hw/input/adb-mouse.c +1 -1
@@ -25,7 +25,7 @@#include "ui/console.h" #include "hw/input/adb.h" #include "adb-internal.h" -#include "trace.h" +#include "qemu-build/trace.h" #define ADB_MOUSE (obj) OBJECT_CHECK(MouseState, (obj), TYPE_ADB_MOUSE)
hw/input/hid.c +1 -1
@@ -27,7 +27,7 @@#include "ui/console.h" #include "qemu/timer.h" #include "hw/input/hid.h" -#include "trace.h" +#include "qemu-build/trace.h" #define HID_USAGE_ERROR_ROLLOVER 0x01#define HID_USAGE_POSTFAIL 0x02
hw/input/milkymist-softusb.c +1 -1
@@ -25,7 +25,7 @@#include "qapi/error.h" #include "hw/hw.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "ui/console.h" #include "hw/input/hid.h" #include "qemu/error-report.h"
hw/input/ps2.c +1 -1
@@ -29,7 +29,7 @@#include "ui/input.h" #include "sysemu/sysemu.h" -#include "trace.h" +#include "qemu-build/trace.h" /* debug PC keyboard */ //#define DEBUG_KBD
hw/input/virtio-input.c +1 -1
@@ -7,7 +7,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/iov.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/qdev.h" #include "hw/virtio/virtio.h"
hw/intc/apic.c +1 -1
@@ -25,7 +25,7 @@#include "hw/i386/ioapic.h" #include "hw/pci/msi.h" #include "qemu/host-utils.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/i386/pc.h" #include "hw/i386/apic-msidef.h" #include "qapi/error.h"
hw/intc/apic_common.c +1 -1
@@ -25,7 +25,7 @@#include "qapi/visitor.h" #include "hw/i386/apic.h" #include "hw/i386/apic_internal.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "sysemu/hax.h" #include "sysemu/kvm.h" #include "hw/qdev.h"
hw/intc/arm_gic.c +1 -1
@@ -24,7 +24,7 @@#include "qapi/error.h" #include "qom/cpu.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "sysemu/kvm.h" /* #define DEBUG_GIC */
hw/intc/arm_gicv3_cpuif.c +1 -1
@@ -15,7 +15,7 @@#include "qemu/osdep.h" #include "qemu/bitops.h" #include "qemu/main-loop.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "gicv3_internal.h" #include "cpu.h"
hw/intc/arm_gicv3_dist.c +1 -1
@@ -11,7 +11,7 @@#include "qemu/osdep.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "gicv3_internal.h" /* The GICD_NSACR registers contain a two bit field for each interrupt which
hw/intc/arm_gicv3_redist.c +1 -1
@@ -11,7 +11,7 @@#include "qemu/osdep.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "gicv3_internal.h" static uint32_t mask_group (GICv3CPUState *cs,MemTxAttrs attrs)
hw/intc/armv7m_nvic.c +1 -1
@@ -21,7 +21,7 @@#include "target/arm/cpu.h" #include "exec/exec-all.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" /* IRQ number counting: *
hw/intc/aspeed_vic.c +1 -1
@@ -31,7 +31,7 @@#include "hw/intc/aspeed_vic.h" #include "qemu/bitops.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" #define AVIC_NEW_BASE_OFFSET 0x80
hw/intc/grlib_irqmp.c +1 -1
@@ -30,7 +30,7 @@#include "hw/sparc/grlib.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qapi/error.h" #define IRQMP_MAX_CPU 16
hw/intc/heathrow_pic.c +1 -1
@@ -26,7 +26,7 @@#include "hw/hw.h" #include "hw/ppc/mac.h" #include "hw/intc/heathrow_pic.h" -#include "trace.h" +#include "qemu-build/trace.h" static inline int heathrow_check_irq (HeathrowPICState *pic) {
hw/intc/i8259.c +1 -1
@@ -28,7 +28,7 @@#include "qemu/timer.h" #include "qemu/log.h" #include "hw/isa/i8259_internal.h" -#include "trace.h" +#include "qemu-build/trace.h" /* debug PIC */ //#define DEBUG_PIC
hw/intc/ioapic.c +1 -1
@@ -33,7 +33,7 @@#include "target/i386/cpu.h" #include "hw/i386/apic-msidef.h" #include "hw/i386/x86-iommu.h" -#include "trace.h" +#include "qemu-build/trace.h" #define APIC_DELIVERY_MODE_SHIFT 8#define APIC_POLARITY_SHIFT 14
hw/intc/lm32_pic.c +1 -1
@@ -22,7 +22,7 @@#include "hw/hw.h" #include "monitor/monitor.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/lm32/lm32_pic.h" #include "hw/intc/intc.h"
hw/intc/s390_flic.c +1 -1
@@ -16,7 +16,7 @@#include "hw/s390x/ioinst.h" #include "hw/s390x/s390_flic.h" #include "hw/s390x/css.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "cpu.h" #include "hw/qdev.h" #include "qapi/error.h"
hw/intc/s390_flic_kvm.c +1 -1
@@ -22,7 +22,7 @@#include "hw/s390x/s390_flic.h" #include "hw/s390x/adapter.h" #include "hw/s390x/css.h" -#include "trace.h" +#include "qemu-build/trace.h" #define FLIC_SAVE_INITIAL_SIZE getpagesize()#define FLIC_FAILED (-1UL)
hw/intc/slavio_intctl.c +1 -1
@@ -26,7 +26,7 @@#include "monitor/monitor.h" #include "hw/sysbus.h" #include "hw/intc/intc.h" -#include "trace.h" +#include "qemu-build/trace.h" //#define DEBUG_IRQ_COUNT
hw/intc/xics.c +1 -1
@@ -30,7 +30,7 @@#include "qemu-common.h" #include "cpu.h" #include "hw/hw.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/timer.h" #include "hw/ppc/xics.h" #include "qemu/error-report.h"
hw/intc/xics_kvm.c +1 -1
@@ -30,7 +30,7 @@#include "qemu-common.h" #include "cpu.h" #include "hw/hw.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "sysemu/kvm.h" #include "hw/ppc/spapr.h" #include "hw/ppc/xics.h"
hw/intc/xics_spapr.c +1 -1
@@ -28,7 +28,7 @@#include "qemu/osdep.h" #include "cpu.h" #include "hw/hw.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/timer.h" #include "hw/ppc/spapr.h" #include "hw/ppc/xics.h"
hw/ipmi/ipmi.c +1 -1
@@ -28,7 +28,7 @@#include "sysemu/sysemu.h" #include "qom/object_interfaces.h" #include "qapi/error.h" -#include "qapi/qapi-commands-misc.h" +#include "qemu-build/qapi/qapi-commands-misc.h" #include "qapi/visitor.h" static uint32_t ipmi_current_uuid =1 ;
hw/isa/pc87312.c +1 -1
@@ -31,7 +31,7 @@#include "sysemu/blockdev.h" #include "sysemu/sysemu.h" #include "chardev/char.h" -#include "trace.h" +#include "qemu-build/trace.h" #define REG_FER 0
hw/mem/pc-dimm.c +1 -1
@@ -27,7 +27,7 @@#include "qemu/range.h" #include "sysemu/numa.h" #include "sysemu/kvm.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/virtio/vhost.h" typedef struct pc_dimms_capacity {
hw/misc/aspeed_scu.c +1 -1
@@ -16,7 +16,7 @@#include "qapi/visitor.h" #include "qemu/bitops.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" #define TO_REG (offset) ((offset) >> 2)
hw/misc/aspeed_sdmc.c +1 -1
@@ -14,7 +14,7 @@#include "hw/misc/aspeed_scu.h" #include "hw/qdev-properties.h" #include "qapi/error.h" -#include "trace.h" +#include "qemu-build/trace.h" /* Protection Key Register */ #define R_PROT (0x00 / 4)
hw/misc/eccmemctl.c +1 -1
@@ -24,7 +24,7 @@#include "qemu/osdep.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" /* There are 3 versions of this chip used in SMP sun4m systems: * MCC (version 0, implementation 0) SS-600MP
hw/misc/imx7_gpr.c +1 -1
@@ -17,7 +17,7 @@#include "qemu/log.h" #include "sysemu/sysemu.h" -#include "trace.h" +#include "qemu-build/trace.h" enum IMX7GPRRegisters {IOMUXC_GPR0 =0x00 ,
hw/misc/iotkit-secctl.c +1 -1
@@ -12,7 +12,7 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "qapi/error.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/sysbus.h" #include "hw/registerfields.h" #include "hw/misc/iotkit-secctl.h"
hw/misc/macio/cuda.c +1 -1
@@ -32,7 +32,7 @@#include "sysemu/sysemu.h" #include "qemu/cutils.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" /* Bits in B data register: all active low */ #define TREQ 0x08/* Transfer request (input) */
hw/misc/milkymist-hpdmc.c +1 -1
@@ -24,7 +24,7 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/error-report.h" enum {
hw/misc/milkymist-pfpu.c +1 -1
@@ -25,7 +25,7 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/log.h" #include "qemu/error-report.h" #include <math.h>
hw/misc/mmio_interface.c +1 -1
@@ -24,7 +24,7 @@#include "qemu/osdep.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/qdev-properties.h" #include "hw/misc/mmio_interface.h" #include "qapi/error.h"
hw/misc/mos6522.c +1 -1
@@ -31,7 +31,7 @@#include "sysemu/sysemu.h" #include "qemu/cutils.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" /* XXX: implement all timer modes */
hw/misc/mps2-fpgaio.c +1 -1
@@ -18,7 +18,7 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "qapi/error.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/sysbus.h" #include "hw/registerfields.h" #include "hw/misc/mps2-fpgaio.h"
hw/misc/mps2-scc.c +1 -1
@@ -19,7 +19,7 @@#include "qemu/osdep.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/sysbus.h" #include "hw/registerfields.h" #include "hw/misc/mps2-scc.h"
hw/misc/msf2-sysreg.c +1 -1
@@ -17,7 +17,7 @@#include "qemu/log.h" #include "hw/misc/msf2-sysreg.h" #include "qemu/error-report.h" -#include "trace.h" +#include "qemu-build/trace.h" static inline int msf2_divbits (uint32_t div) {
hw/misc/slavio_misc.c +1 -1
@@ -25,7 +25,7 @@#include "qemu/osdep.h" #include "sysemu/sysemu.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" /* * This is the auxio port, chip control and system control part of
hw/misc/tz-ppc.c +1 -1
@@ -12,7 +12,7 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "qapi/error.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/sysbus.h" #include "hw/registerfields.h" #include "hw/misc/tz-ppc.h"
hw/net/e1000e.c +1 -1
@@ -46,7 +46,7 @@#include "e1000x_common.h" #include "e1000e_core.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qapi/error.h" #define TYPE_E1000E "e1000e"
hw/net/e1000e_core.c +1 -1
@@ -46,7 +46,7 @@#include "e1000x_common.h" #include "e1000e_core.h" -#include "trace.h" +#include "qemu-build/trace.h" #define E1000E_MIN_XITR (500)/* No more then 7813 interrupts per second according to spec 10.2.4.2 */
hw/net/e1000x_common.c +1 -1
@@ -29,7 +29,7 @@#include "e1000x_common.h" -#include "trace.h" +#include "qemu-build/trace.h" bool e1000x_rx_ready (PCIDevice *d,uint32_t *mac) {
hw/net/lance.c +1 -1
@@ -39,7 +39,7 @@#include "qemu/timer.h" #include "hw/sparc/sparc32_dma.h" #include "hw/net/lance.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "sysemu/sysemu.h"
hw/net/milkymist-minimac2.c +1 -1
@@ -28,7 +28,7 @@#include "cpu.h" /* FIXME: why does this use TARGET_PAGE_ALIGN? */ #include "hw/hw.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "net/net.h" #include "qemu/error-report.h"
hw/net/mipsnet.c +1 -1
@@ -1,7 +1,7 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "net/net.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/sysbus.h" /* MIPSnet register offsets */
hw/net/net_rx_pkt.c +1 -1
@@ -16,7 +16,7 @@*/ #include "qemu/osdep.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "net_rx_pkt.h" #include "net/checksum.h" #include "net/tap.h"
hw/net/opencores_eth.c +1 -1
@@ -38,7 +38,7 @@#include "net/net.h" #include "net/eth.h" #include "sysemu/sysemu.h" -#include "trace.h" +#include "qemu-build/trace.h" /* RECSMALL is not used because it breaks tap networking in linux: * incoming ARP responses are too short
hw/net/pcnet-pci.c +1 -1
@@ -33,7 +33,7 @@#include "qemu/timer.h" #include "sysemu/dma.h" #include "sysemu/sysemu.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "pcnet.h"
hw/net/pcnet.c +1 -1
@@ -41,7 +41,7 @@#include "net/eth.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "pcnet.h"
hw/net/rocker/qmp-norocker.c +1 -1
@@ -18,7 +18,7 @@#include "qemu/osdep.h" #include "qemu-common.h" #include "qapi/error.h" -#include "qapi/qapi-commands-rocker.h" +#include "qemu-build/qapi/qapi-commands-rocker.h" #include "qapi/qmp/qerror.h" RockerSwitch *qmp_query_rocker (const char *name,Error **errp)
hw/net/rocker/rocker.c +1 -1
@@ -22,7 +22,7 @@#include "net/net.h" #include "net/eth.h" #include "qapi/error.h" -#include "qapi/qapi-commands-rocker.h" +#include "qemu-build/qapi/qapi-commands-rocker.h" #include "qemu/iov.h" #include "qemu/bitops.h"
hw/net/rocker/rocker_fp.c +1 -1
@@ -16,7 +16,7 @@#include "qemu/osdep.h" #include "net/clients.h" -#include "qapi/qapi-types-rocker.h" +#include "qemu-build/qapi/qapi-types-rocker.h" #include "rocker.h" #include "rocker_hw.h" #include "rocker_fp.h"
hw/net/rocker/rocker_of_dpa.c +1 -1
@@ -17,7 +17,7 @@#include "qemu/osdep.h" #include "net/eth.h" #include "qapi/error.h" -#include "qapi/qapi-commands-rocker.h" +#include "qemu-build/qapi/qapi-commands-rocker.h" #include "qemu/iov.h" #include "qemu/timer.h"
hw/net/spapr_llan.c +1 -1
@@ -34,7 +34,7 @@#include "hw/ppc/spapr.h" #include "hw/ppc/spapr_vio.h" #include "sysemu/sysemu.h" -#include "trace.h" +#include "qemu-build/trace.h" #include <libfdt.h>
hw/net/sungem.c +1 -1
@@ -15,7 +15,7 @@#include "net/checksum.h" #include "hw/net/mii.h" #include "sysemu/sysemu.h" -#include "trace.h" +#include "qemu-build/trace.h" #define TYPE_SUNGEM "sungem"
hw/net/sunhme.c +1 -1
@@ -30,7 +30,7 @@#include "net/checksum.h" #include "net/eth.h" #include "sysemu/sysemu.h" -#include "trace.h" +#include "qemu-build/trace.h" #define HME_REG_SIZE 0x8000
hw/net/virtio-net.c +1 -1
@@ -23,7 +23,7 @@#include "net/vhost_net.h" #include "hw/virtio/virtio-bus.h" #include "qapi/error.h" -#include "qapi/qapi-events-net.h" +#include "qemu-build/qapi/qapi-events-net.h" #include "hw/virtio/virtio-access.h" #include "migration/misc.h" #include "standard-headers/linux/ethtool.h"
hw/nvram/ds1225y.c +1 -1
@@ -24,7 +24,7 @@#include "qemu/osdep.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" typedef struct { MemoryRegion iomem;
hw/nvram/fw_cfg.c +1 -1
@@ -30,7 +30,7 @@#include "hw/isa/isa.h" #include "hw/nvram/fw_cfg.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/error-report.h" #include "qemu/option.h" #include "qemu/config-file.h"
hw/pci-host/grackle.c +1 -1
@@ -27,7 +27,7 @@#include "hw/pci/pci_host.h" #include "hw/ppc/mac.h" #include "hw/pci/pci.h" -#include "trace.h" +#include "qemu-build/trace.h" #define GRACKLE_PCI_HOST_BRIDGE (obj) \ OBJECT_CHECK(GrackleState, (obj), TYPE_GRACKLE_PCI_HOST_BRIDGE)
hw/pci-host/sabre.c +1 -1
@@ -35,7 +35,7 @@#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" /* * Chipset docs:
hw/pci-host/uninorth.c +1 -1
@@ -26,7 +26,7 @@#include "hw/ppc/mac.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" -#include "trace.h" +#include "qemu-build/trace.h" static const int unin_irq_line[] = {0x1b ,0x1c ,0x1d ,0x1e };
hw/pci/msix.c +1 -1
@@ -22,7 +22,7 @@#include "hw/xen/xen.h" #include "qemu/range.h" #include "qapi/error.h" -#include "trace.h" +#include "qemu-build/trace.h" #define MSIX_CAP_LENGTH 12
hw/pci/pci-stub.c +1 -1
@@ -22,7 +22,7 @@#include "sysemu/sysemu.h" #include "monitor/monitor.h" #include "qapi/error.h" -#include "qapi/qapi-commands-misc.h" +#include "qemu-build/qapi/qapi-commands-misc.h" #include "qapi/qmp/qerror.h" #include "hw/pci/pci.h" #include "hw/pci/msi.h"
hw/pci/pci.c +2 -2
@@ -34,14 +34,14 @@#include "hw/loader.h" #include "qemu/error-report.h" #include "qemu/range.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" #include "exec/address-spaces.h" #include "hw/hotplug.h" #include "hw/boards.h" #include "qapi/error.h" -#include "qapi/qapi-commands-misc.h" +#include "qemu-build/qapi/qapi-commands-misc.h" #include "qemu/cutils.h" //#define DEBUG_PCI
hw/pci/pci_host.c +1 -1
@@ -22,7 +22,7 @@#include "hw/pci/pci.h" #include "hw/pci/pci_host.h" #include "hw/pci/pci_bus.h" -#include "trace.h" +#include "qemu-build/trace.h" /* debug PCI */ //#define DEBUG_PCI
hw/ppc/mac_newworld.c +1 -1
@@ -73,7 +73,7 @@#include "exec/address-spaces.h" #include "hw/sysbus.h" #include "qemu/cutils.h" -#include "trace.h" +#include "qemu-build/trace.h" #define MAX_IDE_BUS 2#define CFG_ADDR 0xf0000510
hw/ppc/ppc.c +1 -1
@@ -36,7 +36,7 @@#include "hw/loader.h" #include "sysemu/kvm.h" #include "kvm_ppc.h" -#include "trace.h" +#include "qemu-build/trace.h" //#define PPC_DEBUG_IRQ //#define PPC_DEBUG_TB
hw/ppc/ppc440_pcix.c +1 -1
@@ -27,7 +27,7 @@#include "hw/pci/pci.h" #include "hw/pci/pci_host.h" #include "exec/address-spaces.h" -#include "trace.h" +#include "qemu-build/trace.h" struct PLBOutMap {uint64_t la;
hw/ppc/ppc4xx_pci.c +1 -1
@@ -26,7 +26,7 @@#include "hw/pci/pci.h" #include "hw/pci/pci_host.h" #include "exec/address-spaces.h" -#include "trace.h" +#include "qemu-build/trace.h" struct PCIMasterMap {uint32_t la;
hw/ppc/prep.c +1 -1
@@ -48,7 +48,7 @@#include "sysemu/kvm.h" #include "sysemu/qtest.h" #include "exec/address-spaces.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "elf.h" #include "qemu/cutils.h" #include "kvm_ppc.h"
hw/ppc/prep_systemio.c +1 -1
@@ -28,7 +28,7 @@#include "qemu/error-report.h" /* for error_report() */ #include "sysemu/sysemu.h" /* for vm_stop() */ #include "cpu.h" -#include "trace.h" +#include "qemu-build/trace.h" #define TYPE_PREP_SYSTEMIO "prep-systemio"#define PREP_SYSTEMIO (obj) \
hw/ppc/rs6000_mc.c +1 -1
@@ -22,7 +22,7 @@#include "exec/address-spaces.h" #include "hw/boards.h" #include "qapi/error.h" -#include "trace.h" +#include "qemu-build/trace.h" #define TYPE_RS6000MC "rs6000-mc"#define RS6000MC_DEVICE (obj) \
hw/ppc/spapr.c +1 -1
@@ -67,7 +67,7 @@#include "hw/usb.h" #include "qemu/config-file.h" #include "qemu/error-report.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/nmi.h" #include "hw/intc/intc.h"
hw/ppc/spapr_drc.c +1 -1
@@ -22,7 +22,7 @@#include "qemu/error-report.h" #include "hw/ppc/spapr.h" /* for RTAS return codes */ #include "hw/pci-host/spapr.h" /* spapr_phb_remove_pci_device_cb callback */ -#include "trace.h" +#include "qemu-build/trace.h" #define DRC_CONTAINER_PATH "/dr-connector"#define DRC_INDEX_TYPE_SHIFT 28
hw/ppc/spapr_hcall.c +1 -1
@@ -10,7 +10,7 @@#include "hw/ppc/spapr.h" #include "mmu-hash64.h" #include "cpu-models.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "kvm_ppc.h" #include "hw/ppc/spapr_ovec.h" #include "mmu-book3s-v3.h"
hw/ppc/spapr_iommu.c +1 -1
@@ -25,7 +25,7 @@#include "kvm_ppc.h" #include "sysemu/dma.h" #include "exec/address-spaces.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/ppc/spapr.h" #include "hw/ppc/spapr_vio.h"
hw/ppc/spapr_ovec.c +1 -1
@@ -16,7 +16,7 @@#include "qemu/bitmap.h" #include "exec/address-spaces.h" #include "qemu/error-report.h" -#include "trace.h" +#include "qemu-build/trace.h" #include <libfdt.h> #define OV_MAXBYTES 256/* not including length byte */
hw/ppc/spapr_pci.c +1 -1
@@ -37,7 +37,7 @@#include "exec/address-spaces.h" #include "exec/ram_addr.h" #include <libfdt.h> -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/error-report.h" #include "qapi/qmp/qerror.h" #include "hw/ppc/fdt.h"
hw/ppc/spapr_rtas.c +1 -1
@@ -43,7 +43,7 @@#include <libfdt.h> #include "hw/ppc/spapr_drc.h" #include "qemu/cutils.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/ppc/fdt.h" static void rtas_display_character(PowerPCCPU *cpu, sPAPRMachineState *spapr,
hw/ppc/spapr_rtas_ddw.c +1 -1
@@ -22,7 +22,7 @@#include "qemu/error-report.h" #include "hw/ppc/spapr.h" #include "hw/pci-host/spapr.h" -#include "trace.h" +#include "qemu-build/trace.h" static int spapr_phb_get_active_win_num_cb (Object *child,void *opaque) {
hw/ppc/spapr_rtc.c +1 -1
@@ -31,7 +31,7 @@#include "sysemu/sysemu.h" #include "hw/ppc/spapr.h" #include "qapi/error.h" -#include "qapi/qapi-events-misc.h" +#include "qemu-build/qapi/qapi-events-misc.h" #include "qemu/cutils.h" void spapr_rtc_read (sPAPRRTCState *rtc,struct tm *tm,uint32_t *ns)
hw/ppc/spapr_vio.c +1 -1
@@ -37,7 +37,7 @@#include "hw/ppc/spapr_vio.h" #include "hw/ppc/xics.h" #include "hw/ppc/fdt.h" -#include "trace.h" +#include "qemu-build/trace.h" #include <libfdt.h>
hw/rdma/rdma_backend.c +1 -1
@@ -19,7 +19,7 @@#include <infiniband/verbs.h> -#include "trace.h" +#include "qemu-build/trace.h" #include "rdma_utils.h" #include "rdma_rm.h" #include "rdma_backend.h"
hw/rdma/vmw/pvrdma_main.c +1 -1
@@ -23,7 +23,7 @@#include "hw/qdev-core.h" #include "hw/qdev-properties.h" #include "cpu.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "../rdma_rm.h" #include "../rdma_backend.h"
hw/s390x/css.c +1 -1
@@ -19,7 +19,7 @@#include "cpu.h" #include "hw/s390x/ioinst.h" #include "hw/s390x/css.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/s390x/s390_flic.h" #include "hw/s390x/s390-virtio-ccw.h"
hw/s390x/s390-skeys.c +1 -1
@@ -13,7 +13,7 @@#include "hw/boards.h" #include "hw/s390x/storage-keys.h" #include "qapi/error.h" -#include "qapi/qapi-commands-misc.h" +#include "qemu-build/qapi/qapi-commands-misc.h" #include "qapi/qmp/qdict.h" #include "qemu/error-report.h" #include "sysemu/kvm.h"
hw/s390x/virtio-ccw.c +1 -1
@@ -32,7 +32,7 @@#include "hw/s390x/ioinst.h" #include "hw/s390x/css.h" #include "virtio-ccw.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/s390x/css-bridge.h" #include "hw/s390x/s390-virtio-ccw.h"
hw/scsi/esp-pci.c +1 -1
@@ -27,7 +27,7 @@#include "hw/pci/pci.h" #include "hw/nvram/eeprom93xx.h" #include "hw/scsi/esp.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qapi/error.h" #include "qemu/log.h"
hw/scsi/esp.c +1 -1
@@ -26,7 +26,7 @@#include "qemu/osdep.h" #include "hw/sysbus.h" #include "hw/scsi/esp.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/log.h" /*
hw/scsi/megasas.c +1 -1
@@ -28,7 +28,7 @@#include "qemu/iov.h" #include "hw/scsi/scsi.h" #include "scsi/constants.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qapi/error.h" #include "mfi.h"
hw/scsi/mptconfig.c +1 -1
@@ -22,7 +22,7 @@#include "mptsas.h" #include "mpi.h" -#include "trace.h" +#include "qemu-build/trace.h" /* Generic functions for marshaling and unmarshaling. */
hw/scsi/mptendian.c +1 -1
@@ -29,7 +29,7 @@#include "qemu/iov.h" #include "hw/scsi/scsi.h" #include "scsi/constants.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "mptsas.h" #include "mpi.h"
hw/scsi/mptsas.c +1 -1
@@ -31,7 +31,7 @@#include "qemu/iov.h" #include "hw/scsi/scsi.h" #include "scsi/constants.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qapi/error.h" #include "mptsas.h" #include "mpi.h"
hw/scsi/scsi-bus.c +1 -1
@@ -8,7 +8,7 @@#include "hw/qdev.h" #include "sysemu/block-backend.h" #include "sysemu/blockdev.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "sysemu/dma.h" #include "qemu/cutils.h"
hw/scsi/spapr_vscsi.c +1 -1
@@ -42,7 +42,7 @@#include "hw/ppc/spapr.h" #include "hw/ppc/spapr_vio.h" #include "viosrp.h" -#include "trace.h" +#include "qemu-build/trace.h" #include <libfdt.h>
hw/scsi/vmw_pvscsi.c +1 -1
@@ -31,7 +31,7 @@#include "scsi/constants.h" #include "hw/pci/msi.h" #include "vmw_pvscsi.h" -#include "trace.h" +#include "qemu-build/trace.h" #define PVSCSI_USE_64BIT (true)
hw/sd/core.c +1 -1
@@ -23,7 +23,7 @@#include "hw/qdev-core.h" #include "sysemu/block-backend.h" #include "hw/sd/sd.h" -#include "trace.h" +#include "qemu-build/trace.h" static inline const char *sdbus_name (SDBus *sdbus) {
hw/sd/milkymist-memcard.c +1 -1
@@ -26,7 +26,7 @@#include "hw/hw.h" #include "hw/sysbus.h" #include "sysemu/sysemu.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "include/qapi/error.h" #include "sysemu/block-backend.h" #include "sysemu/blockdev.h"
hw/sd/pxa2xx_mmci.c +1 -1
@@ -20,7 +20,7 @@#include "hw/qdev-properties.h" #include "qemu/error-report.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" #define TYPE_PXA2XX_MMCI "pxa2xx-mmci"#define PXA2XX_MMCI (obj) OBJECT_CHECK(PXA2xxMMCIState, (obj), TYPE_PXA2XX_MMCI)
hw/sd/sd.c +1 -1
@@ -43,7 +43,7 @@#include "qemu/timer.h" #include "qemu/log.h" #include "sdmmc-internal.h" -#include "trace.h" +#include "qemu-build/trace.h" //#define DEBUG_SD 1
hw/sd/sdhci.c +1 -1
@@ -35,7 +35,7 @@#include "sdhci-internal.h" #include "qemu/log.h" #include "qemu/cutils.h" -#include "trace.h" +#include "qemu-build/trace.h" #define TYPE_SDHCI_BUS "sdhci-bus"#define SDHCI_BUS (obj) OBJECT_CHECK(SDBus, (obj), TYPE_SDHCI_BUS)
hw/sparc/leon3.c +1 -1
@@ -34,7 +34,7 @@#include "hw/boards.h" #include "hw/loader.h" #include "elf.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "exec/address-spaces.h" #include "hw/sparc/grlib.h"
hw/sparc/sun4m.c +1 -1
@@ -45,7 +45,7 @@#include "hw/loader.h" #include "elf.h" #include "sysemu/block-backend.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/cutils.h" /*
hw/sparc/sun4m_iommu.c +1 -1
@@ -26,7 +26,7 @@#include "hw/sparc/sun4m_iommu.h" #include "hw/sysbus.h" #include "exec/address-spaces.h" -#include "trace.h" +#include "qemu-build/trace.h" /* * I/O MMU used by Sun4m systems
hw/sparc64/sparc64.c +1 -1
@@ -28,7 +28,7 @@#include "hw/char/serial.h" #include "hw/sparc/sparc64.h" #include "qemu/timer.h" -#include "trace.h" +#include "qemu-build/trace.h" #define TICK_MAX 0x7fffffffffffffffULL
hw/sparc64/sun4u.c +1 -1
@@ -49,7 +49,7 @@#include "hw/ide/pci.h" #include "hw/loader.h" #include "elf.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/cutils.h" #define KERNEL_LOAD_ADDR 0x00404000
hw/sparc64/sun4u_iommu.c +1 -1
@@ -29,7 +29,7 @@#include "hw/sparc/sun4u_iommu.h" #include "exec/address-spaces.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" #define IOMMU_PAGE_SIZE_8K (1ULL << 13)
hw/timer/armv7m_systick.c +1 -1
@@ -15,7 +15,7 @@#include "hw/sysbus.h" #include "qemu/timer.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" /* qemu timers run at 1GHz. We want something closer to 1MHz. */ #define SYSTICK_SCALE 1000ULL
hw/timer/aspeed_timer.c +1 -1
@@ -16,7 +16,7 @@#include "qemu/bitops.h" #include "qemu/timer.h" #include "qemu/log.h" -#include "trace.h" +#include "qemu-build/trace.h" #define TIMER_NR_REGS 4
hw/timer/cmsdk-apb-timer.c +1 -1
@@ -31,7 +31,7 @@#include "qemu/log.h" #include "qemu/main-loop.h" #include "qapi/error.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/sysbus.h" #include "hw/registerfields.h" #include "hw/timer/cmsdk-apb-timer.h"
hw/timer/grlib_gptimer.c +1 -1
@@ -28,7 +28,7 @@#include "hw/ptimer.h" #include "qemu/main-loop.h" -#include "trace.h" +#include "qemu-build/trace.h" #define UNIT_REG_SIZE 16/* Size of memory mapped regs for the unit */ #define GPTIMER_REG_SIZE 16/* Size of memory mapped regs for a GPTimer */
hw/timer/lm32_timer.c +1 -1
@@ -24,7 +24,7 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/timer.h" #include "hw/ptimer.h" #include "qemu/error-report.h"
hw/timer/mc146818rtc.c +2 -2
@@ -31,8 +31,8 @@#include "sysemu/replay.h" #include "hw/timer/mc146818rtc.h" #include "qapi/error.h" -#include "qapi/qapi-commands-misc.h" -#include "qapi/qapi-events-misc.h" +#include "qemu-build/qapi/qapi-commands-misc.h" +#include "qemu-build/qapi/qapi-events-misc.h" #include "qapi/visitor.h" #ifdef TARGET_I386
hw/timer/milkymist-sysctl.c +1 -1
@@ -25,7 +25,7 @@#include "hw/hw.h" #include "hw/sysbus.h" #include "sysemu/sysemu.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/timer.h" #include "hw/ptimer.h" #include "qemu/error-report.h"
hw/timer/slavio_timer.c +1 -1
@@ -26,7 +26,7 @@#include "qemu/timer.h" #include "hw/ptimer.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/main-loop.h" /*
hw/timer/xlnx-zynqmp-rtc.c +1 -1
@@ -32,7 +32,7 @@#include "hw/ptimer.h" #include "qemu/cutils.h" #include "sysemu/sysemu.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/timer/xlnx-zynqmp-rtc.h" #ifndef XLNX_ZYNQMP_RTC_ERR_DEBUG
hw/tpm/tpm_crb.c +1 -1
@@ -29,7 +29,7 @@#include "sysemu/reset.h" #include "tpm_int.h" #include "tpm_util.h" -#include "trace.h" +#include "qemu-build/trace.h" typedef struct CRBState { DeviceState parent_obj;
hw/tpm/tpm_emulator.c +2 -2
@@ -38,9 +38,9 @@#include "migration/blocker.h" #include "qapi/error.h" #include "qapi/clone-visitor.h" -#include "qapi/qapi-visit-tpm.h" +#include "qemu-build/qapi/qapi-visit-tpm.h" #include "chardev/char-fe.h" -#include "trace.h" +#include "qemu-build/trace.h" #define TYPE_TPM_EMULATOR "tpm-emulator"#define TPM_EMULATOR (obj) \
hw/tpm/tpm_passthrough.c +2 -2
@@ -30,9 +30,9 @@#include "tpm_int.h" #include "hw/hw.h" #include "qapi/clone-visitor.h" -#include "qapi/qapi-visit-tpm.h" +#include "qemu-build/qapi/qapi-visit-tpm.h" #include "tpm_util.h" -#include "trace.h" +#include "qemu-build/trace.h" #define TYPE_TPM_PASSTHROUGH "tpm-passthrough"#define TPM_PASSTHROUGH (obj) \
hw/tpm/tpm_tis.c +1 -1
@@ -31,7 +31,7 @@#include "sysemu/tpm_backend.h" #include "tpm_int.h" #include "tpm_util.h" -#include "trace.h" +#include "qemu-build/trace.h" #define TPM_TIS_NUM_LOCALITIES 5/* per spec */ #define TPM_TIS_LOCALITY_SHIFT 12
hw/tpm/tpm_util.c +1 -1
@@ -28,7 +28,7 @@#include "exec/memory.h" #include "sysemu/tpm_backend.h" #include "hw/qdev.h" -#include "trace.h" +#include "qemu-build/trace.h" /* tpm backend property */
hw/usb/bus.c +1 -1
@@ -6,7 +6,7 @@#include "qemu/error-report.h" #include "sysemu/sysemu.h" #include "monitor/monitor.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/cutils.h" static void usb_bus_dev_print (Monitor *mon,DeviceState *qdev,int indent);
hw/usb/combined-packet.c +1 -1
@@ -23,7 +23,7 @@#include "qemu-common.h" #include "hw/usb.h" #include "qemu/iov.h" -#include "trace.h" +#include "qemu-build/trace.h" static void usb_combined_packet_add (USBCombinedPacket *combined,USBPacket *p) {
hw/usb/core.c +1 -1
@@ -27,7 +27,7 @@#include "qemu-common.h" #include "hw/usb.h" #include "qemu/iov.h" -#include "trace.h" +#include "qemu-build/trace.h" void usb_pick_speed (USBPort *port) {
hw/usb/desc.c +1 -1
@@ -2,7 +2,7 @@#include "hw/usb.h" #include "hw/usb/desc.h" -#include "trace.h" +#include "qemu-build/trace.h" /* ------------------------------------------------------------------ */
hw/usb/dev-hub.c +1 -1
@@ -24,7 +24,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu-common.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/usb.h" #include "hw/usb/desc.h" #include "qemu/error-report.h"
hw/usb/dev-mtp.c +1 -1
@@ -22,7 +22,7 @@#include "qemu-common.h" #include "qemu/iov.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/usb.h" #include "hw/usb/desc.h"
hw/usb/dev-uas.c +1 -1
@@ -13,7 +13,7 @@#include "qemu-common.h" #include "qemu/option.h" #include "qemu/config-file.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/error-report.h" #include "hw/usb.h"
hw/usb/hcd-ehci.c +1 -1
@@ -31,7 +31,7 @@#include "qapi/error.h" #include "hw/usb/ehci-regs.h" #include "hw/usb/hcd-ehci.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/error-report.h" #define FRAME_TIMER_FREQ 1000
hw/usb/hcd-ohci.c +1 -1
@@ -33,7 +33,7 @@#include "hw/pci/pci.h" #include "hw/sysbus.h" #include "hw/qdev-dma.h" -#include "trace.h" +#include "qemu-build/trace.h" /* This causes frames to occur 1000x slower */ //#define OHCI_TIME_WARP 1
hw/usb/hcd-uhci.c +1 -1
@@ -34,7 +34,7 @@#include "qemu/timer.h" #include "qemu/iov.h" #include "sysemu/dma.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/main-loop.h" #define FRAME_TIMER_FREQ 1000
hw/usb/hcd-xhci.c +1 -1
@@ -26,7 +26,7 @@#include "hw/pci/pci.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qapi/error.h" #include "hcd-xhci.h"
hw/usb/host-libusb.c +1 -1
@@ -44,7 +44,7 @@#include "monitor/monitor.h" #include "qemu/error-report.h" #include "sysemu/sysemu.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/usb.h"
hw/vfio/common.c +1 -1
@@ -33,7 +33,7 @@#include "qemu/error-report.h" #include "qemu/range.h" #include "sysemu/kvm.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qapi/error.h" struct vfio_group_head vfio_group_list =
hw/vfio/pci-quirks.c +1 -1
@@ -17,7 +17,7 @@#include "qapi/visitor.h" #include "hw/nvram/fw_cfg.h" #include "pci.h" -#include "trace.h" +#include "qemu-build/trace.h" /* Use uin32_t for vendor & device so PCI_ANY_ID expands and cannot match hw */ static bool vfio_pci_is (VFIOPCIDevice *vdev,uint32_t vendor,uint32_t device)
hw/vfio/pci.c +1 -1
@@ -31,7 +31,7 @@#include "sysemu/kvm.h" #include "sysemu/sysemu.h" #include "pci.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qapi/error.h" #define MSIX_CAP_LENGTH 12
hw/vfio/platform.c +1 -1
@@ -26,7 +26,7 @@#include "exec/memory.h" #include "qemu/queue.h" #include "hw/sysbus.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "hw/platform-bus.h" #include "sysemu/kvm.h"
hw/vfio/spapr.c +1 -1
@@ -16,7 +16,7 @@#include "hw/vfio/vfio-common.h" #include "hw/hw.h" #include "qemu/error-report.h" -#include "trace.h" +#include "qemu-build/trace.h" static bool vfio_prereg_listener_skipped_section (MemoryRegionSection *section) {
hw/virtio/vhost-user.c +1 -1
@@ -20,7 +20,7 @@#include "sysemu/cryptodev.h" #include "migration/migration.h" #include "migration/postcopy-ram.h" -#include "trace.h" +#include "qemu-build/trace.h" #include <sys/ioctl.h> #include <sys/socket.h>
hw/virtio/vhost.c +1 -1
@@ -27,7 +27,7 @@#include "hw/virtio/virtio-access.h" #include "migration/blocker.h" #include "sysemu/dma.h" -#include "trace.h" +#include "qemu-build/trace.h" /* enabled until disconnected backend stabilizes */ #define _VHOST_DEBUG 1
hw/virtio/virtio-balloon.c +2 -2
@@ -24,9 +24,9 @@#include "sysemu/kvm.h" #include "exec/address-spaces.h" #include "qapi/error.h" -#include "qapi/qapi-events-misc.h" +#include "qemu-build/qapi/qapi-events-misc.h" #include "qapi/visitor.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/error-report.h" #include "hw/virtio/virtio-bus.h"
hw/virtio/virtio-rng.c +1 -1
@@ -17,7 +17,7 @@#include "hw/virtio/virtio-rng.h" #include "sysemu/rng.h" #include "qom/object_interfaces.h" -#include "trace.h" +#include "qemu-build/trace.h" static bool is_guest_ready (VirtIORNG *vrng) {
hw/virtio/virtio.c +1 -1
@@ -15,7 +15,7 @@#include "qapi/error.h" #include "qemu-common.h" #include "cpu.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "exec/address-spaces.h" #include "qemu/error-report.h" #include "hw/virtio/virtio.h"
hw/watchdog/watchdog.c +2 -2
@@ -24,8 +24,8 @@#include "qemu/config-file.h" #include "qemu/queue.h" #include "qapi/error.h" -#include "qapi/qapi-commands-run-state.h" -#include "qapi/qapi-events-run-state.h" +#include "qemu-build/qapi/qapi-commands-run-state.h" +#include "qemu-build/qapi/qapi-events-run-state.h" #include "sysemu/sysemu.h" #include "sysemu/watchdog.h" #include "hw/nmi.h"
io/channel-buffer.c +1 -1
@@ -22,7 +22,7 @@#include "io/channel-buffer.h" #include "io/channel-watch.h" #include "qemu/sockets.h" -#include "trace.h" +#include "qemu-build/trace.h" QIOChannelBuffer *qio_channel_buffer_new (size_t capacity)
io/channel-command.c +1 -1
@@ -23,7 +23,7 @@#include "io/channel-watch.h" #include "qapi/error.h" #include "qemu/sockets.h" -#include "trace.h" +#include "qemu-build/trace.h" QIOChannelCommand *
io/channel-file.c +1 -1
@@ -23,7 +23,7 @@#include "io/channel-watch.h" #include "qapi/error.h" #include "qemu/sockets.h" -#include "trace.h" +#include "qemu-build/trace.h" QIOChannelFile *qio_channel_file_new_fd (int fd)
io/channel-socket.c +2 -2
@@ -20,10 +20,10 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "qapi/qapi-visit-sockets.h" +#include "qemu-build/qapi/qapi-visit-sockets.h" #include "io/channel-socket.h" #include "io/channel-watch.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qapi/clone-visitor.h" #define SOCKET_MAX_FDS 16
io/channel-tls.c +1 -1
@@ -21,7 +21,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "io/channel-tls.h" -#include "trace.h" +#include "qemu-build/trace.h" static ssize_t qio_channel_tls_write_handler(const char *buf,
io/channel-websock.c +1 -1
@@ -23,7 +23,7 @@#include "qemu/bswap.h" #include "io/channel-websock.h" #include "crypto/hash.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/iov.h" /* Max amount to allow in rawinput/encoutput buffers */
io/dns-resolver.c +1 -1
@@ -21,7 +21,7 @@#include "qemu/osdep.h" #include "io/dns-resolver.h" #include "qapi/clone-visitor.h" -#include "qapi/qapi-visit-sockets.h" +#include "qemu-build/qapi/qapi-visit-sockets.h" #include "qemu/sockets.h" #include "qapi/error.h" #include "qemu/cutils.h"
io/task.c +1 -1
@@ -22,7 +22,7 @@#include "io/task.h" #include "qapi/error.h" #include "qemu/thread.h" -#include "trace.h" +#include "qemu-build/trace.h" struct QIOTask {Object *source;
ioport.c +1 -1
@@ -29,7 +29,7 @@#include "qemu-common.h" #include "cpu.h" #include "exec/ioport.h" -#include "trace-root.h" +#include "qemu-build/trace-root.h" #include "exec/memory.h" #include "exec/address-spaces.h"
iothread.c +1 -1
@@ -19,7 +19,7 @@#include "block/block.h" #include "sysemu/iothread.h" #include "qapi/error.h" -#include "qapi/qapi-commands-misc.h" +#include "qemu-build/qapi/qapi-commands-misc.h" #include "qemu/error-report.h" #include "qemu/rcu.h" #include "qemu/main-loop.h"
linux-user/main.c +1 -1
@@ -17,7 +17,7 @@* along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" -#include "qemu-version.h" +#include "qemu-build/qemu-version.h" #include <sys/syscall.h> #include <sys/resource.h>
linux-user/signal.c +1 -1
@@ -24,7 +24,7 @@#include "qemu.h" #include "qemu-common.h" #include "target_signal.h" -#include "trace.h" +#include "qemu-build/trace.h" static struct target_sigaltstack target_sigaltstack_used = { .ss_sp =0 ,
memory.c +1 -1
@@ -24,7 +24,7 @@#include "qemu/bitops.h" #include "qemu/error-report.h" #include "qom/object.h" -#include "trace-root.h" +#include "qemu-build/trace-root.h" #include "exec/memory-internal.h" #include "exec/ram_addr.h"
migration/channel.c +1 -1
@@ -15,7 +15,7 @@#include "tls.h" #include "migration.h" #include "qemu-file-channel.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qapi/error.h" #include "io/channel-tls.h"
migration/colo-comm.c +1 -1
@@ -15,7 +15,7 @@#include "migration.h" #include "migration/colo.h" #include "migration/vmstate.h" -#include "trace.h" +#include "qemu-build/trace.h" typedef struct { bool colo_requested;
migration/colo-failover.c +2 -2
@@ -16,10 +16,10 @@#include "qemu/main-loop.h" #include "migration.h" #include "qapi/error.h" -#include "qapi/qapi-commands-migration.h" +#include "qemu-build/qapi/qapi-commands-migration.h" #include "qapi/qmp/qerror.h" #include "qemu/error-report.h" -#include "trace.h" +#include "qemu-build/trace.h" static QEMUBH *failover_bh;static FailoverStatus failover_state;
migration/colo.c +2 -2
@@ -13,7 +13,7 @@#include "qemu/osdep.h" #include "sysemu/sysemu.h" #include "qapi/error.h" -#include "qapi/qapi-commands-migration.h" +#include "qemu-build/qapi/qapi-commands-migration.h" #include "qemu-file-channel.h" #include "migration.h" #include "qemu-file.h"
@@ -21,7 +21,7 @@#include "migration/colo.h" #include "block.h" #include "io/channel-buffer.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/error-report.h" #include "migration/failover.h" #include "replication.h"
migration/exec.c +1 -1
@@ -21,7 +21,7 @@#include "channel.h" #include "exec.h" #include "io/channel-command.h" -#include "trace.h" +#include "qemu-build/trace.h" void exec_start_outgoing_migration (MigrationState *s,const char *command,Error **errp)
migration/fd.c +1 -1
@@ -19,7 +19,7 @@#include "fd.h" #include "monitor/monitor.h" #include "io/channel-util.h" -#include "trace.h" +#include "qemu-build/trace.h" void fd_start_outgoing_migration (MigrationState *s,const char *fdname,Error **errp)
migration/global_state.c +1 -1
@@ -17,7 +17,7 @@#include "migration.h" #include "migration/global_state.h" #include "migration/vmstate.h" -#include "trace.h" +#include "qemu-build/trace.h" typedef struct { uint32_t size;
migration/migration.c +3 -3
@@ -31,15 +31,15 @@#include "migration/vmstate.h" #include "block/block.h" #include "qapi/error.h" -#include "qapi/qapi-commands-migration.h" -#include "qapi/qapi-events-migration.h" +#include "qemu-build/qapi/qapi-commands-migration.h" +#include "qemu-build/qapi/qapi-events-migration.h" #include "qapi/qmp/qerror.h" #include "qapi/qmp/qnull.h" #include "qemu/rcu.h" #include "block.h" #include "postcopy-ram.h" #include "qemu/thread.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "exec/target_page.h" #include "io/channel-buffer.h" #include "migration/colo.h"
migration/postcopy-ram.c +1 -1
@@ -28,7 +28,7 @@#include "sysemu/sysemu.h" #include "sysemu/balloon.h" #include "qemu/error-report.h" -#include "trace.h" +#include "qemu-build/trace.h" /* Arbitrary limit on size of each discard command, * keeps them around ~200 bytes
migration/qemu-file.c +1 -1
@@ -28,7 +28,7 @@#include "qemu/iov.h" #include "migration.h" #include "qemu-file.h" -#include "trace.h" +#include "qemu-build/trace.h" #define IO_BUF_SIZE 32768#define MAX_IOV_SIZE MIN(IOV_MAX, 64)
migration/ram.c +2 -2
@@ -43,9 +43,9 @@#include "migration/page_cache.h" #include "qemu/error-report.h" #include "qapi/error.h" -#include "qapi/qapi-events-migration.h" +#include "qemu-build/qapi/qapi-events-migration.h" #include "qapi/qmp/qerror.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "exec/ram_addr.h" #include "exec/target_page.h" #include "qemu/rcu_queue.h"
migration/rdma.c +1 -1
@@ -31,7 +31,7 @@#include <netdb.h> #include <arpa/inet.h> #include <rdma/rdma_cma.h> -#include "trace.h" +#include "qemu-build/trace.h" /* * Print and error on both the Monitor and the Log file.
migration/savevm.c +3 -3
@@ -41,14 +41,14 @@#include "savevm.h" #include "postcopy-ram.h" #include "qapi/error.h" -#include "qapi/qapi-commands-migration.h" -#include "qapi/qapi-commands-misc.h" +#include "qemu-build/qapi/qapi-commands-migration.h" +#include "qemu-build/qapi/qapi-commands-misc.h" #include "qapi/qmp/qerror.h" #include "qemu/error-report.h" #include "sysemu/cpus.h" #include "exec/memory.h" #include "exec/target_page.h" -#include "trace.h" +#include "qemu-build/trace.h" #include "qemu/iov.h" #include "block/snapshot.h" #include "qemu/cutils.h"
migration/socket.c +1 -1
@@ -24,7 +24,7 @@#include "migration.h" #include "qemu-file.h"
Lines of this file are not shown. View the raw message.
scripts/tracetool/format/tcg_helper_c.py +2 -2
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 7 lines
MST _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Part of the diff is not shown here. View the raw message.
Quoted 18 lines · Michael S. Tsirkin
Make sure all generated files go into qemu-build subdirectory. We can then include them like this:
#include "qemu-build/trace.h"This serves two purposes:
- make it easy to detect which files are in the source directory (a bit more work for writers, easier for readers)
- reduce chances of conflicts with possible stale files in source directory (which could be left over from e.g. old patches, etc)This patch needs to be merged with patch 2 of series updating all
files: sending it separately to avoid spamming the list.Signed-off-by Michael S. Tsirkin <[email protected]>---
+++ b/Makefile
Makefile endif · line 93
Quoted 5 lines
Makefile +0
-2@@ -89,102 +89,102 @@ endif include $(SRC_PATH)/rules.mak -GENERATED_FILES = qemu-version.h config-host.h qemu-options.def -GENERATED_FILES += qapi/qapi-builtin-types.h qapi/qapi-builtin-types.c
Uggh - I really need to follow up on my threat to make smarter use of make variables and string manipulation to cut down on the boilerplate involved here. Sadly, I'm not convinced that doing so is a 2.12 bugfix priority, so it isn't at the top of my work queue.
Overall, the patch is an interesting idea. I'm still not 100% sold on it (as you say, it's now slightly more work for writers), but I'm not coming up with any solid reasons why it should not be applied (at least, for 2.13 - doing it during freeze for 2.12 is a bit harder to justify).
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
Quoted 18 lines · Michael S. Tsirkin
Make sure all generated files go into qemu-build subdirectory. We can then include them like this:
#include "qemu-build/trace.h"This serves two purposes:
- make it easy to detect which files are in the source directory (a bit more work for writers, easier for readers)
- reduce chances of conflicts with possible stale files in source directory (which could be left over from e.g. old patches, etc)This patch needs to be merged with patch 2 of series updating all
files: sending it separately to avoid spamming the list.Signed-off-by Michael S. Tsirkin <[email protected]>---
+++ b/Makefile
Makefile endif · line 93
Quoted 5 lines
Makefile +0
-2@@ -89,102 +89,102 @@ endif include $(SRC_PATH)/rules.mak -GENERATED_FILES = qemu-version.h config-host.h qemu-options.def -GENERATED_FILES += qapi/qapi-builtin-types.h qapi/qapi-builtin-types.c
Uggh - I really need to follow up on my threat to make smarter use of make variables and string manipulation to cut down on the boilerplate involved here. Sadly, I'm not convinced that doing so is a 2.12 bugfix priority, so it isn't at the top of my work queue.
Overall, the patch is an interesting idea. I'm still not 100% sold on it (as you say, it's now slightly more work for writers), but I'm not coming up with any solid reasons why it should not be applied (at least, for 2.13 - doing it during freeze for 2.12 is a bit harder to justify).
Signature · 8 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 28 lines · Eric Blake
Quoted 18 lines · Michael S. Tsirkin
Make sure all generated files go into qemu-build subdirectory. We can then include them like this:
#include "qemu-build/trace.h"This serves two purposes:
- make it easy to detect which files are in the source directory (a bit more work for writers, easier for readers)
- reduce chances of conflicts with possible stale files in source directory (which could be left over from e.g. old patches, etc)This patch needs to be merged with patch 2 of series updating all
files: sending it separately to avoid spamming the list.Signed-off-by Michael S. Tsirkin <[email protected]>---
+++ b/Makefile
Makefile endif · line 91
Quoted 3 lines
Makefile +0
-2@@ -89,102 +89,102 @@ endif include $(SRC_PATH)/rules.mak -GENERATED_FILES = qemu-version.h config-host.h qemu-options.def -GENERATED_FILES += qapi/qapi-builtin-types.h qapi/qapi-builtin-types.cUggh - I really need to follow up on my threat to make smarter use of make variables and string manipulation to cut down on the boilerplate involved here. Sadly, I'm not convinced that doing so is a 2.12 bugfix priority, so it isn't at the top of my work queue.
Quoted 4 lines
Overall, the patch is an interesting idea. I'm still not 100% sold on it (as you say, it's now slightly more work for writers), but I'm not coming up with any solid reasons why it should not be applied (at least, for 2.13 - doing it during freeze for 2.12 is a bit harder to justify).
It's up to Peter really: it helps reduce conflicts if we apply patches like this during freeze. But with enough effort on Pater's part it's not a huge deal.
Quoted 4 lines
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
Quoted 28 lines · Eric Blake
Quoted 18 lines · Michael S. Tsirkin
Make sure all generated files go into qemu-build subdirectory. We can then include them like this:
#include "qemu-build/trace.h"This serves two purposes:
- make it easy to detect which files are in the source directory (a bit more work for writers, easier for readers)
- reduce chances of conflicts with possible stale files in source directory (which could be left over from e.g. old patches, etc)This patch needs to be merged with patch 2 of series updating all
files: sending it separately to avoid spamming the list.Signed-off-by Michael S. Tsirkin <[email protected]>---
+++ b/Makefile
Makefile endif · line 91
Quoted 3 lines
Makefile +0
-2@@ -89,102 +89,102 @@ endif include $(SRC_PATH)/rules.mak -GENERATED_FILES = qemu-version.h config-host.h qemu-options.def -GENERATED_FILES += qapi/qapi-builtin-types.h qapi/qapi-builtin-types.cUggh - I really need to follow up on my threat to make smarter use of make variables and string manipulation to cut down on the boilerplate involved here. Sadly, I'm not convinced that doing so is a 2.12 bugfix priority, so it isn't at the top of my work queue.
Quoted 4 lines
Overall, the patch is an interesting idea. I'm still not 100% sold on it (as you say, it's now slightly more work for writers), but I'm not coming up with any solid reasons why it should not be applied (at least, for 2.13 - doing it during freeze for 2.12 is a bit harder to justify).
It's up to Peter really: it helps reduce conflicts if we apply patches like this during freeze. But with enough effort on Pater's part it's not a huge deal.
Quoted 4 lines
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 9 lines · Michael S. Tsirkin
Make sure all generated files go into qemu-build subdirectory. We can then include them like this:
#include "qemu-build/trace.h"This serves two purposes:
- make it easy to detect which files are in the source directory (a bit more work for writers, easier for readers)
- reduce chances of conflicts with possible stale files in source directory (which could be left over from e.g. old patches, etc)
If people care about this, then they can just be doing a build with srcdir != builddir config. If people are using srcdir == builddir then they likely *want* all the generated files in their srcdir.
IMHO it would be valid for us to consider if we could just mandate srcdir != builddir, but if people object to such a proposal, then I don't think we should arbitrarily move all generated source files in this way, as that's effectively the same thing forced onto devs.
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 9 lines · Michael S. Tsirkin
Make sure all generated files go into qemu-build subdirectory. We can then include them like this:
#include "qemu-build/trace.h"This serves two purposes:
- make it easy to detect which files are in the source directory (a bit more work for writers, easier for readers)
- reduce chances of conflicts with possible stale files in source directory (which could be left over from e.g. old patches, etc)
If people care about this, then they can just be doing a build with srcdir != builddir config. If people are using srcdir == builddir then they likely *want* all the generated files in their srcdir.
IMHO it would be valid for us to consider if we could just mandate srcdir != builddir, but if people object to such a proposal, then I don't think we should arbitrarily move all generated source files in this way, as that's effectively the same thing forced onto devs.
Regards,
Daniel
Signature · 8 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Am 23.03.2018 um 11:22 hat Daniel P. Berrangé geschrieben:
Quoted 11 lines · Michael S. Tsirkin
Quoted 9 lines
Make sure all generated files go into qemu-build subdirectory. We can then include them like this:
#include "qemu-build/trace.h"This serves two purposes:
- make it easy to detect which files are in the source directory (a bit more work for writers, easier for readers)
- reduce chances of conflicts with possible stale files in source directory (which could be left over from e.g. old patches, etc)
Quoted 8 lines
If people care about this, then they can just be doing a build with srcdir != builddir config. If people are using srcdir == builddir then they likely *want* all the generated files in their srcdir.
IMHO it would be valid for us to consider if we could just mandate srcdir != builddir, but if people object to such a proposal, then I don't think we should arbitrarily move all generated source files in this way, as that's effectively the same thing forced onto devs.
Not necessarily. I build from the srcdir simply because it's more convenient to be able to easily start the editor and make from the same directory (or sometimes start make from inside the editor). I suppose that (or for users, being too lazy to create a second directory for that one-time build) is the motivation for most other users of srcdir == builddir, too.
I don't really mind where generated source files are stored, they just happen to end up in my root source directory if I want to be able to build from there without dealing with paths. I won't be angry if they are suddenly in a different directory as long as it doesn't mean more typing for me. Moving them to a separate directory might in fact make things a bit nicer occasionally. Not enough for me to actively propose such a change, but if Michael wants to do this, I'm certainly not opposed.
Kevin
Am 23.03.2018 um 11:22 hat Daniel P. Berrangé geschrieben:
Quoted 11 lines · Michael S. Tsirkin
Quoted 9 lines
Make sure all generated files go into qemu-build subdirectory. We can then include them like this:
#include "qemu-build/trace.h"This serves two purposes:
- make it easy to detect which files are in the source directory (a bit more work for writers, easier for readers)
- reduce chances of conflicts with possible stale files in source directory (which could be left over from e.g. old patches, etc)
Quoted 8 lines
If people care about this, then they can just be doing a build with srcdir != builddir config. If people are using srcdir == builddir then they likely *want* all the generated files in their srcdir.
IMHO it would be valid for us to consider if we could just mandate srcdir != builddir, but if people object to such a proposal, then I don't think we should arbitrarily move all generated source files in this way, as that's effectively the same thing forced onto devs.
Not necessarily. I build from the srcdir simply because it's more convenient to be able to easily start the editor and make from the same directory (or sometimes start make from inside the editor). I suppose that (or for users, being too lazy to create a second directory for that one-time build) is the motivation for most other users of srcdir == builddir, too.
I don't really mind where generated source files are stored, they just happen to end up in my root source directory if I want to be able to build from there without dealing with paths. I won't be angry if they are suddenly in a different directory as long as it doesn't mean more typing for me. Moving them to a separate directory might in fact make things a bit nicer occasionally. Not enough for me to actively propose such a change, but if Michael wants to do this, I'm certainly not opposed.
Kevin
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 5 lines · Daniel P. Berrangé
Quoted 4 lines · Michael S. Tsirkin
Make sure all generated files go into qemu-build subdirectory. We can then include them like this:
#include "qemu-build/trace.h"
Quoted 8 lines
Quoted 5 lines
This serves two purposes:
- make it easy to detect which files are in the source directory (a bit more work for writers, easier for readers)
- reduce chances of conflicts with possible stale files in source directory (which could be left over from e.g. old patches, etc)If people care about this, then they can just be doing a build with srcdir != builddir config.
Helps with the second point but I do not see how this will help address the first point.
I see include "x.h" in source, it's natural to ask where it is.
I look for it in the c file directory. Not there.
I look for it in the include, it's not there. Where then?
qemu source root on the include path. Not there.
Oh tcg directory is in the include path for some reason. Not there.
Some other tree coming from a submodule maybe?
Oh *maybe* it will be generated by some script, I need to run build to find out.
For the record, more remains to be done.
Here's a list from and oot build of virtio, with some comments:
cc -iquote /home/mst/qemu-oot/hw/virtio
-iquote hw/virtio
<- same directory repeated twice.
<- also this is here just for trace.h . Better to just change code to point at the right trace header -
will look into it.
-iquote /home/mst/qemu/tcg
<- why does everyone want tcg? better to just include with tcg/
-iquote /home/mst/qemu/tcg/i386
<- and i386 specifically?
-I/home/mst/qemu/linux-headers
<- ok this is so we can override with our own version of headers
-I/home/mst/qemu-oot/linux-headers
<- why do we have these at all?
oh it's because we have asm-<arch> tricks like linux used to use years ago, then we copy the correct asm headers:
ls linux-headers/asm/
bitsperlong.h hyperv.h kvm.h kvm_para.h unistd_32.h unistd_64.h unistd.h unistd_x32.h
a better strategy would be to have headers in arch/<arch>/asm like Linux does now, no code generation tricks.
-iquote .
<- build directory. No headers there at all.
-iquote /home/mst/qemu
<- turns out we still have headers in source root. Why not move them to include/ ?
-iquote /home/mst/qemu/accel/tcg
<- more tcg goodness for everyone?
-iquote /home/mst/qemu/include
<- ok that's expected. Why isn't this first on the list though?
-I/usr/include/pixman-1
<- should be limited to ui files I guess?
-I/usr/include/glib-2.0
<- ok we need that
-I/usr/lib64/glib-2.0/include
<- but that one does not exist
-I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libdrm
<- more GUI things?
-I/home/mst/qemu/capstone/include
<- ok a bunch of disasm things.
ls capstone/include/
arm64.h arm.h capstone.h mips.h platform.h ppc.h sparc.h systemz.h x86.h xcore.h
can we add this just to disas.c?
-I../linux-headers
<- all together now: same as qemu-oot but with a relative path now.
-iquote ..
<- build directory - no headers there
-iquote /home/mst/qemu/target/arm
<- this is a good idea why?
-iquote /home/mst/qemu/include
<- deja vu
Wow that was fun.
Quoted 10 lines
If people are using srcdir == builddir
then they likely *want* all the generated files in their srcdir.IMHO it would be valid for us to consider if we could just mandate srcdir != builddir, but if people object to such a proposal, then I don't think we should arbitrarily move all generated source files in this way, as that's effectively the same thing forced onto devs.
Regards,
Daniel
People don't really care.
Quoted 4 lines
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 5 lines · Daniel P. Berrangé
Quoted 4 lines · Michael S. Tsirkin
Make sure all generated files go into qemu-build subdirectory. We can then include them like this:
#include "qemu-build/trace.h"
Quoted 8 lines
Quoted 5 lines
This serves two purposes:
- make it easy to detect which files are in the source directory (a bit more work for writers, easier for readers)
- reduce chances of conflicts with possible stale files in source directory (which could be left over from e.g. old patches, etc)If people care about this, then they can just be doing a build with srcdir != builddir config.
Helps with the second point but I do not see how this will help address the first point.
I see include "x.h" in source, it's natural to ask where it is.
I look for it in the c file directory. Not there.
I look for it in the include, it's not there. Where then?
qemu source root on the include path. Not there.
Oh tcg directory is in the include path for some reason. Not there.
Some other tree coming from a submodule maybe?
Oh *maybe* it will be generated by some script, I need to run build to find out.
For the record, more remains to be done.
Here's a list from and oot build of virtio, with some comments:
cc -iquote /home/mst/qemu-oot/hw/virtio
-iquote hw/virtio
<- same directory repeated twice.
<- also this is here just for trace.h . Better to just change code to point at the right trace header -
will look into it.
-iquote /home/mst/qemu/tcg
<- why does everyone want tcg? better to just include with tcg/
-iquote /home/mst/qemu/tcg/i386
<- and i386 specifically?
-I/home/mst/qemu/linux-headers
<- ok this is so we can override with our own version of headers
-I/home/mst/qemu-oot/linux-headers
<- why do we have these at all?
oh it's because we have asm-<arch> tricks like linux used to use years ago, then we copy the correct asm headers:
ls linux-headers/asm/
bitsperlong.h hyperv.h kvm.h kvm_para.h unistd_32.h unistd_64.h unistd.h unistd_x32.h
a better strategy would be to have headers in arch/<arch>/asm like Linux does now, no code generation tricks.
-iquote .
<- build directory. No headers there at all.
-iquote /home/mst/qemu
<- turns out we still have headers in source root. Why not move them to include/ ?
-iquote /home/mst/qemu/accel/tcg
<- more tcg goodness for everyone?
-iquote /home/mst/qemu/include
<- ok that's expected. Why isn't this first on the list though?
-I/usr/include/pixman-1
<- should be limited to ui files I guess?
-I/usr/include/glib-2.0
<- ok we need that
-I/usr/lib64/glib-2.0/include
<- but that one does not exist
-I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libdrm
<- more GUI things?
-I/home/mst/qemu/capstone/include
<- ok a bunch of disasm things.
ls capstone/include/
arm64.h arm.h capstone.h mips.h platform.h ppc.h sparc.h systemz.h x86.h xcore.h
can we add this just to disas.c?
-I../linux-headers
<- all together now: same as qemu-oot but with a relative path now.
-iquote ..
<- build directory - no headers there
-iquote /home/mst/qemu/target/arm
<- this is a good idea why?
-iquote /home/mst/qemu/include
<- deja vu
Wow that was fun.
Quoted 10 lines
If people are using srcdir == builddir
then they likely *want* all the generated files in their srcdir.IMHO it would be valid for us to consider if we could just mandate srcdir != builddir, but if people object to such a proposal, then I don't think we should arbitrarily move all generated source files in this way, as that's effectively the same thing forced onto devs.
Regards,
Daniel
People don't really care.
Quoted 4 lines
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel