[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [qemu-upstream-unstable] Merge tag 'v1.6.0' into merging-1.6
=== This changeset includes merge from high-traffic branch === Commits on that branch are not reported individually. commit 2c7d76d1a7e15b4c0de1a5c2852d6615aa336c52 Merge: dfe0055e38e3e328f19d4d67f0f4ae049436d3c8 1ee2daeb6448312d6d0e22175f5c1b9b01f8974c Author: Anthony PERARD <anthony.perard@xxxxxxxxxx> AuthorDate: Wed Oct 2 17:17:01 2013 +0100 Commit: Anthony PERARD <anthony.perard@xxxxxxxxxx> CommitDate: Wed Oct 2 17:17:01 2013 +0100 Merge tag 'v1.6.0' into merging-1.6 .gitignore | 21 +- .gitmodules | 5 +- HACKING | 46 +- LICENSE | 15 +- MAINTAINERS | 287 +- Makefile | 229 +- Makefile.dis | 20 - Makefile.objs | 239 +- Makefile.target | 92 +- Makefile.user | 24 - QMP/qmp-events.txt | 52 +- QMP/qmp-shell | 9 +- TODO | 37 - VERSION | 2 +- a.out.h | 430 - acl.c | 184 - acl.h | 74 - aes.c | 1314 --- aes.h | 26 - aio-posix.c | 136 +- aio-win32.c | 6 +- alpha-dis.c | 1916 ---- alpha.ld | 127 - arch_init.c | 689 +- arch_init.h | 39 - arm-dis.c | 4136 -------- arm.ld | 153 - async.c | 55 +- audio/Makefile.objs | 3 + audio/alsaaudio.c | 2 +- audio/audio.c | 11 +- audio/audio.h | 2 +- audio/audio_int.h | 31 +- audio/audio_win_int.c | 1 - audio/noaudio.c | 2 +- audio/ossaudio.c | 8 +- audio/spiceaudio.c | 2 +- audio/wavaudio.c | 2 +- audio/wavcapture.c | 2 +- audio/winwaveaudio.c | 2 +- backends/Makefile.objs | 6 + backends/baum.c | 631 ++ backends/msmouse.c | 85 + backends/rng-egd.c | 14 +- backends/rng-random.c | 20 +- backends/rng.c | 6 +- backends/tpm.c | 190 + balloon.c | 10 +- balloon.h | 29 - bitmap.c | 256 - bitmap.h | 222 - bitops.c | 142 - bitops.h | 362 - block-migration.c | 272 +- block-migration.h | 23 - block.c | 1308 ++-- block.h | 434 - block/Makefile.objs | 6 + block/backup.c | 386 + block/blkdebug.c | 244 +- block/blkverify.c | 120 +- block/bochs.c | 30 +- block/cloop.c | 35 +- block/commit.c | 15 +- block/cow.c | 11 +- block/curl.c | 204 +- block/dmg.c | 174 +- block/gluster.c | 114 +- block/iscsi.c | 707 +- block/linux-aio.c | 6 +- block/mirror.c | 394 +- block/nbd.c | 182 +- block/parallels.c | 29 +- block/qapi.c | 470 + block/qcow.c | 32 +- block/qcow2-cache.c | 2 +- block/qcow2-cluster.c | 687 +- block/qcow2-refcount.c | 247 +- block/qcow2-snapshot.c | 18 +- block/qcow2.c | 229 +- block/qcow2.h | 123 +- block/qed-table.c | 2 +- block/qed.c | 15 +- block/qed.h | 2 +- block/raw-aio.h | 5 +- block/raw-posix.c | 357 +- block/raw-win32.c | 95 +- block/raw.c | 43 +- block/rbd.c | 100 +- block/sheepdog.c | 889 ++- block/snapshot.c | 157 + block/ssh.c | 1076 ++ block/stream.c | 8 +- block/vdi.c | 40 +- block/vhdx.c | 972 ++ block/vhdx.h | 325 + block/vmdk.c | 499 +- block/vpc.c | 99 +- block/vvfat.c | 261 +- block/win32-aio.c | 28 +- block_int.h | 360 - blockdev-nbd.c | 14 +- blockdev.c | 1102 ++- blockdev.h | 64 - blockjob.c | 14 +- blockjob.h | 278 - bsd-user/elfload.c | 8 +- bsd-user/main.c | 63 +- bsd-user/mmap.c | 4 +- bsd-user/qemu-types.h | 24 - bsd-user/qemu.h | 8 +- bsd-user/syscall.c | 5 + bswap.h | 713 -- bt-host.c | 7 +- bt-host.h | 9 - bt-vhci.c | 4 +- buffered_file.c | 269 - buffered_file.h | 22 - cache-utils.c | 97 - cache-utils.h | 44 - cmd.c | 612 -- cmd.h | 79 - compatfd.c | 138 - compatfd.h | 44 - compiler.h | 58 - config.h | 2 - configure | 1577 ++-- console.c | 1723 ---- console.h | 476 - coroutine-gthread.c | 2 +- coroutine-sigaltstack.c | 71 +- coroutine-ucontext.c | 79 +- coroutine-win32.c | 2 +- cpu-all.h | 522 - cpu-common.h | 112 - cpu-defs.h | 213 - cpu-exec.c | 237 +- cpus.c | 413 +- cpus.h | 24 - cputlb.c | 89 +- cputlb.h | 46 - cris-dis.c | 2871 ------ cursor.c | 211 - cursor_hidden.xpm | 37 - cursor_left_ptr.xpm | 39 - cutils.c | 323 - def-helper.h | 275 - default-configs/alpha-softmmu.mak | 3 + default-configs/arm-softmmu.mak | 34 + default-configs/cris-softmmu.mak | 1 + default-configs/i386-softmmu.mak | 23 +- default-configs/lm32-softmmu.mak | 4 + default-configs/m68k-softmmu.mak | 2 + default-configs/microblaze-softmmu.mak | 2 + default-configs/microblazeel-softmmu.mak | 2 + default-configs/mips-softmmu.mak | 10 +- default-configs/mips64-softmmu.mak | 10 +- default-configs/mips64el-softmmu.mak | 10 +- default-configs/mipsel-softmmu.mak | 10 +- default-configs/moxie-softmmu.mak | 5 + default-configs/pci.mak | 9 + default-configs/ppc-softmmu.mak | 14 +- default-configs/ppc64-softmmu.mak | 26 +- default-configs/ppcemb-softmmu.mak | 12 +- default-configs/s390x-softmmu.mak | 1 + default-configs/sh4-softmmu.mak | 13 +- default-configs/sh4eb-softmmu.mak | 13 +- default-configs/sound.mak | 4 + default-configs/sparc-softmmu.mak | 8 + default-configs/sparc64-softmmu.mak | 4 + default-configs/usb.mak | 8 + default-configs/x86_64-softmmu.mak | 23 +- device-hotplug.c | 79 + device_tree.c | 64 +- device_tree.h | 54 - dis-asm.h | 483 - disas.c | 18 +- disas.h | 43 - disas/Makefile.objs | 19 + disas/alpha.c | 1916 ++++ disas/arm.c | 4140 ++++++++ disas/cris.c | 2871 ++++++ disas/hppa.c | 2831 ++++++ disas/i386.c | 6627 ++++++++++++ disas/ia64.c |10602 ++++++++++++++++++++ disas/lm32.c | 361 + disas/m68k.c | 5052 ++++++++++ disas/microblaze.c | 1100 ++ disas/mips.c | 4873 +++++++++ disas/moxie.c | 360 + disas/ppc.c | 5412 ++++++++++ disas/s390.c | 1931 ++++ disas/sh4.c | 2077 ++++ disas/sparc.c | 3275 ++++++ disas/tci.c | 59 + dma-helpers.c | 195 +- dma.h | 282 - docs/atomics.txt | 352 + docs/bootindex.txt | 10 +- docs/ccid.txt | 2 +- docs/memory.txt | 11 +- docs/migration.txt | 37 +- docs/q35-chipset.cfg | 129 + docs/qapi-code-gen.txt | 109 +- docs/rdma.txt | 424 + docs/specs/pci-ids.txt | 50 + docs/specs/pci-testdev.txt | 26 + docs/specs/pvpanic.txt | 39 + docs/specs/vmw_pvscsi-spec.txt | 92 + docs/spice-port-fqdn.txt | 19 + docs/tracing.txt | 66 +- docs/usb-storage.txt | 13 +- docs/usb2.txt | 20 +- docs/virtio-balloon-stats.txt | 104 + docs/vnc-ledstate-Pseudo-encoding.txt | 50 + dtc | 1 + dump-stub.c | 64 - dump.c | 229 +- dump.h | 35 - elf.h | 1308 --- envlist.c | 246 - envlist.h | 22 - error.c | 115 - error.h | 80 - event_notifier-posix.c | 120 - event_notifier-win32.c | 59 - event_notifier.h | 46 - exec-all.h | 418 - exec-memory.h | 41 - exec.c | 3136 ++----- fpu/softfloat-macros.h | 2 +- fpu/softfloat.c | 39 +- fpu/softfloat.h | 638 -- fsdev/Makefile.objs | 9 +- fsdev/qemu-fsdev-dummy.c | 11 +- fsdev/qemu-fsdev-opts.c | 85 + fsdev/qemu-fsdev.c | 16 +- fsdev/qemu-fsdev.h | 2 +- fsdev/virtfs-proxy-helper.c | 105 +- fsdev/virtio-9p-marshal.c | 4 +- gdbstub.c | 1644 +--- gdbstub.h | 53 - gen-icount.h | 48 - hmp-commands.hx | 129 +- hmp.c | 331 +- hmp.h | 45 +- host-utils.c | 105 - host-utils.h | 236 - hppa-dis.c | 2831 ------ hppa.ld | 211 - hw/9p.h | 24 - hw/9pfs/codir.c | 4 +- hw/9pfs/cofile.c | 8 +- hw/9pfs/cofs.c | 4 +- hw/9pfs/coxattr.c | 4 +- hw/9pfs/virtio-9p-coth.c | 5 +- hw/9pfs/virtio-9p-coth.h | 4 +- hw/9pfs/virtio-9p-device.c | 128 +- hw/9pfs/virtio-9p-handle.c | 4 +- hw/9pfs/virtio-9p-local.c | 64 +- hw/9pfs/virtio-9p-posix-acl.c | 4 +- hw/9pfs/virtio-9p-proxy.c | 7 +- hw/9pfs/virtio-9p-synth.c | 2 +- hw/9pfs/virtio-9p-synth.h | 4 + hw/9pfs/virtio-9p-xattr-user.c | 2 +- hw/9pfs/virtio-9p-xattr.c | 2 +- hw/9pfs/virtio-9p-xattr.h | 2 +- hw/9pfs/virtio-9p.c | 33 +- hw/9pfs/virtio-9p.h | 19 +- hw/Makefile.objs | 243 +- hw/a15mpcore.c | 108 - hw/a9mpcore.c | 242 - hw/ac97.c | 1438 --- hw/acpi.c | 470 - hw/acpi.h | 155 - hw/acpi/Makefile.objs | 2 + hw/acpi/core.c | 624 ++ hw/acpi/ich9.c | 230 + hw/acpi/piix4.c | 739 ++ hw/acpi_ich9.c | 322 - hw/acpi_ich9.h | 47 - hw/acpi_piix4.c | 759 -- hw/adb.c | 455 - hw/adb.h | 63 - hw/adlib.c | 337 - hw/ads7846.c | 177 - hw/alpha/Makefile.objs | 5 +- hw/alpha/alpha_sys.h | 21 + hw/alpha/dp264.c | 184 + hw/alpha/pci.c | 91 + hw/alpha/typhoon.c | 810 ++ hw/alpha_dp264.c | 181 - hw/alpha_pci.c | 109 - hw/alpha_sys.h | 22 - hw/alpha_typhoon.c | 838 -- hw/an5206.c | 96 - hw/apb_pci.c | 542 - hw/apb_pci.h | 10 - hw/apic-msidef.h | 30 - hw/apic.c | 910 -- hw/apic.h | 32 - hw/apic_common.c | 402 - hw/apic_internal.h | 149 - hw/apm.c | 89 - hw/apm.h | 22 - hw/applesmc.c | 251 - hw/arm-misc.h | 70 - hw/arm/Makefile.objs | 40 +- hw/arm/armv7m.c | 290 + hw/arm/boot.c | 476 + hw/arm/collie.c | 73 + hw/arm/exynos4210.c | 371 + hw/arm/exynos4_boards.c | 170 + hw/arm/gumstix.c | 141 + hw/arm/highbank.c | 386 + hw/arm/integratorcp.c | 581 ++ hw/arm/kzm.c | 157 + hw/arm/mainstone.c | 190 + hw/arm/musicpal.c | 1771 ++++ hw/arm/nseries.c | 1415 +++ hw/arm/omap1.c | 4059 ++++++++ hw/arm/omap2.c | 2684 +++++ hw/arm/omap_sx1.c | 238 + hw/arm/palm.c | 284 + hw/arm/pic_cpu.c | 68 + hw/arm/pxa2xx.c | 2320 +++++ hw/arm/pxa2xx_gpio.c | 358 + hw/arm/pxa2xx_pic.c | 341 + hw/arm/realview.c | 410 + hw/arm/spitz.c | 1145 +++ hw/arm/stellaris.c | 1418 +++ hw/arm/strongarm.c | 1661 +++ hw/arm/strongarm.h | 68 + hw/arm/tosa.c | 302 + hw/arm/versatilepb.c | 412 + hw/arm/vexpress.c | 672 ++ hw/arm/xilinx_zynq.c | 247 + hw/arm/z2.c | 384 + hw/arm11mpcore.c | 268 - hw/arm_boot.c | 465 - hw/arm_gic.c | 718 -- hw/arm_gic_common.c | 184 - hw/arm_gic_internal.h | 136 - hw/arm_l2x0.c | 194 - hw/arm_mptimer.c | 344 - hw/arm_pic.c | 40 - hw/arm_sysctl.c | 425 - hw/arm_timer.c | 399 - hw/armv7m.c | 284 - hw/armv7m_nvic.c | 550 - hw/audio/Makefile.objs | 18 + hw/audio/ac97.c | 1442 +++ hw/audio/adlib.c | 391 + hw/audio/cs4231.c | 187 + hw/audio/cs4231a.c | 708 ++ hw/audio/es1370.c | 1091 ++ hw/audio/fmopl.c | 1395 +++ hw/audio/fmopl.h | 174 + hw/audio/gus.c | 337 + hw/audio/gusemu.h | 105 + hw/audio/gusemu_hal.c | 554 + hw/audio/gusemu_mixer.c | 240 + hw/audio/gustate.h | 132 + hw/audio/hda-codec.c | 1101 ++ hw/audio/intel-hda-defs.h | 717 ++ hw/audio/intel-hda.c | 1342 +++ hw/audio/intel-hda.h | 72 + hw/audio/lm4549.c | 336 + hw/audio/lm4549.h | 43 + hw/audio/marvell_88w8618.c | 305 + hw/audio/milkymist-ac97.c | 349 + hw/audio/pcspk.c | 212 + hw/audio/pl041.c | 653 ++ hw/audio/pl041.h | 135 + hw/audio/pl041.hx | 81 + hw/audio/sb16.c | 1435 +++ hw/audio/wm8750.c | 716 ++ hw/audiodev.h | 20 - hw/axis_dev88.c | 365 - hw/baum.c | 627 -- hw/baum.h | 26 - hw/bitbang_i2c.c | 245 - hw/bitbang_i2c.h | 14 - hw/blizzard.c | 997 -- hw/blizzard_template.h | 136 - hw/block-common.c | 64 - hw/block-common.h | 79 - hw/block/Makefile.objs | 15 + hw/block/block.c | 62 + hw/block/cdrom.c | 155 + hw/block/dataplane/Makefile.objs | 1 + hw/block/dataplane/ioq.c | 117 + hw/block/dataplane/ioq.h | 57 + hw/block/dataplane/virtio-blk.c | 542 + hw/block/dataplane/virtio-blk.h | 29 + hw/block/ecc.c | 91 + hw/block/fdc.c | 2328 +++++ hw/block/hd-geometry.c | 157 + hw/block/m25p80.c | 703 ++ hw/block/nand.c | 800 ++ hw/block/nvme.c | 887 ++ hw/block/nvme.h | 711 ++ hw/block/onenand.c | 854 ++ hw/block/pflash_cfi01.c | 775 ++ hw/block/pflash_cfi02.c | 789 ++ hw/block/tc58128.c | 178 + hw/block/virtio-blk.c | 760 ++ hw/block/xen_blkif.h | 103 + hw/block/xen_disk.c | 988 ++ hw/boards.h | 50 - hw/bonito.c | 847 -- hw/bt-hci-csr.c | 453 - hw/bt-hci.c | 2217 ---- hw/bt-hid.c | 553 - hw/bt-l2cap.c | 1365 --- hw/bt-sdp.c | 967 -- hw/bt.c | 121 - hw/bt.h | 2185 ---- hw/bt/Makefile.objs | 3 + hw/bt/core.c | 121 + hw/bt/hci-csr.c | 454 + hw/bt/hci.c | 2217 ++++ hw/bt/hid.c | 553 + hw/bt/l2cap.c | 1365 +++ hw/bt/sdp.c | 967 ++ hw/cadence_gem.c | 1233 --- hw/cadence_ttc.c | 489 - hw/cadence_uart.c | 516 - hw/cbus.c | 618 -- hw/ccid-card-emulated.c | 602 -- hw/ccid-card-passthru.c | 351 - hw/ccid.h | 65 - hw/cdrom.c | 155 - hw/char/Makefile.objs | 27 + hw/char/cadence_uart.c | 522 + hw/char/debugcon.c | 140 + hw/char/escc.c | 941 ++ hw/char/etraxfs_ser.c | 252 + hw/char/exynos4210_uart.c | 680 ++ hw/char/grlib_apbuart.c | 298 + hw/char/imx_serial.c | 473 + hw/char/ipack.c | 116 + hw/char/ipack.h | 79 + hw/char/ipoctal232.c | 606 ++ hw/char/lm32_juart.c | 162 + hw/char/lm32_uart.c | 302 + hw/char/mcf_uart.c | 307 + hw/char/milkymist-uart.c | 249 + hw/char/omap_uart.c | 187 + hw/char/parallel.c | 625 ++ hw/char/pl011.c | 332 + hw/char/sclpconsole.c | 289 + hw/char/serial-isa.c | 138 + hw/char/serial-pci.c | 269 + hw/char/serial.c | 775 ++ hw/char/sh_serial.c | 410 + hw/char/spapr_vty.c | 241 + hw/char/tpci200.c | 672 ++ hw/char/virtio-console.c | 207 + hw/char/virtio-serial-bus.c | 1044 ++ hw/char/xen_console.c | 305 + hw/char/xilinx_uartlite.c | 235 + hw/cirrus_vga.c | 3011 ------ hw/cirrus_vga_rop.h | 208 - hw/cirrus_vga_rop2.h | 281 - hw/cirrus_vga_template.h | 102 - hw/collie.c | 72 - hw/core/Makefile.objs | 13 + hw/core/empty_slot.c | 102 + hw/core/irq.c | 136 + hw/core/loader.c | 884 ++ hw/core/null-machine.c | 36 + hw/core/ptimer.c | 231 + hw/core/qdev-properties-system.c | 391 + hw/core/qdev-properties.c | 1198 +++ hw/core/qdev.c | 907 ++ hw/core/stream.c | 32 + hw/core/sysbus.c | 301 + hw/core/uboot_image.h | 158 + hw/cpu/Makefile.objs | 5 + hw/cpu/a15mpcore.c | 122 + hw/cpu/a9mpcore.c | 145 + hw/cpu/arm11mpcore.c | 291 + hw/cpu/icc_bus.c | 127 + hw/cris-boot.c | 98 - hw/cris-boot.h | 11 - hw/cris/Makefile.objs | 14 +- hw/cris/axis_dev88.c | 366 + hw/cris/boot.c | 98 + hw/cris/boot.h | 15 + hw/cris/pic_cpu.c | 47 + hw/cris_pic_cpu.c | 45 - hw/cs4231.c | 181 - hw/cs4231a.c | 697 -- hw/cuda.c | 752 -- hw/debugcon.c | 117 - hw/dec_pci.c | 151 - hw/dec_pci.h | 10 - hw/device-hotplug.c | 92 - hw/devices.h | 70 - hw/display/Makefile.objs | 35 + hw/display/ads7846.c | 177 + hw/display/blizzard.c | 995 ++ hw/display/blizzard_template.h | 136 + hw/display/cirrus_vga.c | 3025 ++++++ hw/display/cirrus_vga_rop.h | 208 + hw/display/cirrus_vga_rop2.h | 281 + hw/display/cirrus_vga_template.h | 102 + hw/display/exynos4210_fimd.c | 1947 ++++ hw/display/framebuffer.c | 113 + hw/display/framebuffer.h | 25 + hw/display/g364fb.c | 557 + hw/display/jazz_led.c | 311 + hw/display/milkymist-tmu2.c | 495 + hw/display/milkymist-vgafb.c | 345 + hw/display/milkymist-vgafb_template.h | 74 + hw/display/omap_dss.c | 1086 ++ hw/display/omap_lcd_template.h | 175 + hw/display/omap_lcdc.c | 412 + hw/display/pl110.c | 532 + hw/display/pl110_template.h | 395 + hw/display/pxa2xx_lcd.c | 1061 ++ hw/display/pxa2xx_template.h | 435 + hw/display/qxl-logger.c | 275 + hw/display/qxl-render.c | 280 + hw/display/qxl.c | 2369 +++++ hw/display/qxl.h | 165 + hw/display/sm501.c | 1452 +++ hw/display/sm501_template.h | 145 + hw/display/ssd0303.c | 325 + hw/display/ssd0323.c | 376 + hw/display/tc6393xb.c | 593 ++ hw/display/tc6393xb_template.h | 68 + hw/display/tcx.c | 627 ++ hw/display/vga-isa-mm.c | 142 + hw/display/vga-isa.c | 105 + hw/display/vga-pci.c | 216 + hw/display/vga.c | 2396 +++++ hw/display/vga.h | 159 + hw/display/vga_int.h | 214 + hw/display/vga_template.h | 459 + hw/display/vmware_vga.c | 1324 +++ hw/display/xenfb.c | 1000 ++ hw/dma.c | 565 -- hw/dma/Makefile.objs | 13 + hw/dma/etraxfs_dma.c | 781 ++ hw/dma/i82374.c | 177 + hw/dma/i8257.c | 600 ++ hw/dma/omap_dma.c | 2102 ++++ hw/dma/pl080.c | 410 + hw/dma/pl330.c | 1654 +++ hw/dma/puv3_dma.c | 113 + hw/dma/pxa2xx_dma.c | 578 ++ hw/dma/rc4030.c | 825 ++ hw/dma/soc_dma.c | 366 + hw/dma/sparc32_dma.c | 321 + hw/dma/sun4m_iommu.c | 391 + hw/dma/xilinx_axidma.c | 668 ++ hw/dp8393x.c | 913 -- hw/ds1225y.c | 165 - hw/ds1338.c | 193 - hw/dummy_m68k.c | 83 - hw/e1000.c | 1337 --- hw/e1000_hw.h | 893 -- hw/ecc.c | 91 - hw/eccmemctl.c | 340 - hw/eepro100.c | 2115 ---- hw/eeprom93xx.c | 337 - hw/eeprom93xx.h | 40 - hw/elf_ops.h | 306 - hw/empty_slot.c | 98 - hw/empty_slot.h | 2 - hw/es1370.c | 1089 -- hw/escc.c | 938 -- hw/escc.h | 8 - hw/esp-pci.c | 518 - hw/esp.c | 727 -- hw/esp.h | 132 - hw/etraxfs.h | 46 - hw/etraxfs_dma.c | 781 -- hw/etraxfs_dma.h | 29 - hw/etraxfs_eth.c | 645 -- hw/etraxfs_pic.c | 180 - hw/etraxfs_ser.c | 248 - hw/etraxfs_timer.c | 351 - hw/exynos4210.c | 338 - hw/exynos4210.h | 137 - hw/exynos4210_combiner.c | 455 - hw/exynos4210_fimd.c | 1928 ---- hw/exynos4210_gic.c | 462 - hw/exynos4210_i2c.c | 334 - hw/exynos4210_mct.c | 1482 --- hw/exynos4210_pmu.c | 499 - hw/exynos4210_pwm.c | 422 - hw/exynos4210_rtc.c | 592 -- hw/exynos4210_uart.c | 676 -- hw/exynos4_boards.c | 168 - hw/fdc.c | 2284 ----- hw/fdc.h | 24 - hw/fifo.c | 78 - hw/fifo.h | 99 - hw/firmware_abi.h | 73 - hw/flash.h | 59 - hw/fmopl.c | 1395 --- hw/fmopl.h | 174 - hw/framebuffer.c | 110 - hw/framebuffer.h | 25 - hw/fw_cfg.c | 589 -- hw/fw_cfg.h | 70 - hw/g364fb.c | 612 -- hw/gpio/Makefile.objs | 6 + hw/gpio/max7310.c | 213 + hw/gpio/omap_gpio.c | 806 ++ hw/gpio/pl061.c | 336 + hw/gpio/puv3_gpio.c | 145 + hw/gpio/zaurus.c | 297 + hw/grackle_pci.c | 165 - hw/grlib.h | 126 - hw/grlib_apbuart.c | 271 - hw/grlib_gptimer.c | 404 - hw/grlib_irqmp.c | 385 - hw/gt64xxx.c | 1188 --- hw/gumstix.c | 139 - hw/gus.c | 332 - hw/gusemu.h | 105 - hw/gusemu_hal.c | 554 - hw/gusemu_mixer.c | 240 - hw/gustate.h | 132 - hw/hd-geometry.c | 157 - hw/hda-audio.c | 1098 -- hw/heathrow_pic.c | 215 - hw/hid.c | 467 - hw/hid.h | 82 - hw/highbank.c | 338 - hw/hpet.c | 760 -- hw/hpet_emul.h | 74 - hw/hw.h | 70 - hw/i2c.c | 246 - hw/i2c.h | 92 - hw/i2c/Makefile.objs | 7 + hw/i2c/bitbang_i2c.c | 252 + hw/i2c/bitbang_i2c.h | 14 + hw/i2c/core.c | 247 + hw/i2c/exynos4210_i2c.c | 336 + hw/i2c/omap_i2c.c | 498 + hw/i2c/pm_smbus.c | 207 + hw/i2c/smbus.c | 335 + hw/i2c/smbus_eeprom.c | 156 + hw/i2c/smbus_ich9.c | 127 + hw/i2c/versatile_i2c.c | 113 + hw/i386/Makefile.objs | 19 +- hw/i386/kvm/Makefile.objs | 1 + hw/i386/kvm/apic.c | 209 + hw/i386/kvm/clock.c | 145 + hw/i386/kvm/i8254.c | 336 + hw/i386/kvm/i8259.c | 162 + hw/i386/kvm/ioapic.c | 166 + hw/i386/kvm/pci-assign.c | 1946 ++++ hw/i386/kvmvapic.c | 838 ++ hw/i386/multiboot.c | 347 + hw/i386/multiboot.h | 14 + hw/i386/pc.c | 1364 +++ hw/i386/pc_piix.c | 782 ++ hw/i386/pc_q35.c | 283 + hw/i386/pc_sysfw.c | 188 + hw/i386/smbios.c | 246 + hw/i386/xen_domainbuild.c | 299 + hw/i386/xen_domainbuild.h | 13 + hw/i386/xen_machine_pv.c | 110 + hw/i82374.c | 168 - hw/i82378.c | 277 - hw/i8254.c | 362 - hw/i8254.h | 68 - hw/i8254_common.c | 311 - hw/i8254_internal.h | 85 - hw/i8259.c | 496 - hw/i8259_common.c | 161 - hw/i8259_internal.h | 82 - hw/i82801b11.c | 125 - hw/ich9.h | 207 - hw/ide.h | 39 - hw/ide/Makefile.objs | 2 + hw/ide/ahci.c | 188 +- hw/ide/ahci.h | 34 +- hw/ide/atapi.c | 2 +- hw/ide/cmd646.c | 93 +- hw/ide/core.c | 1344 ++-- hw/ide/ich.c | 59 +- hw/ide/internal.h | 15 +- hw/ide/isa.c | 64 +- hw/ide/macio.c | 338 +- hw/ide/microdrive.c | 6 +- hw/ide/mmio.c | 98 +- hw/ide/pci.c | 42 +- hw/ide/pci.h | 8 +- hw/ide/piix.c | 59 +- hw/ide/qdev.c | 34 +- hw/ide/via.c | 41 +- hw/imx.h | 34 - hw/imx_avic.c | 408 - hw/imx_ccm.c | 321 - hw/imx_serial.c | 467 - hw/imx_timer.c | 689 -- hw/input/Makefile.objs | 13 + hw/input/adb.c | 581 ++ hw/input/hid.c | 498 + hw/input/lm832x.c | 521 + hw/input/milkymist-softusb.c | 338 + hw/input/pckbd.c | 542 + hw/input/pl050.c | 205 + hw/input/ps2.c | 676 ++ hw/input/pxa2xx_keypad.c | 335 + hw/input/stellaris_input.c | 89 + hw/input/tsc2005.c | 593 ++ hw/input/tsc210x.c | 1293 +++ hw/input/vmmouse.c | 303 + hw/intc/Makefile.objs | 25 + hw/intc/apic.c | 911 ++ hw/intc/apic_common.c | 408 + hw/intc/arm_gic.c | 725 ++ hw/intc/arm_gic_common.c | 176 + hw/intc/arm_gic_kvm.c | 169 + hw/intc/armv7m_nvic.c | 559 ++ hw/intc/etraxfs_pic.c | 187 + hw/intc/exynos4210_combiner.c | 460 + hw/intc/exynos4210_gic.c | 473 + hw/intc/gic_internal.h | 141 + hw/intc/grlib_irqmp.c | 372 + hw/intc/heathrow_pic.c | 215 + hw/intc/i8259.c | 522 + hw/intc/i8259_common.c | 157 + hw/intc/imx_avic.c | 416 + hw/intc/ioapic.c | 259 + hw/intc/ioapic_common.c | 118 + hw/intc/lm32_pic.c | 204 + hw/intc/omap_intc.c | 662 ++ hw/intc/openpic.c | 1663 +++ hw/intc/openpic_kvm.c | 264 + hw/intc/pl190.c | 293 + hw/intc/puv3_intc.c | 140 + hw/intc/realview_gic.c | 81 + hw/intc/sh_intc.c | 512 + hw/intc/slavio_intctl.c | 473 + hw/intc/xics.c | 708 ++ hw/intc/xilinx_intc.c | 200 + hw/integratorcp.c | 565 -- hw/intel-hda-defs.h | 717 -- hw/intel-hda.c | 1302 --- hw/intel-hda.h | 72 - hw/ioapic.c | 259 - hw/ioapic.h | 27 - hw/ioapic_common.c | 120 - hw/ioapic_internal.h | 102 - hw/ioh3420.c | 250 - hw/ioh3420.h | 10 - hw/irq.c | 136 - hw/irq.h | 57 - hw/isa-bus.c | 267 - hw/isa.h | 103 - hw/isa/Makefile.objs | 8 + hw/isa/apm.c | 102 + hw/isa/i82378.c | 149 + hw/isa/isa-bus.c | 261 + hw/isa/lpc_ich9.c | 629 ++ hw/isa/pc87312.c | 400 + hw/isa/piix4.c | 132 + hw/isa/vt82c686.c | 502 + hw/isa_mmio.c | 81 - hw/ivshmem.c | 821 -- hw/jazz_led.c | 291 - hw/kvm/Makefile.objs | 1 - hw/kvm/apic.c | 209 - hw/kvm/clock.c | 143 - hw/kvm/clock.h | 24 - hw/kvm/i8254.c | 317 - hw/kvm/i8259.c | 138 - hw/kvm/ioapic.c | 165 - hw/kvm/pci-assign.c | 1918 ---- hw/kvmvapic.c | 821 -- hw/kzm.c | 156 - hw/lan9118.c | 1399 --- hw/lance.c | 170 - hw/leon3.c | 223 - hw/lm32.h | 25 - hw/lm32/Makefile.objs | 20 - hw/lm32/lm32.h | 29 + hw/lm32/lm32_boards.c | 309 + hw/lm32/lm32_hwsetup.h | 178 + hw/lm32/milkymist-hw.h | 207 + hw/lm32/milkymist.c | 219 + hw/lm32_boards.c | 307 - hw/lm32_hwsetup.h | 178 - hw/lm32_juart.c | 159 - hw/lm32_juart.h | 11 - hw/lm32_pic.c | 199 - hw/lm32_pic.h | 14 - hw/lm32_sys.c | 172 - hw/lm32_timer.c | 230 - hw/lm32_uart.c | 296 - hw/lm4549.c | 336 - hw/lm4549.h | 43 - hw/lm832x.c | 521 - hw/loader.c | 801 -- hw/loader.h | 49 - hw/lpc_ich9.c | 525 - hw/lsi53c895a.c | 2141 ---- hw/m25p80.c | 651 -- hw/m48t59.c | 778 -- hw/m68k/Makefile.objs | 4 +- hw/m68k/an5206.c | 100 + hw/m68k/dummy_m68k.c | 84 + hw/m68k/mcf5206.c | 548 + hw/m68k/mcf5208.c | 306 + hw/m68k/mcf_intc.c | 154 + hw/mac_dbdma.c | 854 -- hw/mac_dbdma.h | 44 - hw/mac_nvram.c | 178 - hw/macio.c | 140 - hw/mainstone.c | 189 - hw/marvell_88w8618_audio.c | 303 - hw/max111x.c | 193 - hw/max7310.c | 213 - hw/mc146818rtc.c | 913 -- hw/mc146818rtc.h | 11 - hw/mc146818rtc_regs.h | 67 - hw/mcf.h | 30 - hw/mcf5206.c | 548 - hw/mcf5208.c | 302 - hw/mcf_fec.c | 480 - hw/mcf_intc.c | 154 - hw/mcf_uart.c | 306 - hw/megasas.c | 2213 ---- hw/mfi.h | 1249 --- hw/microblaze/Makefile.objs | 12 +- hw/microblaze/boot.c | 164 + hw/microblaze/boot.h | 10 + hw/microblaze/petalogix_ml605_mmu.c | 197 + hw/microblaze/petalogix_s3adsp1800_mmu.c | 127 + hw/microblaze/pic_cpu.c | 47 + hw/microblaze/pic_cpu.h | 8 + hw/microblaze_boot.c | 177 - hw/microblaze_boot.h | 10 - hw/microblaze_pic_cpu.c | 44 - hw/microblaze_pic_cpu.h | 8 - hw/milkymist-ac97.c | 344 - hw/milkymist-hpdmc.c | 170 - hw/milkymist-hw.h | 223 - hw/milkymist-memcard.c | 303 - hw/milkymist-minimac2.c | 550 - hw/milkymist-pfpu.c | 544 - hw/milkymist-softusb.c | 331 - hw/milkymist-sysctl.c | 338 - hw/milkymist-tmu2.c | 490 - hw/milkymist-uart.c | 243 - hw/milkymist-vgafb.c | 334 - hw/milkymist-vgafb_template.h | 74 - hw/milkymist.c | 218 - hw/mips-bios.h | 8 - hw/mips.h | 29 - hw/mips/Makefile.objs | 10 +- hw/mips/addr.c | 34 + hw/mips/cputimer.c | 147 + hw/mips/gt64xxx_pci.c | 1189 +++ hw/mips/mips_fulong2e.c | 414 + hw/mips/mips_int.c | 67 + hw/mips/mips_jazz.c | 347 + hw/mips/mips_malta.c | 1153 +++ hw/mips/mips_mipssim.c | 243 + hw/mips/mips_r4k.c | 317 + hw/mips_addr.c | 34 - hw/mips_cpudevs.h | 15 - hw/mips_fulong2e.c | 410 - hw/mips_int.c | 65 - hw/mips_jazz.c | 343 - hw/mips_malta.c | 1033 -- hw/mips_mipssim.c | 238 - hw/mips_r4k.c | 312 - hw/mips_timer.c | 147 - hw/mipsnet.c | 284 - hw/misc/Makefile.objs | 43 + hw/misc/a9scu.c | 165 + hw/misc/applesmc.c | 281 + hw/misc/arm_l2x0.c | 199 + hw/misc/arm_sysctl.c | 656 ++ hw/misc/cbus.c | 618 ++ hw/misc/debugexit.c | 76 + hw/misc/eccmemctl.c | 345 + hw/misc/exynos4210_pmu.c | 503 + hw/misc/imx_ccm.c | 326 + hw/misc/ivshmem.c | 839 ++ hw/misc/lm32_sys.c | 176 + hw/misc/macio/Makefile.objs | 3 + hw/misc/macio/cuda.c | 740 ++ hw/misc/macio/mac_dbdma.c | 764 ++ hw/misc/macio/macio.c | 402 + hw/misc/max111x.c | 193 + hw/misc/milkymist-hpdmc.c | 175 + hw/misc/milkymist-pfpu.c | 549 + hw/misc/mst_fpga.c | 267 + hw/misc/omap_clk.c | 1264 +++ hw/misc/omap_gpmc.c | 894 ++ hw/misc/omap_l4.c | 162 + hw/misc/omap_sdrc.c | 168 + hw/misc/omap_tap.c | 116 + hw/misc/pc-testdev.c | 207 + hw/misc/pci-testdev.c | 334 + hw/misc/puv3_pm.c | 153 + hw/misc/pvpanic.c | 147 + hw/misc/pxa2xx_pcmcia.c | 207 + hw/misc/sga.c | 67 + hw/misc/slavio_misc.c | 517 + hw/misc/tmp105.c | 269 + hw/misc/tmp105.h | 47 + hw/misc/vfio.c | 3322 ++++++ hw/misc/vmport.c | 180 + hw/misc/zynq_slcr.c | 539 + hw/moxie/Makefile.objs | 2 + hw/moxie/moxiesim.c | 174 + hw/mpc8544_guts.c | 143 - hw/msi.c | 395 - hw/msi.h | 50 - hw/msix.c | 562 -- hw/msix.h | 41 - hw/msmouse.c | 78 - hw/msmouse.h | 2 - hw/mst_fpga.c | 263 - hw/multiboot.c | 349 - hw/multiboot.h | 12 - hw/musicpal.c | 1697 ---- hw/nand.c | 789 -- hw/ne2000-isa.c | 112 - hw/ne2000.c | 788 -- hw/ne2000.h | 35 - hw/net/Makefile.objs | 33 + hw/net/cadence_gem.c | 1224 +++ hw/net/dp8393x.c | 914 ++ hw/net/e1000.c | 1422 +++ hw/net/e1000_regs.h | 893 ++ hw/net/eepro100.c | 2116 ++++ hw/net/etraxfs_eth.c | 663 ++ hw/net/lan9118.c | 1406 +++ hw/net/lance.c | 178 + hw/net/mcf_fec.c | 480 + hw/net/milkymist-minimac2.c | 551 + hw/net/mipsnet.c | 290 + hw/net/ne2000-isa.c | 116 + hw/net/ne2000.c | 790 ++ hw/net/ne2000.h | 40 + hw/net/opencores_eth.c | 740 ++ hw/net/pcnet-pci.c | 384 + hw/net/pcnet.c | 1772 ++++ hw/net/pcnet.h | 70 + hw/net/rtl8139.c | 3581 +++++++ hw/net/smc91c111.c | 814 ++ hw/net/spapr_llan.c | 557 + hw/net/stellaris_enet.c | 462 + hw/net/vhost_net.c | 331 + hw/net/virtio-net.c | 1667 +++ hw/net/vmware_utils.h | 143 + hw/net/vmxnet3.c | 2472 +++++ hw/net/vmxnet3.h | 757 ++ hw/net/vmxnet_debug.h | 115 + hw/net/vmxnet_rx_pkt.c | 187 + hw/net/vmxnet_rx_pkt.h | 174 + hw/net/vmxnet_tx_pkt.c | 567 ++ hw/net/vmxnet_tx_pkt.h | 148 + hw/net/xen_nic.c | 439 + hw/net/xgmac.c | 440 + hw/net/xilinx_axienet.c | 1071 ++ hw/net/xilinx_ethlite.c | 269 + hw/nseries.c | 1428 --- hw/null-machine.c | 35 - hw/nvram.h | 34 - hw/nvram/Makefile.objs | 5 + hw/nvram/ds1225y.c | 170 + hw/nvram/eeprom93xx.c | 337 + hw/nvram/fw_cfg.c | 598 ++ hw/nvram/mac_nvram.c | 196 + hw/nvram/spapr_nvram.c | 200 + hw/omap.h | 1015 -- hw/omap1.c | 4053 -------- hw/omap2.c | 2684 ----- hw/omap_clk.c | 1264 --- hw/omap_dma.c | 2089 ---- hw/omap_dss.c | 1086 -- hw/omap_gpio.c | 792 -- hw/omap_gpmc.c | 894 -- hw/omap_gptimer.c | 488 - hw/omap_i2c.c | 492 - hw/omap_intc.c | 649 -- hw/omap_l4.c | 162 - hw/omap_lcd_template.h | 175 - hw/omap_lcdc.c | 489 - hw/omap_mmc.c | 641 -- hw/omap_sdrc.c | 168 - hw/omap_spi.c | 349 - hw/omap_sx1.c | 236 - hw/omap_synctimer.c | 102 - hw/omap_tap.c | 116 - hw/omap_uart.c | 187 - hw/onenand.c | 841 -- hw/opencores_eth.c | 733 -- hw/openpic.c | 1710 ---- hw/openpic.h | 18 - hw/openrisc/Makefile.objs | 5 +- hw/openrisc/cputimer.c | 103 + hw/openrisc/openrisc_sim.c | 150 + hw/openrisc/pic_cpu.c | 61 + hw/openrisc_pic.c | 60 - hw/openrisc_sim.c | 149 - hw/openrisc_timer.c | 101 - hw/palm.c | 290 - hw/pam.c | 87 - hw/pam.h | 97 - hw/parallel.c | 614 -- hw/pc.c | 1109 -- hw/pc.h | 189 - hw/pc_piix.c | 646 -- hw/pc_q35.c | 223 - hw/pc_sysfw.c | 266 - hw/pci-bridge/Makefile.objs | 5 + hw/pci-bridge/dec.c | 156 + hw/pci-bridge/dec.h | 10 + hw/pci-bridge/i82801b11.c | 130 + hw/pci-bridge/ioh3420.c | 236 + hw/pci-bridge/ioh3420.h | 10 + hw/pci-bridge/pci_bridge_dev.c | 165 + hw/pci-bridge/xio3130_downstream.c | 203 + hw/pci-bridge/xio3130_downstream.h | 11 + hw/pci-bridge/xio3130_upstream.c | 183 + hw/pci-bridge/xio3130_upstream.h | 10 + hw/pci-host/Makefile.objs | 17 + hw/pci-host/apb.c | 580 ++ hw/pci-host/bonito.c | 842 ++ hw/pci-host/grackle.c | 165 + hw/pci-host/pam.c | 89 + hw/pci-host/piix.c | 744 ++ hw/pci-host/ppce500.c | 428 + hw/pci-host/prep.c | 235 + hw/pci-host/q35.c | 390 + hw/pci-host/uninorth.c | 492 + hw/pci-host/versatile.c | 532 + hw/pci-hotplug.c | 293 - hw/pci-stub.c | 47 - hw/pci.c | 2168 ---- hw/pci.h | 684 -- hw/pci/Makefile.objs | 11 + hw/pci/msi.c | 395 + hw/pci/msix.c | 604 ++ hw/pci/pci-hotplug-old.c | 337 + hw/pci/pci-stub.c | 47 + hw/pci/pci.c | 2264 +++++ hw/pci/pci_bridge.c | 420 + hw/pci/pci_host.c | 181 + hw/pci/pcie.c | 571 ++ hw/pci/pcie_aer.c | 1031 ++ hw/pci/pcie_host.c | 162 + hw/pci/pcie_port.c | 170 + hw/pci/shpc.c | 682 ++ hw/pci/slotid_cap.c | 45 + hw/pci_bridge.c | 363 - hw/pci_bridge.h | 66 - hw/pci_bridge_dev.c | 171 - hw/pci_host.c | 180 - hw/pci_host.h | 62 - hw/pci_ids.h | 147 - hw/pci_internals.h | 78 - hw/pci_regs.h | 717 -- hw/pcie.c | 555 - hw/pcie.h | 142 - hw/pcie_aer.c | 1032 -- hw/pcie_aer.h | 106 - hw/pcie_host.c | 161 - hw/pcie_host.h | 54 - hw/pcie_port.c | 114 - hw/pcie_port.h | 51 - hw/pcie_regs.h | 156 - hw/pckbd.c | 527 - hw/pcmcia.h | 51 - hw/pcnet-pci.c | 376 - hw/pcnet.c | 1767 ---- hw/pcnet.h | 65 - hw/pcspk.c | 201 - hw/pcspk.h | 45 - hw/petalogix_ml605_mmu.c | 184 - hw/petalogix_s3adsp1800_mmu.c | 126 - hw/pflash_cfi01.c | 754 -- hw/pflash_cfi02.c | 786 -- hw/piix4.c | 132 - hw/piix_pci.c | 584 -- hw/pixel_ops.h | 53 - hw/pl011.c | 330 - hw/pl022.c | 308 - hw/pl031.c | 265 - hw/pl041.c | 647 -- hw/pl041.h | 135 - hw/pl041.hx | 81 - hw/pl050.c | 200 - hw/pl061.c | 336 - hw/pl080.c | 421 - hw/pl110.c | 532 - hw/pl110_template.h | 395 - hw/pl181.c | 515 - hw/pl190.c | 289 - hw/pm_smbus.c | 176 - hw/pm_smbus.h | 21 - hw/ppc-viosrp.h | 216 - hw/ppc.c | 1317 --- hw/ppc.h | 92 - hw/ppc/Makefile.objs | 41 +- hw/ppc/e500-ccsr.h | 17 + hw/ppc/e500.c | 409 +- hw/ppc/e500.h | 4 + hw/ppc/e500plat.c | 19 +- hw/ppc/mac.h | 184 + hw/ppc/mac_newworld.c | 488 + hw/ppc/mac_oldworld.c | 361 + hw/ppc/mpc8544_guts.c | 140 + hw/ppc/mpc8544ds.c | 9 +- hw/ppc/ppc.c | 1364 +++ hw/ppc/ppc405.h | 81 + hw/ppc/ppc405_boards.c | 662 ++ hw/ppc/ppc405_uc.c | 2548 +++++ hw/ppc/ppc440_bamboo.c | 307 + hw/ppc/ppc4xx_devs.c | 721 ++ hw/ppc/ppc4xx_pci.c | 414 + hw/ppc/ppc_booke.c | 326 + hw/ppc/ppce500_spin.c | 224 + hw/ppc/prep.c | 702 ++ hw/ppc/spapr.c | 1336 +++ hw/ppc/spapr_events.c | 321 + hw/ppc/spapr_hcall.c | 739 ++ hw/ppc/spapr_iommu.c | 336 + hw/ppc/spapr_pci.c | 868 ++ hw/ppc/spapr_rtas.c | 327 + hw/ppc/spapr_vio.c | 675 ++ hw/ppc/virtex_ml507.c | 256 + hw/ppc405.h | 81 - hw/ppc405_boards.c | 660 -- hw/ppc405_uc.c | 2540 ----- hw/ppc440_bamboo.c | 305 - hw/ppc4xx.h | 64 - hw/ppc4xx_devs.c | 721 -- hw/ppc4xx_pci.c | 414 - hw/ppc_booke.c | 254 - hw/ppc_mac.h | 81 - hw/ppc_newworld.c | 431 - hw/ppc_oldworld.c | 351 - hw/ppc_prep.c | 704 -- hw/ppce500_pci.c | 393 - hw/ppce500_spin.c | 227 - hw/prep_pci.c | 208 - hw/primecell.h | 12 - hw/ps2.c | 676 -- hw/ps2.h | 38 - hw/ptimer.c | 231 - hw/ptimer.h | 39 - hw/puv3.c | 133 - hw/puv3.h | 49 - hw/puv3_dma.c | 109 - hw/puv3_gpio.c | 141 - hw/puv3_intc.c | 135 - hw/puv3_ost.c | 151 - hw/puv3_pm.c | 149 - hw/pxa.h | 191 - hw/pxa2xx.c | 2291 ----- hw/pxa2xx_dma.c | 574 -- hw/pxa2xx_gpio.c | 349 - hw/pxa2xx_keypad.c | 335 - hw/pxa2xx_lcd.c | 1051 -- hw/pxa2xx_mmci.c | 553 - hw/pxa2xx_pcmcia.c | 207 - hw/pxa2xx_pic.c | 334 - hw/pxa2xx_template.h | 435 - hw/pxa2xx_timer.c | 536 - hw/q35.c | 309 - hw/q35.h | 150 - hw/qdev-addr.c | 77 - hw/qdev-addr.h | 5 - hw/qdev-core.h | 233 - hw/qdev-dma.h | 10 - hw/qdev-monitor.c | 616 -- hw/qdev-monitor.h | 16 - hw/qdev-properties.c | 1281 --- hw/qdev-properties.h | 130 - hw/qdev.c | 798 -- hw/qdev.h | 9 - hw/qxl-logger.c | 275 - hw/qxl-render.c | 278 - hw/qxl.c | 2340 ----- hw/qxl.h | 160 - hw/r2d.c | 357 - hw/rc4030.c | 825 -- hw/realview.c | 400 - hw/realview_gic.c | 74 - hw/rtl8139.c | 3554 ------- hw/s390-virtio-bus.c | 571 -- hw/s390-virtio-bus.h | 102 - hw/s390-virtio.c | 354 - hw/s390x/Makefile.objs | 9 +- hw/s390x/css.c | 1280 +++ hw/s390x/css.h | 100 + hw/s390x/event-facility.c | 12 +- hw/s390x/event-facility.h | 96 - hw/s390x/ipl.c | 199 + hw/s390x/s390-virtio-bus.c | 738 ++ hw/s390x/s390-virtio-bus.h | 187 + hw/s390x/s390-virtio-ccw.c | 137 + hw/s390x/s390-virtio-hcall.c | 36 + hw/s390x/s390-virtio.c | 304 + hw/s390x/s390-virtio.h | 29 + hw/s390x/sclp.c | 8 +- hw/s390x/sclp.h | 118 - hw/s390x/sclpconsole.c | 306 - hw/s390x/sclpquiesce.c | 8 +- hw/s390x/virtio-ccw.c | 1342 +++ hw/s390x/virtio-ccw.h | 184 + hw/sb16.c | 1424 --- hw/sbi.c | 156 - hw/scsi-bus.c | 1881 ---- hw/scsi-defs.h | 303 - hw/scsi-disk.c | 2501 ----- hw/scsi-generic.c | 516 - hw/scsi.h | 255 - hw/scsi/Makefile.objs | 13 + hw/scsi/esp-pci.c | 533 + hw/scsi/esp.c | 738 ++ hw/scsi/lsi53c895a.c | 2159 ++++ hw/scsi/megasas.c | 2232 ++++ hw/scsi/mfi.h | 1249 +++ hw/scsi/scsi-bus.c | 1907 ++++ hw/scsi/scsi-disk.c | 2546 +++++ hw/scsi/scsi-generic.c | 520 + hw/scsi/spapr_vscsi.c | 1109 ++ hw/scsi/srp.h | 240 + hw/scsi/vhost-scsi.c | 289 + hw/scsi/viosrp.h | 216 + hw/scsi/virtio-scsi.c | 711 ++ hw/scsi/vmw_pvscsi.c | 1217 +++ hw/scsi/vmw_pvscsi.h | 434 + hw/sd.c | 1764 ---- hw/sd.h | 80 - hw/sd/Makefile.objs | 8 + hw/sd/milkymist-memcard.c | 307 + hw/sd/omap_mmc.c | 641 ++ hw/sd/pl181.c | 520 + hw/sd/pxa2xx_mmci.c | 553 + hw/sd/sd.c | 1771 ++++ hw/sd/sdhci.c | 1300 +++ hw/sd/sdhci.h | 312 + hw/sd/ssi-sd.c | 274 + hw/serial-isa.c | 130 - hw/serial-pci.c | 252 - hw/serial.c | 797 -- hw/serial.h | 99 - hw/sga.c | 63 - hw/sh.h | 57 - hw/sh4/Makefile.objs | 7 +- hw/sh4/r2d.c | 367 + hw/sh4/sh7750.c | 843 ++ hw/sh4/sh7750_regnames.c | 97 + hw/sh4/sh7750_regnames.h | 6 + hw/sh4/sh7750_regs.h | 1277 +++ hw/sh4/sh_pci.c | 198 + hw/sh4/shix.c | 107 + hw/sh7750.c | 838 -- hw/sh7750_regnames.c | 97 - hw/sh7750_regnames.h | 6 - hw/sh7750_regs.h | 1277 --- hw/sh_intc.c | 511 - hw/sh_intc.h | 83 - hw/sh_pci.c | 186 - hw/sh_serial.c | 408 - hw/sh_timer.c | 333 - hw/sharpsl.h | 17 - hw/shix.c | 102 - hw/shpc.c | 681 -- hw/shpc.h | 48 - hw/slavio_intctl.c | 471 - hw/slavio_misc.c | 508 - hw/slavio_timer.c | 435 - hw/slotid_cap.c | 44 - hw/slotid_cap.h | 11 - hw/sm501.c | 1447 --- hw/sm501_template.h | 145 - hw/smbios.c | 241 - hw/smbios.h | 162 - hw/smbus.c | 335 - hw/smbus.h | 83 - hw/smbus_eeprom.c | 156 - hw/smbus_ich9.c | 159 - hw/smc91c111.c | 805 -- hw/soc_dma.c | 366 - hw/soc_dma.h | 110 - hw/spapr.c | 937 -- hw/spapr.h | 356 - hw/spapr_events.c | 321 - hw/spapr_hcall.c | 745 -- hw/spapr_iommu.c | 287 - hw/spapr_llan.c | 523 - hw/spapr_pci.c | 771 -- hw/spapr_pci.h | 86 - hw/spapr_rtas.c | 332 - hw/spapr_vio.c | 666 -- hw/spapr_vio.h | 136 - hw/spapr_vscsi.c | 983 -- hw/spapr_vty.c | 221 - hw/sparc/Makefile.objs | 9 +- hw/sparc/leon3.c | 227 + hw/sparc/sun4m.c | 1506 +++ hw/sparc32_dma.c | 315 - hw/sparc32_dma.h | 12 - hw/sparc64/Makefile.objs | 5 +- hw/sparc64/sun4u.c | 1028 ++ hw/spitz.c | 1134 --- hw/srp.h | 240 - hw/ssd0303.c | 321 - hw/ssd0323.c | 372 - hw/ssi-sd.c | 274 - hw/ssi.c | 174 - hw/ssi.h | 93 - hw/ssi/Makefile.objs | 6 + hw/ssi/omap_spi.c | 373 + hw/ssi/pl022.c | 313 + hw/ssi/ssi.c | 174 + hw/ssi/xilinx_spi.c | 391 + hw/ssi/xilinx_spips.c | 772 ++ hw/stellaris.c | 1399 --- hw/stellaris_enet.c | 449 - hw/stellaris_input.c | 89 - hw/stream.c | 23 - hw/stream.h | 31 - hw/strongarm.c | 1622 --- hw/strongarm.h | 68 - hw/sun4c_intctl.c | 208 - hw/sun4m.c | 1927 ---- hw/sun4m.h | 36 - hw/sun4m_iommu.c | 388 - hw/sun4u.c | 1012 -- hw/sysbus.c | 297 - hw/sysbus.h | 89 - hw/tc58128.c | 178 - hw/tc6393xb.c | 587 -- hw/tc6393xb_template.h | 67 - hw/tcx.c | 730 -- hw/timer/Makefile.objs | 29 + hw/timer/arm_mptimer.c | 316 + hw/timer/arm_timer.c | 411 + hw/timer/cadence_ttc.c | 495 + hw/timer/ds1338.c | 236 + hw/timer/etraxfs_timer.c | 357 + hw/timer/exynos4210_mct.c | 1486 +++ hw/timer/exynos4210_pwm.c | 426 + hw/timer/exynos4210_rtc.c | 596 ++ hw/timer/grlib_gptimer.c | 410 + hw/timer/hpet.c | 773 ++ hw/timer/i8254.c | 377 + hw/timer/i8254_common.c | 302 + hw/timer/imx_epit.c | 432 + hw/timer/imx_gpt.c | 557 + hw/timer/lm32_timer.c | 235 + hw/timer/m48t59.c | 795 ++ hw/timer/mc146818rtc.c | 924 ++ hw/timer/milkymist-sysctl.c | 342 + hw/timer/omap_gptimer.c | 488 + hw/timer/omap_synctimer.c | 102 + hw/timer/pl031.c | 269 + hw/timer/puv3_ost.c | 155 + hw/timer/pxa2xx_timer.c | 599 ++ hw/timer/sh_timer.c | 333 + hw/timer/slavio_timer.c | 440 + hw/timer/tusb6010.c | 819 ++ hw/timer/twl92230.c | 882 ++ hw/timer/xilinx_timer.c | 260 + hw/tmp105.c | 253 - hw/tosa.c | 301 - hw/tpm/Makefile.objs | 2 + hw/tpm/tpm_int.h | 67 + hw/tpm/tpm_passthrough.c | 552 + hw/tpm/tpm_tis.c | 931 ++ hw/tpm/tpm_tis.h | 75 + hw/tsc2005.c | 593 -- hw/tsc210x.c | 1293 --- hw/tusb6010.c | 813 -- hw/twl92230.c | 882 -- hw/unicore32/Makefile.objs | 2 - hw/unicore32/puv3.c | 139 + hw/unin_pci.c | 492 - hw/usb.h | 547 - hw/usb/Makefile.objs | 38 +- hw/usb/bus.c | 58 +- hw/usb/ccid-card-emulated.c | 612 ++ hw/usb/ccid-card-passthru.c | 413 + hw/usb/ccid.h | 65 + hw/usb/combined-packet.c | 2 +- hw/usb/core.c | 43 +- hw/usb/desc.c | 17 +- hw/usb/dev-audio.c | 4 +- hw/usb/dev-bluetooth.c | 7 +- hw/usb/dev-hid.c | 113 +- hw/usb/dev-hub.c | 23 +- hw/usb/dev-network.c | 36 +- hw/usb/dev-serial.c | 21 +- hw/usb/dev-smartcard-reader.c | 258 +- hw/usb/dev-storage.c | 131 +- hw/usb/dev-uas.c | 260 +- hw/usb/dev-wacom.c | 9 +- hw/usb/hcd-ehci-pci.c | 70 +- hw/usb/hcd-ehci-sysbus.c | 179 +- hw/usb/hcd-ehci.c | 481 +- hw/usb/hcd-ehci.h | 85 +- hw/usb/hcd-musb.c | 4 +- hw/usb/hcd-ohci.c | 286 +- hw/usb/hcd-uhci.c | 217 +- hw/usb/hcd-xhci.c | 784 ++- hw/usb/host-bsd.c | 13 +- hw/usb/host-legacy.c | 144 + hw/usb/host-libusb.c | 1528 +++ hw/usb/host-linux.c | 157 +- hw/usb/host-stub.c | 11 +- hw/usb/host.h | 44 + hw/usb/libhw.c | 8 +- hw/usb/quirks-ftdi-ids.h | 1255 +++ hw/usb/quirks-pl2303-ids.h | 150 + hw/usb/quirks.c | 53 + hw/usb/quirks.h | 910 ++ hw/usb/redirect.c | 525 +- hw/versatile_i2c.c | 107 - hw/versatile_pci.c | 164 - hw/versatilepb.c | 401 - hw/vexpress.c | 498 - hw/vfio_pci.c | 2138 ---- hw/vga-isa-mm.c | 143 - hw/vga-isa.c | 101 - hw/vga-pci.c | 215 - hw/vga.c | 2450 ----- hw/vga.h | 159 - hw/vga_int.h | 214 - hw/vga_template.h | 459 - hw/vhost.c | 964 -- hw/vhost.h | 56 - hw/vhost_net.c | 237 - hw/vhost_net.h | 20 - hw/virtex_ml507.c | 274 - hw/virtio-balloon.c | 274 - hw/virtio-balloon.h | 55 - hw/virtio-blk.c | 658 -- hw/virtio-blk.h | 114 - hw/virtio-console.c | 182 - hw/virtio-net.c | 1103 -- hw/virtio-net.h | 190 - hw/virtio-pci.c | 1131 --- hw/virtio-pci.h | 62 - hw/virtio-rng.c | 205 - hw/virtio-rng.h | 28 - hw/virtio-scsi.c | 744 -- hw/virtio-scsi.h | 43 - hw/virtio-serial-bus.c | 1045 -- hw/virtio-serial.h | 208 - hw/virtio.c | 1058 -- hw/virtio.h | 247 - hw/virtio/Makefile.objs | 8 + hw/virtio/dataplane/Makefile.objs | 1 + hw/virtio/dataplane/hostmem.c | 183 + hw/virtio/dataplane/vring.c | 366 + hw/virtio/vhost.c | 1072 ++ hw/virtio/virtio-balloon.c | 414 + hw/virtio/virtio-bus.c | 190 + hw/virtio/virtio-mmio.c | 425 + hw/virtio/virtio-pci.c | 1562 +++ hw/virtio/virtio-pci.h | 206 + hw/virtio/virtio-rng.c | 236 + hw/virtio/virtio.c | 1199 +++ hw/vmmouse.c | 302 - hw/vmport.c | 170 - hw/vmware_vga.c | 1259 --- hw/vt82c686.c | 559 -- hw/vt82c686.h | 11 - hw/watchdog.c | 147 - hw/watchdog.h | 43 - hw/watchdog/Makefile.objs | 3 + hw/watchdog/watchdog.c | 146 + hw/watchdog/wdt_i6300esb.c | 470 + hw/watchdog/wdt_ib700.c | 156 + hw/wdt_i6300esb.c | 455 - hw/wdt_ib700.c | 145 - hw/wm8750.c | 716 -- hw/xen-host-pci-device.c | 396 - hw/xen-host-pci-device.h | 55 - hw/xen.h | 58 - hw/xen/Makefile.objs | 6 + hw/xen/xen-host-pci-device.c | 396 + hw/xen/xen-host-pci-device.h | 55 + hw/xen/xen_apic.c | 95 + hw/xen/xen_backend.c | 800 ++ hw/xen/xen_devconfig.c | 174 + hw/xen/xen_platform.c | 449 + hw/xen/xen_pt.c | 850 ++ hw/xen/xen_pt.h | 302 + hw/xen/xen_pt_config_init.c | 1882 ++++ hw/xen/xen_pt_msi.c | 621 ++ hw/xen/xen_pvdevice.c | 131 + hw/xen_apic.c | 95 - hw/xen_backend.c | 800 -- hw/xen_backend.h | 110 - hw/xen_blkif.h | 103 - hw/xen_common.h | 160 - hw/xen_console.c | 295 - hw/xen_devconfig.c | 174 - hw/xen_disk.c | 985 -- hw/xen_domainbuild.c | 299 - hw/xen_domainbuild.h | 13 - hw/xen_machine_pv.c | 125 - hw/xen_nic.c | 439 - hw/xen_platform.c | 436 - hw/xen_pt.c | 844 -- hw/xen_pt.h | 302 - hw/xen_pt_config_init.c | 1882 ---- hw/xen_pt_msi.c | 620 -- hw/xenfb.c | 1025 -- hw/xgmac.c | 433 - hw/xics.c | 573 -- hw/xics.h | 39 - hw/xilinx.h | 92 - hw/xilinx_axidma.c | 524 - hw/xilinx_axienet.c | 910 -- hw/xilinx_ethlite.c | 258 - hw/xilinx_intc.c | 190 - hw/xilinx_spi.c | 385 - hw/xilinx_spips.c | 575 -- hw/xilinx_timer.c | 255 - hw/xilinx_uartlite.c | 234 - hw/xilinx_zynq.c | 213 - hw/xio3130_downstream.c | 217 - hw/xio3130_downstream.h | 11 - hw/xio3130_upstream.c | 192 - hw/xio3130_upstream.h | 10 - hw/xtensa/Makefile.objs | 4 +- hw/xtensa/pic_cpu.c | 166 + hw/xtensa/xtensa_bootparam.h | 25 + hw/xtensa/xtensa_lx60.c | 317 + hw/xtensa/xtensa_sim.c | 119 + hw/xtensa_bootparam.h | 25 - hw/xtensa_lx60.c | 312 - hw/xtensa_pic.c | 164 - hw/xtensa_sim.c | 116 - hw/z2.c | 383 - hw/zaurus.c | 292 - hw/zynq_slcr.c | 535 - hwaddr.h | 24 - i386-dis.c | 6562 ------------ i386.ld | 153 - ia64-dis.c |10602 -------------------- ia64.ld | 209 - include/block/aio.h | 254 + include/block/block.h | 445 + include/block/block_int.h | 423 + include/block/blockjob.h | 278 + include/block/coroutine.h | 223 + include/block/coroutine_int.h | 53 + include/block/nbd.h | 101 + include/block/qapi.h | 47 + include/block/scsi.h | 307 + include/block/snapshot.h | 53 + include/block/thread-pool.h | 41 + include/config.h | 2 + include/disas/bfd.h | 485 + include/disas/disas.h | 43 + include/elf.h | 1443 +++ include/exec/address-spaces.h | 41 + include/exec/cpu-all.h | 494 + include/exec/cpu-common.h | 124 + include/exec/cpu-defs.h | 184 + include/exec/cputlb.h | 48 + include/exec/def-helper.h | 275 + include/exec/exec-all.h | 453 + include/exec/gdbstub.h | 98 + include/exec/gen-icount.h | 65 + include/exec/hwaddr.h | 20 + include/exec/ioport.h | 74 + include/exec/memory-internal.h | 124 + include/exec/memory.h | 1061 ++ include/exec/poison.h | 62 + include/exec/softmmu-semi.h | 79 + include/exec/softmmu_defs.h | 37 + include/exec/softmmu_exec.h | 163 + include/exec/softmmu_header.h | 213 + include/exec/softmmu_template.h | 328 + include/exec/spinlock.h | 49 + include/exec/user/abitypes.h | 70 + include/exec/user/thunk.h | 189 + include/fpu/softfloat.h | 641 ++ include/glib-compat.h | 27 + include/hw/acpi/acpi.h | 170 + include/hw/acpi/ich9.h | 52 + include/hw/arm/arm.h | 74 + include/hw/arm/exynos4210.h | 137 + include/hw/arm/imx.h | 34 + include/hw/arm/omap.h | 1015 ++ include/hw/arm/primecell.h | 12 + include/hw/arm/pxa.h | 191 + include/hw/arm/sharpsl.h | 17 + include/hw/arm/soc_dma.h | 116 + include/hw/audio/audio.h | 10 + include/hw/audio/pcspk.h | 47 + include/hw/block/block.h | 79 + include/hw/block/fdc.h | 26 + include/hw/block/flash.h | 64 + include/hw/boards.h | 56 + include/hw/bt.h | 2190 ++++ include/hw/char/escc.h | 14 + include/hw/char/lm32_juart.h | 13 + include/hw/char/serial.h | 97 + include/hw/cpu/icc_bus.h | 82 + include/hw/cris/etraxfs.h | 51 + include/hw/cris/etraxfs_dma.h | 34 + include/hw/devices.h | 70 + include/hw/elf_ops.h | 309 + include/hw/empty_slot.h | 7 + include/hw/hw.h | 75 + include/hw/i2c/i2c.h | 88 + include/hw/i2c/pm_smbus.h | 20 + include/hw/i2c/smbus.h | 83 + include/hw/i386/apic-msidef.h | 30 + include/hw/i386/apic.h | 32 + include/hw/i386/apic_internal.h | 147 + include/hw/i386/ich9.h | 219 + include/hw/i386/ioapic.h | 28 + include/hw/i386/ioapic_internal.h | 102 + include/hw/i386/pc.h | 319 + include/hw/i386/smbios.h | 162 + include/hw/ide.h | 32 + include/hw/input/adb.h | 87 + include/hw/input/hid.h | 84 + include/hw/input/ps2.h | 38 + include/hw/irq.h | 57 + include/hw/isa/apm.h | 25 + include/hw/isa/i8259_internal.h | 83 + include/hw/isa/isa.h | 106 + include/hw/isa/pc87312.h | 68 + include/hw/isa/vt82c686.h | 11 + include/hw/kvm/clock.h | 24 + include/hw/lm32/lm32_pic.h | 14 + include/hw/loader.h | 66 + include/hw/m68k/mcf.h | 30 + include/hw/mips/bios.h | 8 + include/hw/mips/cpudevs.h | 15 + include/hw/mips/mips.h | 32 + include/hw/misc/tmp105_regs.h | 50 + include/hw/nvram/eeprom93xx.h | 40 + include/hw/nvram/fw_cfg.h | 80 + include/hw/nvram/openbios_firmware_abi.h | 73 + include/hw/pci-host/apb.h | 10 + include/hw/pci-host/pam.h | 97 + include/hw/pci-host/ppce500.h | 9 + include/hw/pci-host/q35.h | 159 + include/hw/pci-host/spapr.h | 93 + include/hw/pci/msi.h | 50 + include/hw/pci/msix.h | 57 + include/hw/pci/pci.h | 729 ++ include/hw/pci/pci_bridge.h | 66 + include/hw/pci/pci_bus.h | 83 + include/hw/pci/pci_host.h | 73 + include/hw/pci/pci_ids.h | 156 + include/hw/pci/pci_regs.h | 717 ++ include/hw/pci/pcie.h | 143 + include/hw/pci/pcie_aer.h | 106 + include/hw/pci/pcie_host.h | 54 + include/hw/pci/pcie_port.h | 61 + include/hw/pci/pcie_regs.h | 156 + include/hw/pci/shpc.h | 48 + include/hw/pci/slotid_cap.h | 11 + include/hw/pcmcia.h | 56 + include/hw/ppc/mac_dbdma.h | 172 + include/hw/ppc/openpic.h | 32 + include/hw/ppc/ppc.h | 98 + include/hw/ppc/ppc4xx.h | 64 + include/hw/ppc/ppc_e500.h | 6 + include/hw/ppc/spapr.h | 377 + include/hw/ppc/spapr_vio.h | 142 + include/hw/ppc/xics.h | 103 + include/hw/ptimer.h | 39 + include/hw/qdev-core.h | 327 + include/hw/qdev-dma.h | 10 + include/hw/qdev-properties.h | 198 + include/hw/qdev.h | 8 + include/hw/s390x/event-facility.h | 96 + include/hw/s390x/sclp.h | 118 + include/hw/scsi/esp.h | 132 + include/hw/scsi/scsi.h | 257 + include/hw/sd.h | 80 + include/hw/sh4/sh.h | 57 + include/hw/sh4/sh_intc.h | 83 + include/hw/sparc/grlib.h | 126 + include/hw/sparc/sparc32_dma.h | 12 + include/hw/sparc/sun4m.h | 38 + include/hw/ssi.h | 93 + include/hw/stream.h | 57 + include/hw/sysbus.h | 96 + include/hw/timer/hpet.h | 74 + include/hw/timer/i8254.h | 75 + include/hw/timer/i8254_internal.h | 84 + include/hw/timer/m48t59.h | 37 + include/hw/timer/mc146818rtc.h | 13 + include/hw/timer/mc146818rtc_regs.h | 67 + include/hw/unicore32/puv3.h | 49 + include/hw/usb.h | 572 ++ include/hw/virtio/dataplane/hostmem.h | 58 + include/hw/virtio/dataplane/vring.h | 62 + include/hw/virtio/vhost-scsi.h | 73 + include/hw/virtio/vhost.h | 71 + include/hw/virtio/virtio-9p.h | 24 + include/hw/virtio/virtio-balloon.h | 72 + include/hw/virtio/virtio-blk.h | 153 + include/hw/virtio/virtio-bus.h | 101 + include/hw/virtio/virtio-net.h | 277 + include/hw/virtio/virtio-rng.h | 59 + include/hw/virtio/virtio-scsi.h | 192 + include/hw/virtio/virtio-serial.h | 254 + include/hw/virtio/virtio.h | 252 + include/hw/xen/xen.h | 57 + include/hw/xen/xen_backend.h | 109 + include/hw/xen/xen_common.h | 160 + include/hw/xilinx.h | 96 + include/migration/block.h | 23 + include/migration/migration.h | 165 + include/migration/page_cache.h | 80 + include/migration/qemu-file.h | 266 + include/migration/vmstate.h | 740 ++ include/monitor/monitor.h | 104 + include/monitor/qdev.h | 15 + include/monitor/readline.h | 55 + include/net/checksum.h | 53 + include/net/eth.h | 347 + include/net/net.h | 201 + include/net/queue.h | 58 + include/net/slirp.h | 47 + include/net/tap.h | 69 + include/net/vhost_net.h | 23 + include/qapi/dealloc-visitor.h | 26 + include/qapi/error.h | 85 + include/qapi/opts-visitor.h | 31 + include/qapi/qmp-input-visitor.h | 29 + include/qapi/qmp-output-visitor.h | 28 + include/qapi/qmp/dispatch.h | 55 + include/qapi/qmp/json-lexer.h | 51 + include/qapi/qmp/json-parser.h | 24 + include/qapi/qmp/json-streamer.h | 40 + include/qapi/qmp/qbool.h | 29 + include/qapi/qmp/qdict.h | 70 + include/qapi/qmp/qerror.h | 249 + include/qapi/qmp/qfloat.h | 29 + include/qapi/qmp/qint.h | 28 + include/qapi/qmp/qjson.h | 29 + include/qapi/qmp/qlist.h | 63 + include/qapi/qmp/qobject.h | 113 + include/qapi/qmp/qstring.h | 36 + include/qapi/qmp/types.h | 25 + include/qapi/string-input-visitor.h | 25 + include/qapi/string-output-visitor.h | 26 + include/qapi/visitor-impl.h | 69 + include/qapi/visitor.h | 64 + include/qemu-common.h | 478 + include/qemu-io.h | 46 + include/qemu/acl.h | 74 + include/qemu/aes.h | 45 + include/qemu/atomic.h | 202 + include/qemu/bitmap.h | 222 + include/qemu/bitops.h | 326 + include/qemu/bswap.h | 478 + include/qemu/cache-utils.h | 44 + include/qemu/compatfd.h | 44 + include/qemu/compiler.h | 55 + include/qemu/config-file.h | 24 + include/qemu/cpu.h | 140 - include/qemu/crc32c.h | 35 + include/qemu/envlist.h | 22 + include/qemu/error-report.h | 46 + include/qemu/event_notifier.h | 46 + include/qemu/fifo8.h | 99 + include/qemu/hbitmap.h | 209 + include/qemu/host-utils.h | 322 + include/qemu/int128.h | 144 + include/qemu/iov.h | 115 + include/qemu/log.h | 184 + include/qemu/main-loop.h | 311 + include/qemu/module.h | 40 + include/qemu/notify.h | 72 + include/qemu/object.h | 1003 -- include/qemu/option.h | 160 + include/qemu/option_int.h | 54 + include/qemu/osdep.h | 218 + include/qemu/page_cache.h | 79 - include/qemu/qom-qobject.h | 42 - include/qemu/queue.h | 414 + include/qemu/range.h | 45 + include/qemu/rng-random.h | 22 - include/qemu/rng.h | 93 - include/qemu/sockets.h | 83 + include/qemu/thread-posix.h | 28 + include/qemu/thread-win32.h | 29 + include/qemu/thread.h | 56 + include/qemu/timer.h | 305 + include/qemu/tls.h | 52 + include/qemu/typedefs.h | 69 + include/qemu/uri.h | 113 + include/qemu/xattr.h | 30 + include/qom/cpu.h | 524 + include/qom/object.h | 1137 +++ include/qom/qom-qobject.h | 42 + include/sysemu/arch_init.h | 40 + include/sysemu/balloon.h | 29 + include/sysemu/blockdev.h | 69 + include/sysemu/bt.h | 20 + include/sysemu/char.h | 301 + include/sysemu/cpus.h | 29 + include/sysemu/device_tree.h | 113 + include/sysemu/dma.h | 219 + include/sysemu/dump.h | 28 + include/sysemu/kvm.h | 317 + include/sysemu/memory_mapping.h | 82 + include/sysemu/os-posix.h | 52 + include/sysemu/os-win32.h | 114 + include/sysemu/qtest.h | 53 + include/sysemu/rng-random.h | 22 + include/sysemu/rng.h | 93 + include/sysemu/seccomp.h | 22 + include/sysemu/sysemu.h | 199 + include/sysemu/tpm.h | 23 + include/sysemu/tpm_backend.h | 210 + include/sysemu/tpm_backend_int.h | 45 + include/sysemu/watchdog.h | 43 + include/sysemu/xen-mapcache.h | 56 + include/trace.h | 6 + include/ui/console.h | 344 + include/ui/pixel_ops.h | 53 + include/ui/qemu-pixman.h | 56 + include/ui/qemu-spice.h | 88 + include/ui/spice-display.h | 137 + input.c | 530 - int128.h | 116 - iohandler.c | 47 +- ioport.c | 387 +- ioport.h | 78 - iorange.h | 31 - iov.c | 356 - iov.h | 97 - json-lexer.c | 373 - json-lexer.h | 51 - json-parser.c | 704 -- json-parser.h | 24 - json-streamer.c | 122 - json-streamer.h | 40 - kvm-all.c | 476 +- kvm-stub.c | 55 +- kvm.h | 280 - libcacard/Makefile | 64 +- libcacard/cac.c | 80 +- libcacard/cac.h | 8 + libcacard/event.c | 2 +- libcacard/libcacard.syms | 77 + libcacard/vcard_emul_nss.c | 71 +- libcacard/vcardt.c | 40 + libcacard/vcardt.h | 5 - libcacard/vcardt_internal.h | 6 + libcacard/vreader.c | 81 +- libcacard/vscclient.c | 521 +- libfdt_env.h | 36 - linux-headers/asm-arm/kvm.h | 180 + linux-headers/asm-arm/kvm_para.h | 1 + linux-headers/asm-generic/kvm_para.h | 4 + linux-headers/asm-mips/kvm.h | 138 + linux-headers/asm-mips/kvm_para.h | 1 + linux-headers/asm-powerpc/epapr_hcalls.h | 98 + linux-headers/asm-powerpc/kvm.h | 186 +- linux-headers/asm-powerpc/kvm_para.h | 13 +- linux-headers/asm-x86/kvm.h | 1 - linux-headers/linux/kvm.h | 110 +- linux-headers/linux/kvm_para.h | 6 +- linux-headers/linux/vfio.h | 16 +- linux-headers/linux/vhost.h | 28 + linux-headers/linux/virtio_config.h | 6 +- linux-headers/linux/virtio_ring.h | 6 +- linux-user/alpha/target_cpu.h | 36 + linux-user/arm/nwfpe/double_cpdo.c | 2 +- linux-user/arm/nwfpe/extended_cpdo.c | 2 +- linux-user/arm/nwfpe/fpa11.h | 2 +- linux-user/arm/nwfpe/fpa11_cpdt.c | 2 +- linux-user/arm/nwfpe/fpa11_cprt.c | 2 +- linux-user/arm/nwfpe/fpopcode.c | 2 +- linux-user/arm/nwfpe/single_cpdo.c | 2 +- linux-user/arm/syscall.h | 2 + linux-user/arm/syscall_nr.h | 4 +- linux-user/arm/target_cpu.h | 35 + linux-user/cpu-uname.c | 10 +- linux-user/cris/syscall.h | 7 + linux-user/cris/target_cpu.h | 36 + linux-user/elfload.c | 198 +- linux-user/i386/syscall.h | 2 + linux-user/i386/syscall_nr.h | 4 +- linux-user/i386/target_cpu.h | 48 + linux-user/ioctls.h | 6 +- linux-user/linuxload.c | 3 +- linux-user/m68k/target_cpu.h | 38 + linux-user/main.c | 528 +- linux-user/microblaze/syscall.h | 8 + linux-user/microblaze/target_cpu.h | 35 + linux-user/mips/syscall.h | 2 + linux-user/mips/target_cpu.h | 36 + linux-user/mips64/syscall.h | 20 +- linux-user/mips64/syscall_nr.h | 920 ++- linux-user/mips64/target_cpu.h | 1 + linux-user/mipsn32/syscall.h | 224 - linux-user/mipsn32/syscall_nr.h | 311 - linux-user/mipsn32/target_signal.h | 29 - linux-user/mipsn32/termbits.h | 245 - linux-user/mmap.c | 15 +- linux-user/openrisc/target_cpu.h | 38 + linux-user/ppc/syscall.h | 2 + linux-user/ppc/target_cpu.h | 41 + linux-user/qemu-types.h | 36 - linux-user/qemu.h | 94 +- linux-user/s390x/syscall.h | 4 +- linux-user/s390x/target_cpu.h | 39 + linux-user/sh4/target_cpu.h | 35 + linux-user/signal.c | 348 +- linux-user/socket.h | 450 +- linux-user/sparc/syscall.h | 7 + linux-user/sparc/syscall_nr.h | 6 +- linux-user/sparc/target_cpu.h | 44 + linux-user/sparc64/syscall.h | 7 + linux-user/sparc64/target_cpu.h | 1 + linux-user/strace.c | 107 +- linux-user/strace.list | 6 - linux-user/syscall.c | 915 +- linux-user/syscall_defs.h | 80 +- linux-user/unicore32/syscall_nr.h | 4 +- linux-user/unicore32/target_cpu.h | 27 + linux-user/x86_64/target_cpu.h | 1 + lm32-dis.c | 361 - m68k-dis.c | 5051 ---------- m68k.ld | 175 - main-loop.c | 215 +- main-loop.h | 306 - memory-internal.h | 141 - memory.c | 736 +- memory.h | 882 -- memory_mapping-stub.c | 33 - memory_mapping.c | 154 +- memory_mapping.h | 64 - microblaze-dis.c | 1100 -- migration-exec.c | 49 +- migration-fd.c | 60 +- migration-rdma.c | 3430 +++++++ migration-tcp.c | 41 +- migration-unix.c | 41 +- migration.c | 416 +- migration.h | 131 - mips-dis.c | 4873 --------- mips.ld | 222 - module.c | 81 - module.h | 40 - monitor.c | 482 +- monitor.h | 102 - nbd.c | 67 +- nbd.h | 100 - net.c | 1055 -- net.h | 186 - net/Makefile.objs | 3 +- net/checksum.c | 42 +- net/checksum.h | 29 - net/clients.h | 2 +- net/dump.c | 6 +- net/eth.c | 217 + net/hub.c | 22 +- net/hub.h | 3 +- net/net.c | 1250 +++ net/queue.c | 19 +- net/queue.h | 58 - net/slirp.c | 22 +- net/slirp.h | 47 - net/socket.c | 54 +- net/tap-aix.c | 21 +- net/tap-bsd.c | 27 +- net/tap-haiku.c | 20 +- net/tap-linux.c | 92 +- net/tap-linux.h | 31 +- net/tap-solaris.c | 24 +- net/tap-win32.c | 34 +- net/tap.c | 368 +- net/tap.h | 58 - net/tap_int.h | 50 + net/util.c | 2 +- net/vde.c | 8 +- notify.c | 41 - notify.h | 43 - os-posix.c | 14 +- os-win32.c | 31 +- osdep.c | 402 - osdep.h | 178 - oslib-posix.c | 228 - oslib-win32.c | 152 - page_cache.c | 28 +- path.c | 181 - pc-bios/README | 8 +- pc-bios/acpi-dsdt.aml | Bin 4521 -> 4407 bytes pc-bios/bios.bin | Bin 131072 -> 131072 bytes pc-bios/efi-e1000.rom | Bin 0 -> 173568 bytes pc-bios/efi-eepro100.rom | Bin 0 -> 174592 bytes pc-bios/efi-ne2k_pci.rom | Bin 0 -> 173056 bytes pc-bios/efi-pcnet.rom | Bin 0 -> 173056 bytes pc-bios/efi-rtl8139.rom | Bin 0 -> 176640 bytes pc-bios/efi-virtio.rom | Bin 0 -> 171008 bytes pc-bios/multiboot.bin | Bin 1024 -> 1024 bytes pc-bios/openbios-ppc | Bin 729908 -> 733976 bytes pc-bios/openbios-sparc32 | Bin 381764 -> 381484 bytes pc-bios/openbios-sparc64 | Bin 1598648 -> 1598328 bytes pc-bios/optionrom/multiboot.S | 75 +- pc-bios/optionrom/optionrom.h | 2 +- pc-bios/palcode-clipper | Bin 185703 -> 133550 bytes pc-bios/q35-acpi-dsdt.aml | Bin 7458 -> 7344 bytes pc-bios/qemu-nsis.bmp | Bin 0 -> 154542 bytes pc-bios/qemu-nsis.ico | Bin 0 -> 4846 bytes pc-bios/qemu_logo_no_text.svg | 976 ++ pc-bios/s390-ccw.img | Bin 0 -> 9432 bytes pc-bios/s390-ccw/Makefile | 26 + pc-bios/s390-ccw/bootmap.c | 235 + pc-bios/s390-ccw/cio.h | 342 + pc-bios/s390-ccw/main.c | 80 + pc-bios/s390-ccw/s390-ccw.h | 135 + pc-bios/s390-ccw/sclp-ascii.c | 81 + pc-bios/s390-ccw/sclp.h | 107 + pc-bios/s390-ccw/start.S | 33 + pc-bios/s390-ccw/virtio.c | 321 + pc-bios/s390-ccw/virtio.h | 163 + pc-bios/slof.bin | Bin 878640 -> 909720 bytes pci-ids.txt | 31 - po/Makefile | 49 + po/de_DE.po | 64 + po/fr_FR.po | 62 + po/hu.po | 63 + po/it.po | 64 + po/messages.po | 61 + po/tr.po | 62 + poison.h | 64 - ppc-dis.c | 5412 ---------- ppc.ld | 237 - ppc64.ld | 230 - qapi-schema-guest.json | 517 - qapi-schema-test.json | 38 - qapi-schema.json | 889 ++- qapi/Makefile.objs | 8 +- qapi/opts-visitor.c | 10 +- qapi/opts-visitor.h | 31 - qapi/qapi-dealloc-visitor.c | 7 +- qapi/qapi-dealloc-visitor.h | 26 - qapi/qapi-types-core.h | 21 - qapi/qapi-visit-core.c | 42 +- qapi/qapi-visit-core.h | 95 - qapi/qapi-visit-impl.h | 23 - qapi/qmp-core.h | 55 - qapi/qmp-dispatch.c | 10 +- qapi/qmp-input-visitor.c | 57 +- qapi/qmp-input-visitor.h | 29 - qapi/qmp-output-visitor.c | 10 +- qapi/qmp-output-visitor.h | 28 - qapi/qmp-registry.c | 6 +- qapi/string-input-visitor.c | 6 +- qapi/string-input-visitor.h | 25 - qapi/string-output-visitor.c | 6 +- qapi/string-output-visitor.h | 26 - qbool.c | 68 - qbool.h | 29 - qdev-monitor.c | 716 ++ qdict.c | 456 - qdict.h | 67 - qemu-aio.h | 243 - qemu-barrier.h | 67 - qemu-bridge-helper.c | 20 +- qemu-char.c | 2184 +++-- qemu-char.h | 254 - qemu-common.h | 471 - qemu-config.c | 939 -- qemu-config.h | 29 - qemu-coroutine-int.h | 49 - qemu-coroutine-io.c | 29 +- qemu-coroutine-lock.c | 87 +- qemu-coroutine-sleep.c | 4 +- qemu-coroutine.c | 68 +- qemu-coroutine.h | 211 - qemu-doc.texi | 103 +- qemu-error.c | 215 - qemu-error.h | 41 - qemu-file.h | 241 - qemu-ga.c | 901 -- qemu-img-cmds.hx | 34 +- qemu-img.c | 873 ++- qemu-img.texi | 61 +- qemu-io-cmds.c | 2118 ++++ qemu-io.c | 1890 +---- qemu-lock.h | 49 - qemu-log.c | 57 +- qemu-log.h | 160 - qemu-nbd.c | 24 +- qemu-nbd.texi | 11 +- qemu-objects.h | 25 - qemu-option-internal.h | 53 - qemu-option.c | 1112 -- qemu-option.h | 156 - qemu-options.hx | 937 +- qemu-os-posix.h | 51 - qemu-os-win32.h | 99 - qemu-pixman.c | 80 - qemu-pixman.h | 39 - qemu-progress.c | 150 - qemu-queue.h | 414 - qemu-seccomp.c | 27 +- qemu-seccomp.h | 22 - qemu-sockets.c | 970 -- qemu-thread-posix.c | 326 - qemu-thread-posix.h | 28 - qemu-thread-win32.c | 371 - qemu-thread-win32.h | 29 - qemu-thread.h | 56 - qemu-timer-common.c | 63 - qemu-timer.c | 35 +- qemu-timer.h | 310 - qemu-tls.h | 52 - qemu-tool.c | 115 - qemu-user.c | 37 - qemu-x509.h | 9 - qemu-xattr.h | 30 - qemu.nsi | 250 + qemu.sasl | 2 +- qemu_socket.h | 77 - qerror.c | 156 - qerror.h | 252 - qfloat.c | 68 - qfloat.h | 29 - qga/Makefile.objs | 2 +- qga/channel-posix.c | 21 +- qga/channel-win32.c | 4 +- qga/commands-posix.c | 750 ++- qga/commands-win32.c | 75 +- qga/commands.c | 4 +- qga/guest-agent-core.h | 4 +- qga/main.c | 1195 +++ qga/qapi-schema.json | 640 ++ qga/service-win32.c | 118 +- qga/service-win32.h | 3 +- qint.c | 67 - qint.h | 28 - qjson.c | 294 - qjson.h | 29 - qlist.c | 170 - qlist.h | 65 - qmp-commands.hx | 539 +- qmp.c | 14 +- qobject.h | 112 - qobject/Makefile.objs | 3 + qobject/json-lexer.c | 373 + qobject/json-parser.c | 724 ++ qobject/json-streamer.c | 122 + qobject/qbool.c | 68 + qobject/qdict.c | 529 + qobject/qerror.c | 156 + qobject/qfloat.c | 68 + qobject/qint.c | 67 + qobject/qjson.c | 284 + qobject/qlist.c | 170 + qobject/qstring.c | 149 + qom/Makefile.objs | 6 +- qom/container.c | 6 +- qom/cpu.c | 234 +- qom/object.c | 165 +- qom/qom-qobject.c | 6 +- qstring.c | 141 - qstring.h | 35 - qtest.c | 118 +- qtest.h | 53 - range.h | 29 - readline.c | 27 +- readline.h | 55 - roms/Makefile | 49 + roms/SLOF | 2 +- roms/config.ipxe.general.h | 2 + roms/ipxe | 2 +- roms/openbios | 2 +- roms/qemu-palcode | 2 +- roms/seabios | 2 +- rules.mak | 51 +- s390-dis.c | 1796 ---- s390.ld | 201 - savevm.c | 896 +- scripts/cleanup-trace-events.pl | 51 + scripts/create_config | 26 +- scripts/feature_to_c.sh | 2 +- scripts/get_maintainer.pl | 25 +- scripts/kvm/vmxcap | 27 +- scripts/make_device_config.sh | 4 +- scripts/qapi-commands.py | 32 +- scripts/qapi-types.py | 120 +- scripts/qapi-visit.py | 222 +- scripts/qapi.py | 295 +- scripts/qemu-guest-agent/fsfreeze-hook | 33 + .../fsfreeze-hook.d/mysql-flush.sh.sample | 56 + scripts/tracetool.py | 22 +- scripts/tracetool/backend/__init__.py | 16 +- scripts/tracetool/backend/dtrace.py | 5 +- scripts/tracetool/backend/events.py | 23 + scripts/tracetool/backend/ftrace.py | 54 + scripts/tracetool/backend/simple.py | 22 +- scripts/tracetool/backend/stderr.py | 28 +- scripts/tracetool/backend/ust.py | 3 + scripts/tracetool/format/events_c.py | 39 + scripts/tracetool/format/events_h.py | 50 + scripts/tracetool/format/h.py | 13 +- scripts/update-linux-headers.sh | 3 + sh4-dis.c | 2077 ---- slirp/bootp.h | 4 + slirp/if.c | 2 +- slirp/ip_icmp.c | 2 +- slirp/ip_input.c | 2 +- slirp/libslirp.h | 6 +- slirp/main.h | 5 +- slirp/mbuf.h | 51 +- slirp/misc.c | 10 +- slirp/misc.h | 14 - slirp/sbuf.c | 2 +- slirp/slirp.c | 685 +- slirp/slirp.h | 5 +- slirp/socket.c | 14 +- slirp/socket.h | 2 + slirp/tcp_input.c | 26 +- slirp/tcp_subr.c | 157 +- slirp/tftp.h | 4 + slirp/udp.c | 2 +- softmmu-semi.h | 73 - softmmu_defs.h | 37 - softmmu_exec.h | 163 - softmmu_header.h | 213 - softmmu_template.h | 354 - sparc-dis.c | 3275 ------ sparc.ld | 150 - sparc64.ld | 138 - spice-qemu-char.c | 282 +- stubs/Makefile.objs | 20 + stubs/arch-query-cpu-def.c | 4 +- stubs/clock-warp.c | 7 + stubs/cpu-get-clock.c | 7 + stubs/cpu-get-icount.c | 9 + stubs/cpus.c | 10 + stubs/dump.c | 29 + stubs/fd-register.c | 2 +- stubs/fdset-add-fd.c | 2 +- stubs/fdset-find-fd.c | 2 +- stubs/fdset-get-fd.c | 2 +- stubs/fdset-remove-fd.c | 2 +- stubs/gdbstub.c | 5 + stubs/get-fd.c | 2 +- stubs/get-vm-name.c | 7 + stubs/iothread-lock.c | 10 + stubs/migr-blocker.c | 10 + stubs/mon-is-qmp.c | 7 + stubs/mon-print-filename.c | 6 + stubs/mon-printf.c | 10 + stubs/mon-protocol-event.c | 6 + stubs/mon-set-error.c | 8 + stubs/pci-drive-hot-add.c | 10 + stubs/reset.c | 13 + stubs/set-fd-handler.c | 2 +- stubs/slirp.c | 15 + stubs/sysbus.c | 6 + stubs/vm-stop.c | 7 + stubs/vmstate.c | 19 + sysemu.h | 188 - target-alpha/Makefile.objs | 1 + target-alpha/cpu-qom.h | 21 +- target-alpha/cpu.c | 253 +- target-alpha/cpu.h | 65 +- target-alpha/fpu_helper.c | 2 +- target-alpha/gdbstub.c | 93 + target-alpha/helper.c | 31 +- target-alpha/helper.h | 8 +- target-alpha/int_helper.c | 9 +- target-alpha/machine.c | 28 +- target-alpha/mem_helper.c | 28 +- target-alpha/sys_helper.c | 17 +- target-alpha/translate.c | 149 +- target-arm/Makefile.objs | 3 + target-arm/arm-semi.c | 19 +- target-arm/cpu-qom.h | 48 +- target-arm/cpu.c | 106 +- target-arm/cpu.h | 126 +- target-arm/gdbstub.c | 102 + target-arm/helper.c | 489 +- target-arm/helper.h | 9 +- target-arm/iwmmxt_helper.c | 2 +- target-arm/kvm-stub.c | 23 + target-arm/kvm.c | 649 ++ target-arm/kvm_arm.h | 65 + target-arm/machine.c | 454 +- target-arm/neon_helper.c | 2 +- target-arm/op_helper.c | 52 +- target-arm/translate.c | 1199 ++- target-cris/Makefile.objs | 1 + target-cris/cpu-qom.h | 22 +- target-cris/cpu.c | 214 +- target-cris/cpu.h | 33 +- target-cris/crisv32-decode.h | 4 + target-cris/gdbstub.c | 130 + target-cris/helper.c | 415 +- target-cris/helper.h | 4 +- target-cris/op_helper.c | 24 +- target-cris/translate.c | 155 +- target-cris/translate_v10.c | 5 +- target-i386/Makefile.objs | 1 + target-i386/arch_dump.c | 67 +- target-i386/arch_memory_mapping.c | 43 +- target-i386/cc_helper.c | 262 +- target-i386/cc_helper_template.h | 261 +- target-i386/cpu-qom.h | 50 +- target-i386/cpu.c | 1520 ++- target-i386/cpu.h | 188 +- target-i386/excp_helper.c | 6 +- target-i386/fpu_helper.c | 4 +- target-i386/gdbstub.c | 231 + target-i386/helper.c | 212 +- target-i386/helper.h | 19 +- target-i386/int_helper.c | 175 +- target-i386/ioport-user.c | 2 +- target-i386/kvm.c | 426 +- target-i386/kvm_i386.h | 2 +- target-i386/machine.c | 298 +- target-i386/mem_helper.c | 36 +- target-i386/misc_helper.c | 121 +- target-i386/ops_sse.h | 175 +- target-i386/ops_sse_header.h | 11 + target-i386/seg_helper.c | 218 +- target-i386/shift_helper_template.h | 12 +- target-i386/smm_helper.c | 74 +- target-i386/svm_helper.c | 73 +- target-i386/topology.h | 134 + target-i386/translate.c | 2873 +++--- target-lm32/Makefile.objs | 1 + target-lm32/cpu-qom.h | 18 +- target-lm32/cpu.c | 51 +- target-lm32/cpu.h | 43 +- target-lm32/gdbstub.c | 92 + target-lm32/helper.c | 30 +- target-lm32/helper.h | 4 +- target-lm32/machine.c | 25 +- target-lm32/op_helper.c | 46 +- target-lm32/translate.c | 70 +- target-m68k/Makefile.objs | 2 +- target-m68k/cpu-qom.h | 14 +- target-m68k/cpu.c | 81 +- target-m68k/cpu.h | 45 +- target-m68k/gdbstub.c | 75 + target-m68k/helper.c | 70 +- target-m68k/helpers.h | 4 +- target-m68k/m68k-semi.c | 11 +- target-m68k/op_helper.c | 32 +- target-m68k/qregs.def | 1 - target-m68k/translate.c | 54 +- target-microblaze/Makefile.objs | 3 +- target-microblaze/cpu-qom.h | 15 +- target-microblaze/cpu.c | 60 +- target-microblaze/cpu.h | 41 +- target-microblaze/gdbstub.c | 56 + target-microblaze/helper.c | 41 +- target-microblaze/helper.h | 4 +- target-microblaze/machine.c | 11 - target-microblaze/mmu.c | 2 +- target-microblaze/op_helper.c | 35 +- target-microblaze/translate.c | 82 +- target-mips/Makefile.objs | 1 + target-mips/cpu-qom.h | 14 +- target-mips/cpu.c | 60 + target-mips/cpu.h | 45 +- target-mips/dsp_helper.c | 913 +-- target-mips/gdbstub.c | 155 + target-mips/helper.c | 18 +- target-mips/helper.h | 19 +- target-mips/op_helper.c | 199 +- target-mips/translate.c | 1308 ++-- target-mips/translate_init.c | 7 +- target-moxie/Makefile.objs | 2 + target-moxie/cpu.c | 180 + target-moxie/cpu.h | 163 + target-moxie/helper.c | 173 + target-moxie/helper.h | 9 + target-moxie/machine.c | 18 + target-moxie/machine.h | 1 + target-moxie/mmu.c | 36 + target-moxie/mmu.h | 19 + target-moxie/translate.c | 929 ++ target-openrisc/Makefile.objs | 1 + target-openrisc/cpu.c | 97 +- target-openrisc/cpu.h | 46 +- target-openrisc/exception_helper.c | 2 +- target-openrisc/fpu_helper.c | 32 +- target-openrisc/gdbstub.c | 83 + target-openrisc/helper.h | 4 +- target-openrisc/int_helper.c | 4 +- target-openrisc/interrupt.c | 8 +- target-openrisc/interrupt_helper.c | 5 +- target-openrisc/machine.c | 27 +- target-openrisc/mmu.c | 13 +- target-openrisc/mmu_helper.c | 20 +- target-openrisc/sys_helper.c | 7 +- target-openrisc/translate.c | 49 +- target-ppc/Makefile.objs | 14 +- target-ppc/cpu-models.c | 1421 +++ target-ppc/cpu-models.h | 741 ++ target-ppc/cpu-qom.h | 43 +- target-ppc/cpu.h | 213 +- target-ppc/excp_helper.c | 76 +- target-ppc/fpu_helper.c | 76 +- target-ppc/gdbstub.c | 131 + target-ppc/helper.c | 50 - target-ppc/helper.h | 15 +- target-ppc/helper_regs.h | 11 +- target-ppc/int_helper.c | 73 +- target-ppc/kvm-stub.c | 18 + target-ppc/kvm.c | 846 ++- target-ppc/kvm_ppc.c | 4 +- target-ppc/kvm_ppc.h | 77 +- target-ppc/machine.c | 539 +- target-ppc/mem_helper.c | 69 +- target-ppc/misc_helper.c | 6 - target-ppc/mmu-hash32.c | 560 ++ target-ppc/mmu-hash32.h | 102 + target-ppc/mmu-hash64.c | 546 + target-ppc/mmu-hash64.h | 124 + target-ppc/mmu_helper.c | 940 +-- target-ppc/mpic_helper.c | 35 - target-ppc/translate.c | 1286 ++-- target-ppc/translate_init.c | 6276 ++++-------- target-ppc/user_only_helper.c | 44 + target-s390x/Makefile.objs | 3 +- target-s390x/arch_dump.c | 213 + target-s390x/cc_helper.c | 335 +- target-s390x/cpu-qom.h | 19 +- target-s390x/cpu.c | 124 +- target-s390x/cpu.h | 590 +- target-s390x/fpu_helper.c | 962 +- target-s390x/gdbstub.c | 88 + target-s390x/helper.c | 326 +- target-s390x/helper.h | 223 +- target-s390x/insn-data.def | 813 ++ target-s390x/insn-format.def | 55 + target-s390x/int_helper.c | 175 +- target-s390x/interrupt.c | 7 +- target-s390x/ioinst.c | 782 ++ target-s390x/ioinst.h | 233 + target-s390x/kvm.c | 567 +- target-s390x/machine.c | 30 - target-s390x/mem_helper.c | 378 +- target-s390x/misc_helper.c | 191 +- target-s390x/translate.c | 8723 ++++++++--------- target-sh4/Makefile.objs | 2 +- target-sh4/cpu-qom.h | 27 +- target-sh4/cpu.c | 239 +- target-sh4/cpu.h | 39 +- target-sh4/gdbstub.c | 146 + target-sh4/helper.c | 22 +- target-sh4/helper.h | 4 +- target-sh4/op_helper.c | 37 +- target-sh4/translate.c | 160 +- target-sparc/Makefile.objs | 1 + target-sparc/cpu-qom.h | 14 +- target-sparc/cpu.c | 205 +- target-sparc/cpu.h | 47 +- target-sparc/gdbstub.c | 208 + target-sparc/helper.c | 29 +- target-sparc/helper.h | 5 +- target-sparc/int32_helper.c | 8 +- target-sparc/int64_helper.c | 6 +- target-sparc/ldst_helper.c | 69 +- target-sparc/machine.c | 2 +- target-sparc/mmu_helper.c | 27 +- target-sparc/translate.c | 125 +- target-unicore32/Makefile.objs | 2 +- target-unicore32/cpu-qom.h | 13 +- target-unicore32/cpu.c | 75 +- target-unicore32/cpu.h | 33 +- target-unicore32/helper.c | 27 +- target-unicore32/helper.h | 4 +- target-unicore32/machine.c | 23 - target-unicore32/op_helper.c | 17 +- target-unicore32/softmmu.c | 13 +- target-unicore32/translate.c | 128 +- target-xtensa/Makefile.objs | 2 +- target-xtensa/core-dc232b.c | 6 +- target-xtensa/core-dc233c.c | 6 +- target-xtensa/core-fsf.c | 6 +- target-xtensa/cpu-qom.h | 17 +- target-xtensa/cpu.c | 75 +- target-xtensa/cpu.h | 31 +- target-xtensa/gdbstub.c | 109 + target-xtensa/helper.c | 149 +- target-xtensa/helper.h | 5 +- target-xtensa/machine.c | 38 - target-xtensa/op_helper.c | 95 +- target-xtensa/overlay_tool.h | 12 +- target-xtensa/translate.c | 526 +- target-xtensa/xtensa-semi.c | 16 +- tcg-runtime.c | 16 +- tcg/README | 44 +- tcg/aarch64/tcg-target.c | 1554 +++ tcg/aarch64/tcg-target.h | 101 + tcg/arm/tcg-target.c | 1589 ++-- tcg/arm/tcg-target.h | 19 +- tcg/hppa/tcg-target.c | 39 +- tcg/hppa/tcg-target.h | 5 + tcg/i386/tcg-target.c | 131 +- tcg/i386/tcg-target.h | 16 +- tcg/ia64/tcg-target.c | 2 +- tcg/ia64/tcg-target.h | 13 + tcg/mips/tcg-target.c | 18 +- tcg/mips/tcg-target.h | 5 + tcg/optimize.c | 217 +- tcg/ppc/tcg-target.c | 16 +- tcg/ppc/tcg-target.h | 7 +- tcg/ppc64/tcg-target.c | 1379 ++- tcg/ppc64/tcg-target.h | 67 +- tcg/s390/tcg-target.c | 552 +- tcg/s390/tcg-target.h | 27 +- tcg/sparc/tcg-target.c | 45 +- tcg/sparc/tcg-target.h | 13 + tcg/tcg-op.h | 264 +- tcg/tcg-opc.h | 48 +- tcg/tcg-runtime.h | 2 + tcg/tcg.c | 73 +- tcg/tcg.h | 89 +- tcg/tci/README | 2 +- tcg/tci/tcg-target.c | 27 +- tcg/tci/tcg-target.h | 23 +- tci-dis.c | 59 - tci.c | 59 +- tests/.gitignore | 8 + tests/Makefile | 186 +- tests/boot-order-test.c | 209 + tests/check-qdict.c | 6 +- tests/check-qfloat.c | 2 +- tests/check-qint.c | 2 +- tests/check-qjson.c | 738 ++- tests/check-qlist.c | 4 +- tests/check-qstring.c | 2 +- tests/endianness-test.c | 316 + tests/fdc-test.c | 2 +- tests/fw_cfg-test.c | 141 + tests/hd-geo-test.c | 8 +- tests/i440fx-test.c | 285 + tests/ide-test.c | 506 + tests/libqos/fw_cfg.c | 107 + tests/libqos/fw_cfg.h | 43 + tests/libqos/i2c-omap.c | 173 + tests/libqos/i2c.c | 22 + tests/libqos/i2c.h | 30 + tests/libqos/malloc-pc.c | 71 + tests/libqos/malloc-pc.h | 20 + tests/libqos/malloc.h | 38 + tests/libqos/pci-pc.c | 239 + tests/libqos/pci-pc.h | 20 + tests/libqos/pci.c | 151 + tests/libqos/pci.h | 80 + tests/libqtest.c | 98 +- tests/libqtest.h | 382 +- tests/m48t59-test.c | 14 +- tests/qapi-schema/comments.exit | 1 + tests/qapi-schema/comments.json | 4 + tests/qapi-schema/comments.out | 3 + tests/qapi-schema/empty.exit | 1 + tests/qapi-schema/empty.out | 3 + tests/qapi-schema/funny-char.err | 1 + tests/qapi-schema/funny-char.exit | 1 + tests/qapi-schema/funny-char.json | 2 + tests/qapi-schema/indented-expr.exit | 1 + tests/qapi-schema/indented-expr.json | 2 + tests/qapi-schema/indented-expr.out | 3 + tests/qapi-schema/missing-colon.err | 1 + tests/qapi-schema/missing-colon.exit | 1 + tests/qapi-schema/missing-colon.json | 2 + tests/qapi-schema/missing-comma-list.err | 1 + tests/qapi-schema/missing-comma-list.exit | 1 + tests/qapi-schema/missing-comma-list.json | 2 + tests/qapi-schema/missing-comma-object.err | 1 + tests/qapi-schema/missing-comma-object.exit | 1 + tests/qapi-schema/missing-comma-object.json | 2 + tests/qapi-schema/non-objects.err | 1 + tests/qapi-schema/non-objects.exit | 1 + tests/qapi-schema/non-objects.json | 2 + tests/qapi-schema/qapi-schema-test.exit | 1 + tests/qapi-schema/qapi-schema-test.json | 53 + tests/qapi-schema/qapi-schema-test.out | 19 + tests/qapi-schema/quoted-structural-chars.err | 1 + tests/qapi-schema/quoted-structural-chars.exit | 1 + tests/qapi-schema/quoted-structural-chars.json | 1 + tests/qapi-schema/test-qapi.py | 27 + tests/qapi-schema/trailing-comma-list.err | 1 + tests/qapi-schema/trailing-comma-list.exit | 1 + tests/qapi-schema/trailing-comma-list.json | 2 + tests/qapi-schema/trailing-comma-object.err | 1 + tests/qapi-schema/trailing-comma-object.exit | 1 + tests/qapi-schema/trailing-comma-object.json | 2 + tests/qapi-schema/unclosed-list.err | 1 + tests/qapi-schema/unclosed-list.exit | 1 + tests/qapi-schema/unclosed-list.json | 1 + tests/qapi-schema/unclosed-object.err | 1 + tests/qapi-schema/unclosed-object.exit | 1 + tests/qapi-schema/unclosed-object.json | 1 + tests/qapi-schema/unclosed-string.err | 1 + tests/qapi-schema/unclosed-string.exit | 1 + tests/qapi-schema/unclosed-string.json | 2 + tests/qemu-iotests/002 | 13 + tests/qemu-iotests/002.out | 26 + tests/qemu-iotests/007 | 7 +- tests/qemu-iotests/017 | 4 +- tests/qemu-iotests/017.out | 2 +- tests/qemu-iotests/018 | 4 +- tests/qemu-iotests/018.out | 2 +- tests/qemu-iotests/026 | 6 +- tests/qemu-iotests/030 | 99 +- tests/qemu-iotests/036 | 3 +- tests/qemu-iotests/038.out | 10 +- tests/qemu-iotests/039 | 2 +- tests/qemu-iotests/041 | 298 +- tests/qemu-iotests/041.out | 4 +- tests/qemu-iotests/042 | 2 +- tests/qemu-iotests/043 | 2 +- tests/qemu-iotests/044.out | 2 + tests/qemu-iotests/045 | 129 + tests/qemu-iotests/045.out | 5 + tests/qemu-iotests/046 | 262 + tests/qemu-iotests/046.out | 239 + tests/qemu-iotests/047 | 75 + tests/qemu-iotests/047.out | 22 + tests/qemu-iotests/048 | 78 + tests/qemu-iotests/048.out | 31 + tests/qemu-iotests/049 | 123 + tests/qemu-iotests/049.out | 212 + tests/qemu-iotests/050 | 75 + tests/qemu-iotests/050.out | 17 + tests/qemu-iotests/051 | 167 + tests/qemu-iotests/051.out | 229 + tests/qemu-iotests/052 | 61 + tests/qemu-iotests/052.out | 13 + tests/qemu-iotests/053 | 73 + tests/qemu-iotests/053.out | 17 + tests/qemu-iotests/054 | 58 + tests/qemu-iotests/054.out | 10 + tests/qemu-iotests/055 | 294 + tests/qemu-iotests/055.out | 5 + tests/qemu-iotests/056 | 94 + tests/qemu-iotests/056.out | 5 + tests/qemu-iotests/059 | 72 + tests/qemu-iotests/059.out | 20 + tests/qemu-iotests/check | 3 +- tests/qemu-iotests/common | 5 + tests/qemu-iotests/common.filter | 7 + tests/qemu-iotests/common.rc | 19 +- tests/qemu-iotests/group | 13 + tests/qemu-iotests/iotests.py | 72 +- tests/qemu-iotests/qcow2.py | 17 + tests/rtc-test.c | 250 +- tests/tcg/cris/crisutils.h | 5 + tests/tcg/linux-test.c | 1 - tests/tcg/lm32/test_cmpgei.S | 15 + tests/tcg/lm32/test_cmpgeui.S | 15 + tests/tcg/lm32/test_cmpgi.S | 15 + tests/tcg/lm32/test_cmpgui.S | 17 +- tests/tcg/mips/mips32-dsp/dpaq_sa_l_w.c | 64 +- tests/tcg/mips/mips32-dsp/dpsq_s_w_ph.c | 10 +- tests/tcg/mips/mips32-dsp/dpsq_sa_l_w.c | 4 +- tests/tcg/mips/mips32-dsp/extp.c | 18 + tests/tcg/mips/mips32-dsp/extpdp.c | 18 + tests/tcg/mips/mips32-dsp/extr_r_w.c | 46 + tests/tcg/mips/mips32-dsp/extr_rs_w.c | 69 + tests/tcg/mips/mips32-dsp/extr_s_h.c | 23 + tests/tcg/mips/mips32-dsp/extr_w.c | 46 + tests/tcg/mips/mips32-dsp/extrv_r_w.c | 25 + tests/tcg/mips/mips32-dsp/extrv_rs_w.c | 25 + tests/tcg/mips/mips32-dsp/extrv_s_h.c | 17 + tests/tcg/mips/mips32-dsp/extrv_w.c | 26 + tests/tcg/mips/mips32-dsp/insv.c | 13 + tests/tcg/mips/mips32-dsp/maq_s_w_phl.c | 16 +- tests/tcg/mips/mips32-dsp/maq_s_w_phr.c | 24 +- tests/tcg/mips/mips32-dsp/maq_sa_w_phl.c | 12 +- tests/tcg/mips/mips32-dsp/maq_sa_w_phr.c | 24 +- tests/tcg/mips/mips32-dsp/mthlip.c | 2 +- tests/tcg/mips/mips32-dsp/mulq_rs_ph.c | 19 +- tests/tcg/mips/mips32-dsp/precrq_rs_ph_w.c | 24 +- tests/tcg/mips/mips32-dsp/rddsp.c | 32 +- tests/tcg/mips/mips32-dsp/shll_ph.c | 33 +- tests/tcg/mips/mips32-dsp/shll_qb.c | 23 +- tests/tcg/mips/mips32-dsp/subq_s_ph.c | 22 +- tests/tcg/mips/mips32-dsp/subq_s_w.c | 36 +- tests/tcg/mips/mips32-dsp/wrdsp.c | 32 +- tests/tcg/mips/mips32-dspr2/dpa_w_ph.c | 4 +- tests/tcg/mips/mips32-dspr2/dpaqx_sa_w_ph.c | 12 +- tests/tcg/mips/mips32-dspr2/dpax_w_ph.c | 17 + tests/tcg/mips/mips32-dspr2/dps_w_ph.c | 17 + tests/tcg/mips/mips32-dspr2/dpsqx_s_w_ph.c | 8 +- tests/tcg/mips/mips32-dspr2/dpsx_w_ph.c | 4 +- tests/tcg/mips/mips32-dspr2/mulq_rs_w.c | 2 +- tests/tcg/mips/mips32-dspr2/mulq_s_ph.c | 15 + tests/tcg/mips/mips32-dspr2/mulq_s_w.c | 2 +- tests/tcg/test-i386-fprem.c | 4 +- tests/tcg/test-i386.c | 12 +- tests/tcg/xtensa/Makefile | 23 +- tests/tcg/xtensa/macros.inc | 2 +- tests/tcg/xtensa/test_extui.S | 26 + tests/tcg/xtensa/test_s32c1i.S | 39 + tests/tcg/xtensa/test_sr.S | 90 + tests/test-aio.c | 33 +- tests/test-bitops.c | 75 + tests/test-coroutine.c | 4 +- tests/test-cutils.c | 251 + tests/test-hbitmap.c | 401 + tests/test-int128.c | 212 + tests/test-iov.c | 154 +- tests/test-mul64.c | 70 + tests/test-qmp-commands.c | 7 +- tests/test-qmp-input-strict.c | 3 +- tests/test-qmp-input-visitor.c | 361 +- tests/test-qmp-output-visitor.c | 340 +- tests/test-string-input-visitor.c | 52 +- tests/test-string-output-visitor.c | 3 +- tests/test-thread-pool.c | 70 +- tests/test-visitor-serialization.c | 503 +- tests/test-x86-cpuid.c | 110 + tests/test-xbzrle.c | 196 + tests/tmp105-test.c | 76 + thread-pool.c | 257 +- thread-pool.h | 34 - thunk.c | 2 +- thunk.h | 189 - tpm.c | 358 + trace-events | 348 +- trace/Makefile.objs | 81 + trace/control-internal.h | 67 + trace/control.c | 106 +- trace/control.h | 190 +- trace/default.c | 5 +- trace/event-internal.h | 33 + trace/ftrace.c | 102 + trace/ftrace.h | 10 + trace/simple.c | 96 +- trace/simple.h | 6 +- trace/stderr.c | 34 +- trace/stderr.h | 11 - translate-all.c | 1697 ++++- translate-all.h | 34 + uboot_image.h | 158 - ui/Makefile.objs | 10 +- ui/cocoa.m | 109 +- ui/console.c | 2020 ++++ ui/curses.c | 49 +- ui/curses_keys.h | 5 + ui/cursor.c | 211 + ui/cursor_hidden.xpm | 37 + ui/cursor_left_ptr.xpm | 39 + ui/d3des.h | 4 + ui/gtk.c | 1533 +++ ui/input.c | 559 ++ ui/keymaps.c | 18 +- ui/qemu-pixman.c | 135 + ui/qemu-spice.h | 80 - ui/qemu-x509.h | 9 + ui/sdl.c | 176 +- ui/sdl_zoom.c | 11 +- ui/sdl_zoom_template.h | 16 +- ui/spice-core.c | 145 +- ui/spice-display.c | 98 +- ui/spice-display.h | 134 - ui/spice-input.c | 4 +- ui/vgafont.h | 4611 +++++++++ ui/vnc-auth-sasl.h | 2 +- ui/vnc-enc-tight.c | 11 +- ui/vnc-jobs.c | 3 +- ui/vnc-palette.c | 2 + ui/vnc-palette.h | 4 +- ui/vnc-tls.c | 69 +- ui/vnc-tls.h | 2 +- ui/vnc-ws.c | 348 + ui/vnc-ws.h | 89 + ui/vnc.c | 589 +- ui/vnc.h | 43 +- ui/vnc_keysym.h | 4 + uri.c | 2249 ----- uri.h | 113 - user-exec.c | 48 +- util/Makefile.objs | 13 + util/acl.c | 187 + util/aes.c | 1309 +++ util/bitmap.c | 256 + util/bitops.c | 158 + util/cache-utils.c | 97 + util/compatfd.c | 138 + util/crc32c.c | 115 + util/cutils.c | 532 + util/envlist.c | 241 + util/error.c | 120 + util/event_notifier-posix.c | 121 + util/event_notifier-win32.c | 59 + util/fifo8.c | 79 + util/hbitmap.c | 402 + util/hexdump.c | 37 + util/host-utils.c | 89 + util/iov.c | 432 + util/module.c | 81 + util/notify.c | 71 + util/osdep.c | 474 + util/oslib-posix.c | 243 + util/oslib-win32.c | 184 + util/path.c | 179 + util/qemu-config.c | 283 + util/qemu-error.c | 225 + util/qemu-openpty.c | 135 + util/qemu-option.c | 1149 +++ util/qemu-progress.c | 150 + util/qemu-sockets.c | 970 ++ util/qemu-thread-posix.c | 331 + util/qemu-thread-win32.c | 359 + util/qemu-timer-common.c | 61 + util/unicode.c | 100 + util/uri.c | 2249 +++++ vgafont.h | 4611 --------- vl.c | 1187 ++- vmstate.h | 639 -- x86_64.ld | 180 - xbzrle.c | 173 + xen-all.c | 62 +- xen-mapcache.c | 8 +- xen-mapcache.h | 56 - xen-stub.c | 9 +- 2838 files changed, 502314 insertions(+), 410765 deletions(-) diff --git a/.gitignore b/.gitignore index bd6ba1c..0fe114d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,15 @@ config-devices.* config-all-devices.* +config-all-disas.* config-host.* config-target.* -trace.h -trace.c -trace-dtrace.h -trace-dtrace.dtrace +trace/generated-tracers.h +trace/generated-tracers.c +trace/generated-tracers-dtrace.h +trace/generated-tracers.dtrace +trace/generated-events.h +trace/generated-events.c +libcacard/trace/generated-tracers.c *-timestamp *-softmmu *-darwin-user @@ -47,6 +51,7 @@ test-qmp-output-visitor test-string-input-visitor test-string-output-visitor test-visitor-serialization +fsdev/virtfs-proxy-helper fsdev/virtfs-proxy-helper.1 fsdev/virtfs-proxy-helper.pod .gdbinit @@ -68,6 +73,7 @@ fsdev/virtfs-proxy-helper.pod *.tp *.vr *.d +!scripts/qemu-guest-agent/fsfreeze-hook.d *.o *.lo *.la @@ -76,18 +82,25 @@ fsdev/virtfs-proxy-helper.pod *.swp *.orig .pc +*.gcda +*.gcno patches pc-bios/bios-pq/status pc-bios/vgabios-pq/status +pc-bios/optionrom/linuxboot.asm pc-bios/optionrom/linuxboot.bin pc-bios/optionrom/linuxboot.raw pc-bios/optionrom/linuxboot.img +pc-bios/optionrom/multiboot.asm pc-bios/optionrom/multiboot.bin pc-bios/optionrom/multiboot.raw pc-bios/optionrom/multiboot.img +pc-bios/optionrom/kvmvapic.asm pc-bios/optionrom/kvmvapic.bin pc-bios/optionrom/kvmvapic.raw pc-bios/optionrom/kvmvapic.img +pc-bios/s390-ccw/s390-ccw.elf +pc-bios/s390-ccw/s390-ccw.img .stgit-* cscope.* tags diff --git a/.gitmodules b/.gitmodules index cfa2af9..d7e3f3c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -15,10 +15,13 @@ url = git://git.qemu.org/openbios.git [submodule "roms/qemu-palcode"] path = roms/qemu-palcode - url = git://repo.or.cz/qemu-palcode.git + url = git://github.com/rth7680/qemu-palcode.git [submodule "roms/sgabios"] path = roms/sgabios url = git://git.qemu.org/sgabios.git [submodule "pixman"] path = pixman url = git://anongit.freedesktop.org/pixman +[submodule "dtc"] + path = dtc + url = git://git.qemu.org/dtc.git diff --git a/HACKING b/HACKING index 89a6b3a..12fbc8a 100644 --- a/HACKING +++ b/HACKING @@ -40,8 +40,23 @@ speaking, the size of guest memory can always fit into ram_addr_t but it would not be correct to store an actual guest physical address in a ram_addr_t. -Use target_ulong (or abi_ulong) for CPU virtual addresses, however -devices should not need to use target_ulong. +For CPU virtual addresses there are several possible types. +vaddr is the best type to use to hold a CPU virtual address in +target-independent code. It is guaranteed to be large enough to hold a +virtual address for any target, and it does not change size from target +to target. It is always unsigned. +target_ulong is a type the size of a virtual address on the CPU; this means +it may be 32 or 64 bits depending on which target is being built. It should +therefore be used only in target-specific code, and in some +performance-critical built-per-target core code such as the TLB code. +There is also a signed version, target_long. +abi_ulong is for the *-user targets, and represents a type the size of +'void *' in that target's ABI. (This may not be the same as the size of a +full CPU virtual address in the case of target ABIs which use 32 bit pointers +on 64 bit CPUs, like sparc32plus.) Definitions of structures that must match +the target's ABI must use this type for anything that on the target is defined +to be an 'unsigned long' or a pointer type. +There is also a signed version, abi_long. Of course, take all of the above with a grain of salt. If you're about to use some system interface that requires a type like size_t, pid_t or @@ -78,16 +93,15 @@ avoided. Use of the malloc/free/realloc/calloc/valloc/memalign/posix_memalign APIs is not allowed in the QEMU codebase. Instead of these routines, use the GLib memory allocation routines g_malloc/g_malloc0/g_new/ -g_new0/g_realloc/g_free or QEMU's qemu_vmalloc/qemu_memalign/qemu_vfree +g_new0/g_realloc/g_free or QEMU's qemu_memalign/qemu_blockalign/qemu_vfree APIs. Please note that g_malloc will exit on allocation failure, so there is no need to test for failure (as you would have to with malloc). Calling g_malloc with a zero size is valid and will return NULL. -Memory allocated by qemu_vmalloc or qemu_memalign must be freed with -qemu_vfree, since breaking this will cause problems on Win32 and user -emulators. +Memory allocated by qemu_memalign or qemu_blockalign must be freed with +qemu_vfree, since breaking this will cause problems on Win32. 4. String manipulation @@ -123,3 +137,23 @@ gcc's printf attribute directive in the prototype. This makes it so gcc's -Wformat and -Wformat-security options can do their jobs and cross-check format strings with the number and types of arguments. + +6. C standard, implementation defined and undefined behaviors + +C code in QEMU should be written to the C99 language specification. A copy _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |