├── VERSION ├── tests ├── qapi-schema │ ├── empty.err │ ├── empty.json │ ├── args-any.out │ ├── args-int.out │ ├── args-union.out │ ├── bad-base.out │ ├── bad-data.out │ ├── bad-ident.out │ ├── command-int.out │ ├── comments.err │ ├── double-data.out │ ├── double-type.out │ ├── event-case.err │ ├── event-max.out │ ├── funny-char.out │ ├── non-objects.out │ ├── unicode-str.out │ ├── union-empty.err │ ├── union-max.out │ ├── alternate-array.out │ ├── alternate-base.out │ ├── alternate-clash.out │ ├── alternate-empty.err │ ├── alternate-nested.out │ ├── args-alternate.out │ ├── args-any.exit │ ├── args-array-empty.out │ ├── args-int.exit │ ├── args-invalid.out │ ├── args-name-clash.err │ ├── args-unknown.out │ ├── bad-base.exit │ ├── bad-data.exit │ ├── bad-ident.exit │ ├── bad-type-bool.out │ ├── bad-type-dict.out │ ├── bad-type-int.out │ ├── comments.exit │ ├── duplicate-key.out │ ├── empty.exit │ ├── enum-bad-name.out │ ├── enum-bad-prefix.out │ ├── enum-dict-member.out │ ├── enum-int-member.out │ ├── enum-max-member.out │ ├── enum-wrong-data.out │ ├── escape-too-big.out │ ├── escape-too-short.out │ ├── event-max.exit │ ├── flat-union-empty.err │ ├── include-cycle.out │ ├── include-no-file.out │ ├── include-non-file.out │ ├── include-relpath.err │ ├── include-simple.err │ ├── indented-expr.err │ ├── missing-colon.out │ ├── missing-type.out │ ├── qapi-schema-test.err │ ├── redefined-event.out │ ├── redefined-type.out │ ├── returns-dict.out │ ├── returns-unknown.out │ ├── unclosed-list.out │ ├── unclosed-object.out │ ├── unclosed-string.out │ ├── union-bad-branch.out │ ├── union-clash-data.err │ ├── union-clash-type.out │ ├── union-max.exit │ ├── union-unknown.out │ ├── unknown-escape.out │ ├── unknown-expr-key.out │ ├── alternate-base.exit │ ├── alternate-unknown.out │ ├── args-alternate.exit │ ├── args-array-unknown.out │ ├── args-invalid.exit │ ├── args-member-array-bad.out │ ├── args-member-unknown.out │ ├── args-union.exit │ ├── args-unknown.exit │ ├── bad-type-bool.exit │ ├── bad-type-dict.exit │ ├── bad-type-int.exit │ ├── command-int.exit │ ├── double-data.exit │ ├── double-type.exit │ ├── duplicate-key.exit │ ├── enum-bad-name.exit │ ├── enum-clash-member.out │ ├── enum-missing-data.out │ ├── escape-outside-string.out │ ├── escape-too-big.exit │ ├── event-case.exit │ ├── event-nest-struct.out │ ├── flat-union-bad-base.out │ ├── flat-union-base-any.out │ ├── flat-union-base-union.out │ ├── flat-union-clash-type.out │ ├── flat-union-inline.out │ ├── flat-union-int-branch.out │ ├── flat-union-no-base.out │ ├── funny-char.exit │ ├── ident-with-escape.err │ ├── include-before-err.out │ ├── include-cycle.exit │ ├── include-format-err.out │ ├── include-nested-err.out │ ├── include-repetition.err │ ├── include-self-cycle.out │ ├── include-simple.exit │ ├── indented-expr.exit │ ├── leading-comma-list.out │ ├── leading-comma-object.out │ ├── missing-colon.exit │ ├── missing-comma-list.out │ ├── missing-comma-object.out │ ├── missing-type.exit │ ├── nested-struct-data.out │ ├── non-objects.exit │ ├── redefined-builtin.out │ ├── redefined-command.out │ ├── redefined-type.exit │ ├── reserved-command-q.out │ ├── reserved-member-has.out │ ├── reserved-member-q.out │ ├── reserved-member-u.out │ ├── reserved-type-kind.out │ ├── reserved-type-list.out │ ├── returns-alternate.out │ ├── returns-array-bad.out │ ├── returns-dict.exit │ ├── returns-whitelist.out │ ├── struct-base-clash.out │ ├── struct-data-invalid.out │ ├── struct-member-invalid.out │ ├── trailing-comma-list.out │ ├── trailing-comma-object.out │ ├── type-bypass-bad-gen.out │ ├── unclosed-list.exit │ ├── unicode-str.exit │ ├── union-clash-branches.out │ ├── union-empty.exit │ ├── union-invalid-base.out │ ├── union-optional-branch.out │ ├── union-unknown.exit │ ├── unknown-escape.exit │ ├── alternate-array.exit │ ├── alternate-clash.exit │ ├── alternate-conflict-dict.out │ ├── alternate-conflict-string.out │ ├── alternate-empty.exit │ ├── alternate-nested.exit │ ├── alternate-unknown.exit │ ├── args-array-empty.exit │ ├── args-array-unknown.exit │ ├── args-member-unknown.exit │ ├── args-name-clash.exit │ ├── empty.out │ ├── enum-bad-prefix.exit │ ├── enum-clash-member.exit │ ├── enum-dict-member.exit │ ├── enum-int-member.exit │ ├── enum-max-member.exit │ ├── enum-missing-data.exit │ ├── enum-wrong-data.exit │ ├── escape-too-short.exit │ ├── event-nest-struct.exit │ ├── flat-union-array-branch.out │ ├── flat-union-bad-base.exit │ ├── flat-union-base-any.exit │ ├── flat-union-clash-branch.err │ ├── flat-union-clash-member.out │ ├── flat-union-empty.exit │ ├── flat-union-inline.exit │ ├── flat-union-no-base.exit │ ├── ident-with-escape.exit │ ├── include-before-err.exit │ ├── include-format-err.exit │ ├── include-nested-err.exit │ ├── include-no-file.exit │ ├── include-non-file.exit │ ├── include-relpath.exit │ ├── include-repetition.exit │ ├── include-self-cycle.exit │ ├── leading-comma-list.exit │ ├── missing-comma-list.exit │ ├── nested-struct-data.exit │ ├── qapi-schema-test.exit │ ├── quoted-structural-chars.out │ ├── redefined-builtin.exit │ ├── redefined-command.exit │ ├── redefined-event.exit │ ├── reserved-command-q.exit │ ├── reserved-member-has.exit │ ├── reserved-member-q.exit │ ├── reserved-member-u.exit │ ├── reserved-type-kind.exit │ ├── reserved-type-list.exit │ ├── returns-alternate.exit │ ├── returns-array-bad.exit │ ├── returns-unknown.exit │ ├── returns-whitelist.exit │ ├── struct-base-clash-deep.out │ ├── struct-base-clash.exit │ ├── struct-data-invalid.exit │ ├── trailing-comma-list.exit │ ├── type-bypass-bad-gen.exit │ ├── unclosed-object.exit │ ├── unclosed-string.exit │ ├── union-bad-branch.exit │ ├── union-clash-data.exit │ ├── union-clash-type.exit │ ├── union-invalid-base.exit │ ├── unknown-expr-key.exit │ ├── alternate-conflict-dict.exit │ ├── args-member-array-bad.exit │ ├── escape-outside-string.exit │ ├── flat-union-array-branch.exit │ ├── flat-union-bad-discriminator.out │ ├── flat-union-base-union.exit │ ├── flat-union-clash-branch.exit │ ├── flat-union-clash-member.exit │ ├── flat-union-clash-type.exit │ ├── flat-union-int-branch.exit │ ├── flat-union-invalid-branch-key.out │ ├── flat-union-string-discriminator.out │ ├── leading-comma-object.exit │ ├── missing-comma-object.exit │ ├── quoted-structural-chars.exit │ ├── struct-base-clash-deep.exit │ ├── struct-member-invalid.exit │ ├── trailing-comma-object.exit │ ├── union-base-no-discriminator.out │ ├── union-clash-branches.exit │ ├── union-optional-branch.exit │ ├── alternate-conflict-string.exit │ ├── flat-union-bad-discriminator.exit │ ├── flat-union-invalid-branch-key.exit │ ├── flat-union-invalid-discriminator.out │ ├── flat-union-optional-discriminator.out │ ├── non-objects.json │ ├── union-base-no-discriminator.exit │ ├── flat-union-invalid-discriminator.exit │ ├── flat-union-optional-discriminator.exit │ ├── flat-union-string-discriminator.exit │ ├── include-non-file.json │ ├── unclosed-list.json │ ├── unclosed-object.json │ ├── event-case.out │ ├── unclosed-string.json │ ├── include-cycle-c.json │ ├── include-cycle.json │ ├── args-invalid.json │ ├── include-cycle-b.json │ ├── include-nested-err.json │ ├── include-relpath.json │ ├── include-simple.json │ ├── comments.out │ ├── funny-char.err │ ├── include-no-file.json │ ├── include-self-cycle.json │ ├── include │ │ └── relpath.json │ ├── struct-data-invalid.json │ ├── bad-type-int.err │ ├── indented-expr.json │ ├── non-objects.err │ ├── union-empty.out │ ├── enum-int-member.err │ ├── include-relpath.out │ ├── include-repetition.out │ ├── include-simple.out │ ├── missing-colon.err │ ├── struct-member-invalid.json │ ├── double-data.err │ ├── duplicate-key.err │ ├── funny-char.json │ ├── missing-colon.json │ ├── quoted-structural-chars.json │ ├── unclosed-list.err │ ├── unknown-escape.err │ ├── escape-outside-string.err │ ├── event-max.err │ ├── include-before-err.err │ ├── include-format-err.json │ ├── include-relpath-sub.json │ ├── include-simple-sub.json │ ├── missing-comma-list.json │ ├── missing-comma-object.json │ ├── missing-type.err │ ├── missing-type.json │ ├── unclosed-object.err │ ├── unicode-str.err │ ├── unicode-str.json │ ├── args-any.json │ ├── command-int.err │ ├── double-type.err │ ├── leading-comma-list.json │ ├── leading-comma-object.json │ ├── missing-comma-list.err │ ├── redefined-type.err │ ├── trailing-comma-list.json │ ├── trailing-comma-object.json │ ├── unclosed-string.err │ ├── union-empty.json │ ├── alternate-empty.out │ ├── bad-data.err │ ├── bad-ident.err │ ├── bad-type-bool.err │ ├── bad-type-dict.err │ ├── escape-too-short.err │ ├── event-max.json │ ├── include-format-err.err │ ├── include-repetition-sub.json │ ├── leading-comma-object.err │ ├── missing-comma-object.err │ ├── quoted-structural-chars.err │ ├── redefined-event.err │ ├── trailing-comma-object.err │ ├── alternate-base.err │ ├── enum-missing-data.json │ ├── include-before-err.json │ ├── include-non-file.err │ ├── redefined-builtin.err │ ├── redefined-command.err │ ├── trailing-comma-list.err │ ├── unknown-expr-key.err │ ├── args-any.err │ ├── args-int.err │ ├── args-union.err │ ├── bad-base.err │ ├── bad-data.json │ ├── bad-type-dict.json │ ├── enum-bad-prefix.err │ ├── enum-missing-data.err │ ├── enum-wrong-data.err │ ├── reserved-command-q.err │ ├── returns-dict.err │ ├── union-max.err │ ├── alternate-clash.err │ ├── bad-ident.json │ ├── enum-bad-name.json │ ├── enum-clash-member.err │ ├── enum-dict-member.err │ ├── escape-too-short.json │ ├── flat-union-no-base.err │ ├── include-self-cycle.err │ ├── reserved-type-kind.err │ ├── reserved-type-list.err │ ├── returns-dict.json │ ├── struct-base-clash.err │ ├── union-bad-branch.err │ ├── alternate-array.err │ ├── args-invalid.err │ ├── args-unknown.err │ ├── enum-bad-name.err │ ├── enum-max-member.err │ ├── include-no-file.err │ ├── type-bypass-bad-gen.json │ ├── args-alternate.err │ ├── args-int.json │ ├── args-unknown.json │ ├── bad-type-bool.json │ ├── double-type.json │ ├── enum-bad-prefix.json │ ├── escape-too-big.json │ ├── flat-union-bad-base.err │ ├── leading-comma-list.err │ ├── returns-unknown.err │ ├── struct-base-clash-deep.err │ ├── type-bypass-bad-gen.err │ ├── union-clash-branches.err │ ├── command-int.json │ ├── duplicate-key.json │ ├── escape-too-big.err │ ├── event-nest-struct.json │ ├── flat-union-inline.err │ ├── redefined-builtin.json │ ├── reserved-member-q.err │ ├── reserved-member-u.err │ ├── returns-alternate.err │ ├── union-clash-type.err │ ├── union-optional-branch.json │ ├── union-unknown.err │ ├── enum-dict-member.json │ ├── enum-wrong-data.json │ ├── event-nest-struct.err │ ├── flat-union-base-any.err │ ├── nested-struct-data.err │ ├── returns-array-bad.json │ ├── returns-unknown.json │ ├── struct-data-invalid.err │ ├── union-invalid-base.err │ ├── union-optional-branch.err │ ├── alternate-empty.json │ ├── alternate-nested.err │ ├── alternate-unknown.err │ ├── flat-union-array-branch.err │ ├── reserved-member-has.err │ ├── reserved-type-kind.json │ ├── returns-array-bad.err │ ├── struct-member-invalid.err │ ├── union-base-no-discriminator.err │ ├── union-max.json │ ├── union-unknown.json │ ├── args-array-empty.json │ ├── args-member-unknown.json │ ├── double-data.json │ ├── enum-clash-member.json │ ├── flat-union-base-union.err │ ├── flat-union-clash-member.err │ ├── flat-union-clash-type.err │ ├── flat-union-int-branch.err │ ├── include-repetition.json │ ├── unknown-expr-key.json │ ├── args-array-unknown.err │ ├── args-member-unknown.err │ ├── flat-union-string-discriminator.err │ ├── alternate-conflict-dict.err │ ├── alternate-conflict-string.err │ ├── args-array-empty.err │ ├── flat-union-bad-discriminator.err │ ├── include-nested-err.err │ ├── redefined-type.json │ ├── args-array-unknown.json │ ├── flat-union-invalid-branch-key.err │ ├── returns-whitelist.err │ ├── alternate-unknown.json │ ├── args-member-array-bad.err │ ├── args-member-array-bad.json │ ├── escape-outside-string.json │ ├── redefined-event.json │ ├── flat-union-empty.out │ ├── flat-union-invalid-discriminator.err │ ├── args-alternate.json │ ├── comments.json │ ├── event-case.json │ ├── indented-expr.out │ ├── redefined-command.json │ ├── unknown-escape.json │ ├── flat-union-optional-discriminator.err │ ├── returns-alternate.json │ ├── ident-with-escape.out │ ├── bad-base.json │ ├── nested-struct-data.json │ ├── union-clash-data.out │ ├── args-union.json │ ├── bad-type-int.json │ ├── enum-int-member.json │ ├── alternate-base.json │ ├── enum-max-member.json │ ├── alternate-nested.json │ ├── args-name-clash.out │ ├── reserved-command-q.json │ ├── include-cycle.err │ ├── flat-union-empty.json │ ├── reserved-member-q.json │ ├── alternate-conflict-string.json │ ├── alternate-array.json │ ├── ident-with-escape.json │ ├── reserved-type-list.json │ ├── union-clash-branches.json │ ├── alternate-conflict-dict.json │ ├── struct-base-clash.json │ ├── union-bad-branch.json │ ├── args-name-clash.json │ ├── reserved-member-has.json │ ├── union-invalid-base.json │ └── union-clash-data.json ├── image-fuzzer │ └── qcow2 │ │ └── __init__.py ├── multiboot │ ├── module.txt │ └── link.ld ├── tcg │ ├── mips │ │ ├── mips64-dspr2 │ │ │ ├── .directory │ │ │ └── head.S │ │ ├── mips32-dsp │ │ │ ├── main.c │ │ │ ├── repl_qb.c │ │ │ ├── replv_ph.c │ │ │ ├── bitrev.c │ │ │ ├── raddu_w_qb.c │ │ │ └── replv_qb.c │ │ └── mips64-dsp │ │ │ ├── head.S │ │ │ └── repl_qb.c │ ├── pi_10.com │ ├── alpha │ │ └── hello-alpha.c │ ├── cris │ │ ├── README │ │ ├── check_hello.c │ │ ├── check_openpf4.c │ │ ├── .gdbinit │ │ ├── crt.s │ │ ├── check_cmp-2.s │ │ ├── check_stat1.c │ │ └── check_ret.s │ ├── xtensa │ │ └── test_fail.S │ └── lm32 │ │ ├── test_b.S │ │ ├── test_ret.S │ │ ├── test_calli.S │ │ ├── test_call.S │ │ ├── test_bi.S │ │ ├── test_break.S │ │ ├── test_sextb.S │ │ └── test_sexth.S ├── acpi-test-data │ ├── pc │ │ ├── FACS │ │ ├── APIC │ │ ├── DSDT │ │ ├── FACP │ │ ├── HPET │ │ ├── SSDT │ │ └── SSDT.bridge │ └── q35 │ │ ├── FACS │ │ ├── APIC │ │ ├── DSDT │ │ ├── FACP │ │ ├── HPET │ │ ├── MCFG │ │ ├── SSDT │ │ └── SSDT.bridge ├── qemu-iotests │ ├── 056.out │ ├── 093.out │ ├── 096.out │ ├── 129.out │ ├── 132.out │ ├── 065.out │ ├── 124.out │ ├── 030.out │ ├── 045.out │ ├── 057.out │ ├── 128.out │ ├── 139.out │ ├── sample_images │ │ ├── afl5.img.bz2 │ │ ├── afl9.vmdk.bz2 │ │ ├── empty.bochs.bz2 │ │ ├── grub_mbr.raw.bz2 │ │ ├── parallels-v1.bz2 │ │ ├── parallels-v2.bz2 │ │ ├── test-disk2vhd.vhdx.bz2 │ │ ├── iotest-dynamic-1G.vhdx.bz2 │ │ ├── iotest-version3.vmdk.bz2 │ │ ├── simple-pattern.cloop.bz2 │ │ └── iotest-dirtylog-10G-4M.vhdx.bz2 │ ├── 040.out │ ├── 055.out │ ├── 111.out │ ├── 136.out │ ├── Makefile │ ├── 041.out │ ├── 118.out │ ├── .gitignore │ ├── 135.out │ ├── 115.out │ ├── 044.out │ ├── 012.out │ ├── 101.out │ ├── 062.out │ ├── 138.out │ ├── 007.out │ └── 107.out ├── rocker │ ├── README │ └── tut.dot ├── qemu-iotests-quick.sh └── libqos │ └── libqos-pc.h ├── default-configs ├── tricore-softmmu.mak ├── arm-linux-user.mak ├── cris-linux-user.mak ├── i386-bsd-user.mak ├── i386-linux-user.mak ├── m68k-linux-user.mak ├── mips-linux-user.mak ├── or32-linux-user.mak ├── sh4-linux-user.mak ├── sparc-bsd-user.mak ├── x86_64-bsd-user.mak ├── alpha-linux-user.mak ├── armeb-linux-user.mak ├── mips64-linux-user.mak ├── mipsel-linux-user.mak ├── s390x-linux-user.mak ├── sh4eb-linux-user.mak ├── sparc-linux-user.mak ├── sparc64-bsd-user.mak ├── tilegx-linux-user.mak ├── x86_64-linux-user.mak ├── aarch64-linux-user.mak ├── mips64el-linux-user.mak ├── mipsn32-linux-user.mak ├── mipsn32el-linux-user.mak ├── sparc64-linux-user.mak ├── unicore32-linux-user.mak ├── microblaze-linux-user.mak ├── sparc32plus-linux-user.mak ├── microblazeel-linux-user.mak ├── sound.mak ├── ppc-linux-user.mak ├── ppc64-linux-user.mak ├── ppc64le-linux-user.mak ├── ppc64abi32-linux-user.mak ├── microblazeel-softmmu.mak ├── or32-softmmu.mak ├── moxie-softmmu.mak ├── unicore32-softmmu.mak ├── xtensa-softmmu.mak ├── xtensaeb-softmmu.mak ├── cris-softmmu.mak ├── m68k-softmmu.mak ├── s390x-softmmu.mak ├── aarch64-softmmu.mak ├── lm32-softmmu.mak ├── usb.mak ├── microblaze-softmmu.mak ├── alpha-softmmu.mak └── sparc64-softmmu.mak ├── target-lm32 ├── TODO └── Makefile.objs ├── hw ├── sparc64 │ └── Makefile.objs ├── sparc │ └── Makefile.objs ├── block │ └── dataplane │ │ └── Makefile.objs ├── tricore │ └── Makefile.objs ├── virtio │ ├── dataplane │ │ └── Makefile.objs │ └── Makefile.objs ├── alpha │ └── Makefile.objs ├── cris │ ├── Makefile.objs │ └── boot.h ├── moxie │ └── Makefile.objs ├── smbios │ └── Makefile.objs ├── mem │ └── Makefile.objs ├── i386 │ ├── xen │ │ └── Makefile.objs │ ├── kvm │ │ └── Makefile.objs │ └── acpi-build.h ├── openrisc │ └── Makefile.objs ├── xtensa │ └── Makefile.objs ├── lm32 │ └── Makefile.objs ├── pcmcia │ └── Makefile.objs ├── bt │ └── Makefile.objs ├── ipack │ └── Makefile.objs ├── sh4 │ ├── Makefile.objs │ └── sh7750_regnames.h ├── xenpv │ └── Makefile.objs ├── m68k │ └── Makefile.objs ├── microblaze │ └── Makefile.objs ├── tpm │ └── Makefile.objs ├── misc │ └── macio │ │ └── Makefile.objs ├── unicore32 │ └── Makefile.objs ├── pci-bridge │ ├── ioh3420.h │ ├── dec.h │ └── Makefile.objs ├── cpu │ └── Makefile.objs ├── watchdog │ └── Makefile.objs ├── nvram │ └── Makefile.objs ├── mips │ └── Makefile.objs ├── vfio │ └── Makefile.objs ├── ssi │ └── Makefile.objs ├── isa │ └── Makefile.objs ├── sd │ └── Makefile.objs ├── gpio │ └── Makefile.objs ├── xen │ └── Makefile.objs ├── acpi │ └── Makefile.objs └── i2c │ └── bitbang_i2c.h ├── include ├── standard-headers │ └── linux │ │ ├── if_ether.h │ │ ├── types.h │ │ └── virtio_rng.h ├── config.h ├── hw │ ├── pci │ │ ├── pci_regs.h │ │ └── slotid_cap.h │ ├── ppc │ │ └── ppc_e500.h │ ├── qdev.h │ ├── acpi │ │ └── piix4.h │ ├── empty_slot.h │ ├── mips │ │ └── bios.h │ ├── pci-host │ │ ├── ppce500.h │ │ └── apb.h │ ├── vfio │ │ └── vfio.h │ ├── tricore │ │ └── tricore.h │ ├── audio │ │ └── audio.h │ └── arm │ │ └── primecell.h ├── trace.h ├── trace-tcg.h └── qemu │ └── mmap-alloc.h ├── linux-user ├── sparc64 │ └── target_cpu.h ├── x86_64 │ └── target_cpu.h ├── mips64 │ └── target_structs.h ├── unicore32 │ └── termbits.h ├── arm │ └── nwfpe │ │ └── Makefile.objs ├── uname.h └── Makefile.objs ├── linux-headers ├── asm-arm │ └── kvm_para.h ├── asm-arm64 │ └── kvm_para.h ├── asm-x86 │ ├── hyperv.h │ └── unistd.h ├── linux │ ├── virtio_ring.h │ └── virtio_config.h ├── README ├── asm-generic │ └── kvm_para.h └── asm-mips │ └── kvm_para.h ├── pc-bios ├── keymaps │ └── nl-be ├── bios.bin ├── slof.bin ├── bamboo.dtb ├── ppc_rom.bin ├── sgabios.bin ├── u-boot.e500 ├── vgabios.bin ├── QEMU,tcx.bin ├── acpi-dsdt.aml ├── bios-256k.bin ├── efi-e1000.rom ├── efi-pcnet.rom ├── kvmvapic.bin ├── linuxboot.bin ├── multiboot.bin ├── openbios-ppc ├── pxe-e1000.rom ├── pxe-pcnet.rom ├── qemu-icon.bmp ├── qemu-nsis.bmp ├── qemu-nsis.ico ├── s390-ccw.img ├── s390-zipl.rom ├── QEMU,cgthree.bin ├── efi-eepro100.rom ├── efi-ne2k_pci.rom ├── efi-rtl8139.rom ├── efi-virtio.rom ├── openbios-sparc32 ├── openbios-sparc64 ├── palcode-clipper ├── pxe-eepro100.rom ├── pxe-ne2k_pci.rom ├── pxe-rtl8139.rom ├── pxe-virtio.rom ├── spapr-rtas.bin ├── vgabios-qxl.bin ├── q35-acpi-dsdt.aml ├── vgabios-cirrus.bin ├── vgabios-stdvga.bin ├── vgabios-virtio.bin ├── vgabios-vmware.bin ├── petalogix-ml605.dtb ├── petalogix-s3adsp1800.dtb └── Makefile ├── target-moxie ├── machine.h ├── Makefile.objs └── helper.h ├── target-tilegx └── Makefile.objs ├── target-tricore └── Makefile.objs ├── contrib ├── ivshmem-client │ └── Makefile.objs └── ivshmem-server │ └── Makefile.objs ├── roms ├── config.vga-isavga ├── config.vga-stdvga ├── config.vga-cirrus ├── config.seabios-256k ├── configure-seabios.sh ├── config.vga-qxl ├── config.vga-virtio ├── config.vga-vmware └── config.seabios-128k ├── stubs ├── get-next-serial.c ├── sysbus.c ├── vhost.c ├── fd-register.c ├── get-vm-name.c ├── notify-event.c ├── clock-warp.c ├── bdrv-commit-all.c ├── kvm.c ├── fdset-remove-fd.c ├── monitor-init.c ├── runstate-check.c ├── cpu-get-clock.c ├── fdset-find-fd.c ├── machine-init-done.c ├── fdset-get-fd.c ├── cpu-get-icount.c ├── fdset-add-fd.c ├── cpus.c ├── mon-is-qmp.c ├── is-daemonized.c ├── migr-blocker.c ├── target-monitor-defs.c ├── get-fd.c ├── mon-printf.c ├── slirp.c ├── vm-stop.c ├── gdbstub.c ├── arch-query-cpu-def.c ├── qmp_pc_dimm_device_list.c ├── iothread-lock.c ├── uuid.c ├── set-fd-handler.c └── reset.c ├── .dir-locals.el ├── qga └── vss-win32 │ ├── qga-vss.tlb │ └── qga-vss.def ├── bsd-user ├── Makefile.objs ├── sparc │ └── syscall.h └── sparc64 │ └── syscall.h ├── scripts └── update-acpi.sh ├── target-m68k ├── Makefile.objs └── qregs.def ├── qom └── Makefile.objs ├── target-sh4 └── Makefile.objs ├── target-microblaze └── Makefile.objs ├── target-cris └── Makefile.objs ├── target-unicore32 └── Makefile.objs ├── qobject └── Makefile.objs ├── tcg └── LICENSE ├── module-common.c ├── replay └── Makefile.objs ├── target-alpha └── Makefile.objs ├── target-mips └── Makefile.objs ├── target-xtensa └── Makefile.objs ├── .exrc ├── slirp └── Makefile.objs ├── ui ├── shader │ ├── texture-blit.frag │ └── texture-blit.vert └── qemu-x509.h ├── target-openrisc └── Makefile.objs ├── target-s390x └── Makefile.objs ├── trace └── ftrace.h ├── qapi └── Makefile.objs ├── disas └── libvixl │ └── Makefile.objs ├── target-sparc └── Makefile.objs ├── migration └── Makefile.objs ├── audio └── audio_win_int.h ├── backends └── Makefile.objs ├── xen-common-stub.c ├── crypto └── Makefile.objs └── target-i386 └── Makefile.objs /VERSION: -------------------------------------------------------------------------------- 1 | 2.5.0 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/empty.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/empty.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-any.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-int.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-union.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-base.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-data.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-ident.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/command-int.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/comments.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/double-data.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/double-type.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/event-case.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/event-max.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/funny-char.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/non-objects.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/unicode-str.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-empty.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-max.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /default-configs/tricore-softmmu.mak: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-array.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-base.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-clash.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-empty.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-nested.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-alternate.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-any.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-array-empty.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-int.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-invalid.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-name-clash.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-unknown.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-base.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-data.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-ident.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-type-bool.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-type-dict.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-type-int.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/comments.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/duplicate-key.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/empty.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-bad-name.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-bad-prefix.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-dict-member.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-int-member.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-max-member.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-wrong-data.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/escape-too-big.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/escape-too-short.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/event-max.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-empty.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-cycle.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-no-file.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-non-file.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-relpath.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-simple.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/indented-expr.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/missing-colon.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/missing-type.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/qapi-schema-test.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/redefined-event.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/redefined-type.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-dict.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-unknown.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/unclosed-list.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/unclosed-object.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/unclosed-string.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-bad-branch.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-clash-data.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-clash-type.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-max.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-unknown.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/unknown-escape.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/unknown-expr-key.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /target-lm32/TODO: -------------------------------------------------------------------------------- 1 | * linux-user emulation 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-base.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-unknown.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-alternate.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-array-unknown.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-invalid.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-member-array-bad.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-member-unknown.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-union.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-unknown.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-type-bool.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-type-dict.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-type-int.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/command-int.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/double-data.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/double-type.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/duplicate-key.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-bad-name.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-clash-member.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-missing-data.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/escape-outside-string.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/escape-too-big.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/event-case.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/event-nest-struct.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-bad-base.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-base-any.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-base-union.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-clash-type.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-inline.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-int-branch.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-no-base.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/funny-char.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/ident-with-escape.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-before-err.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-cycle.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-format-err.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-nested-err.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-repetition.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-self-cycle.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-simple.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/indented-expr.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/leading-comma-list.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/leading-comma-object.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/missing-colon.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/missing-comma-list.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/missing-comma-object.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/missing-type.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/nested-struct-data.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/non-objects.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/redefined-builtin.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/redefined-command.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/redefined-type.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-command-q.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-member-has.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-member-q.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-member-u.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-type-kind.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-type-list.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-alternate.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-array-bad.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-dict.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-whitelist.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/struct-base-clash.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/struct-data-invalid.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/struct-member-invalid.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/trailing-comma-list.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/trailing-comma-object.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/type-bypass-bad-gen.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/unclosed-list.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/unicode-str.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-clash-branches.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-empty.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-invalid-base.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-optional-branch.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-unknown.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/unknown-escape.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /hw/sparc64/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += sun4u.o 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-array.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-clash.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-conflict-dict.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-conflict-string.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-empty.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-nested.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-unknown.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-array-empty.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-array-unknown.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-member-unknown.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-name-clash.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/empty.out: -------------------------------------------------------------------------------- 1 | object :empty 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-bad-prefix.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-clash-member.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-dict-member.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-int-member.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-max-member.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-missing-data.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-wrong-data.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/escape-too-short.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/event-nest-struct.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-array-branch.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-bad-base.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-base-any.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-clash-branch.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-clash-member.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-empty.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-inline.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-no-base.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/ident-with-escape.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-before-err.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-format-err.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-nested-err.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-no-file.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-non-file.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-relpath.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-repetition.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-self-cycle.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/leading-comma-list.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/missing-comma-list.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/nested-struct-data.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/qapi-schema-test.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/quoted-structural-chars.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/redefined-builtin.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/redefined-command.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/redefined-event.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-command-q.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-member-has.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-member-q.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-member-u.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-type-kind.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-type-list.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-alternate.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-array-bad.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-unknown.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-whitelist.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/struct-base-clash-deep.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/struct-base-clash.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/struct-data-invalid.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/trailing-comma-list.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/type-bypass-bad-gen.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/unclosed-object.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/unclosed-string.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-bad-branch.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-clash-data.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-clash-type.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-invalid-base.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/unknown-expr-key.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /hw/sparc/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += sun4m.o leon3.o 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-conflict-dict.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-member-array-bad.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/escape-outside-string.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-array-branch.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-bad-discriminator.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-base-union.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-clash-branch.exit: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-clash-member.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-clash-type.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-int-branch.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-invalid-branch-key.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-string-discriminator.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/leading-comma-object.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/missing-comma-object.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/quoted-structural-chars.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/struct-base-clash-deep.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/struct-member-invalid.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/trailing-comma-object.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-base-no-discriminator.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-clash-branches.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-optional-branch.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /hw/block/dataplane/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += virtio-blk.o 2 | -------------------------------------------------------------------------------- /hw/tricore/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += tricore_testboard.o 2 | -------------------------------------------------------------------------------- /hw/virtio/dataplane/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += vring.o 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-conflict-string.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-bad-discriminator.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-invalid-branch-key.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-invalid-discriminator.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-optional-discriminator.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/non-objects.json: -------------------------------------------------------------------------------- 1 | 'string' 2 | [ ] 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-base-no-discriminator.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /hw/alpha/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += dp264.o pci.o typhoon.o 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-invalid-discriminator.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-optional-discriminator.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-string-discriminator.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-non-file.json: -------------------------------------------------------------------------------- 1 | { 'include': {} } 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/unclosed-list.json: -------------------------------------------------------------------------------- 1 | { 'key': [ 'value' } 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/unclosed-object.json: -------------------------------------------------------------------------------- 1 | { 'key': [ 'value' ] 2 | -------------------------------------------------------------------------------- /hw/cris/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += boot.o 2 | obj-y += axis_dev88.o 3 | -------------------------------------------------------------------------------- /hw/moxie/Makefile.objs: -------------------------------------------------------------------------------- 1 | # moxie boards 2 | obj-y += moxiesim.o 3 | -------------------------------------------------------------------------------- /hw/smbios/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-$(CONFIG_SMBIOS) += smbios.o 2 | -------------------------------------------------------------------------------- /include/standard-headers/linux/if_ether.h: -------------------------------------------------------------------------------- 1 | #define ETH_ALEN 6 2 | -------------------------------------------------------------------------------- /linux-user/sparc64/target_cpu.h: -------------------------------------------------------------------------------- 1 | #include "../sparc/target_cpu.h" 2 | -------------------------------------------------------------------------------- /linux-user/x86_64/target_cpu.h: -------------------------------------------------------------------------------- 1 | #include "../i386/target_cpu.h" 2 | -------------------------------------------------------------------------------- /hw/mem/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-$(CONFIG_MEM_HOTPLUG) += pc-dimm.o 2 | -------------------------------------------------------------------------------- /linux-headers/asm-arm/kvm_para.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /linux-headers/asm-arm64/kvm_para.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /tests/image-fuzzer/qcow2/__init__.py: -------------------------------------------------------------------------------- 1 | from layout import create_image 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/event-case.out: -------------------------------------------------------------------------------- 1 | object :empty 2 | event oops None 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/unclosed-string.json: -------------------------------------------------------------------------------- 1 | { 'text': 'lorem ips 2 | } 3 | -------------------------------------------------------------------------------- /include/config.h: -------------------------------------------------------------------------------- 1 | #include "config-host.h" 2 | #include "config-target.h" 3 | -------------------------------------------------------------------------------- /include/hw/pci/pci_regs.h: -------------------------------------------------------------------------------- 1 | #include "standard-headers/linux/pci_regs.h" 2 | -------------------------------------------------------------------------------- /pc-bios/keymaps/nl-be: -------------------------------------------------------------------------------- 1 | # Dutch (Belgium) 2 | map 0x813 3 | include common 4 | -------------------------------------------------------------------------------- /target-moxie/machine.h: -------------------------------------------------------------------------------- 1 | extern const VMStateDescription vmstate_moxie_cpu; 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-cycle-c.json: -------------------------------------------------------------------------------- 1 | { 'include': 'include-cycle.json' } 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-cycle.json: -------------------------------------------------------------------------------- 1 | { 'include': 'include-cycle-b.json' } 2 | -------------------------------------------------------------------------------- /default-configs/arm-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for arm-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/cris-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for cris-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/i386-bsd-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for i386-bsd-user 2 | -------------------------------------------------------------------------------- /default-configs/i386-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for i386-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/m68k-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for m68k-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/mips-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for mips-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/or32-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for or32-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/sh4-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for sh4-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/sparc-bsd-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for sparc-bsd-user 2 | -------------------------------------------------------------------------------- /default-configs/x86_64-bsd-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for x86_64-bsd-user 2 | -------------------------------------------------------------------------------- /hw/i386/xen/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += xen_platform.o xen_apic.o xen_pvdevice.o 2 | -------------------------------------------------------------------------------- /linux-headers/asm-x86/hyperv.h: -------------------------------------------------------------------------------- 1 | #include "standard-headers/asm-x86/hyperv.h" 2 | -------------------------------------------------------------------------------- /linux-user/mips64/target_structs.h: -------------------------------------------------------------------------------- 1 | #include "../mips/target_structs.h" 2 | 3 | -------------------------------------------------------------------------------- /target-tilegx/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += cpu.o translate.o helper.o simd_helper.o 2 | -------------------------------------------------------------------------------- /target-tricore/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += translate.o helper.o cpu.o op_helper.o 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-invalid.json: -------------------------------------------------------------------------------- 1 | { 'command': 'foo', 2 | 'data': false } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-cycle-b.json: -------------------------------------------------------------------------------- 1 | { 'include': 'include-cycle-c.json' } 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-nested-err.json: -------------------------------------------------------------------------------- 1 | { 'include': 'missing-colon.json' } 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-relpath.json: -------------------------------------------------------------------------------- 1 | { 'include': 'include/relpath.json' } 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-simple.json: -------------------------------------------------------------------------------- 1 | { 'include': 'include-simple-sub.json' } 2 | -------------------------------------------------------------------------------- /contrib/ivshmem-client/Makefile.objs: -------------------------------------------------------------------------------- 1 | ivshmem-client-obj-y = ivshmem-client.o main.o 2 | -------------------------------------------------------------------------------- /contrib/ivshmem-server/Makefile.objs: -------------------------------------------------------------------------------- 1 | ivshmem-server-obj-y = ivshmem-server.o main.o 2 | -------------------------------------------------------------------------------- /default-configs/alpha-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for alpha-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/armeb-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for armeb-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/mips64-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for mips64-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/mipsel-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for mipsel-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/s390x-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for s390x-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/sh4eb-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for sh4eb-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/sparc-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for sparc-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/sparc64-bsd-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for sparc64-bsd-user 2 | -------------------------------------------------------------------------------- /default-configs/tilegx-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for tilegx-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/x86_64-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for x86_64-linux-user 2 | -------------------------------------------------------------------------------- /hw/openrisc/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y = pic_cpu.o cputimer.o 2 | obj-y += openrisc_sim.o 3 | -------------------------------------------------------------------------------- /hw/xtensa/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += pic_cpu.o 2 | obj-y += sim.o 3 | obj-y += xtfpga.o 4 | -------------------------------------------------------------------------------- /linux-headers/linux/virtio_ring.h: -------------------------------------------------------------------------------- 1 | #include "standard-headers/linux/virtio_ring.h" 2 | -------------------------------------------------------------------------------- /pc-bios/bios.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/bios.bin -------------------------------------------------------------------------------- /pc-bios/slof.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/slof.bin -------------------------------------------------------------------------------- /tests/multiboot/module.txt: -------------------------------------------------------------------------------- 1 | This is a test file that is used as a multiboot module. 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/comments.out: -------------------------------------------------------------------------------- 1 | object :empty 2 | enum Status ['good', 'bad', 'ugly'] 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/funny-char.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/funny-char.json:2:36: Stray ";" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-no-file.json: -------------------------------------------------------------------------------- 1 | { 'include': 'include-no-file-sub.json' } 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-self-cycle.json: -------------------------------------------------------------------------------- 1 | { 'include': 'include-self-cycle.json' } 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include/relpath.json: -------------------------------------------------------------------------------- 1 | { 'include': '../include-relpath-sub.json' } 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/struct-data-invalid.json: -------------------------------------------------------------------------------- 1 | { 'struct': 'foo', 2 | 'data': false } 3 | -------------------------------------------------------------------------------- /tests/tcg/mips/mips64-dspr2/.directory: -------------------------------------------------------------------------------- 1 | [Dolphin] 2 | Timestamp=2012,8,3,16,41,52 3 | -------------------------------------------------------------------------------- /default-configs/aarch64-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for aarch64-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/mips64el-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for mips64el-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/mipsn32-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for mipsn32-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/mipsn32el-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for mipsn32el-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/sparc64-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for sparc64-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/unicore32-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for unicore32-linux-user 2 | -------------------------------------------------------------------------------- /hw/i386/kvm/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += clock.o apic.o i8259.o ioapic.o i8254.o pci-assign.o 2 | -------------------------------------------------------------------------------- /hw/lm32/Makefile.objs: -------------------------------------------------------------------------------- 1 | # LM32 boards 2 | obj-y += lm32_boards.o 3 | obj-y += milkymist.o 4 | -------------------------------------------------------------------------------- /hw/pcmcia/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-y += pcmcia.o 2 | obj-$(CONFIG_PXA2XX) += pxa2xx.o 3 | -------------------------------------------------------------------------------- /include/standard-headers/linux/types.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include "qemu/compiler.h" 3 | -------------------------------------------------------------------------------- /linux-headers/linux/virtio_config.h: -------------------------------------------------------------------------------- 1 | #include "standard-headers/linux/virtio_config.h" 2 | -------------------------------------------------------------------------------- /pc-bios/bamboo.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/bamboo.dtb -------------------------------------------------------------------------------- /pc-bios/ppc_rom.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/ppc_rom.bin -------------------------------------------------------------------------------- /pc-bios/sgabios.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/sgabios.bin -------------------------------------------------------------------------------- /pc-bios/u-boot.e500: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/u-boot.e500 -------------------------------------------------------------------------------- /pc-bios/vgabios.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/vgabios.bin -------------------------------------------------------------------------------- /roms/config.vga-isavga: -------------------------------------------------------------------------------- 1 | CONFIG_BUILD_VGABIOS=y 2 | CONFIG_VGA_BOCHS=y 3 | CONFIG_VGA_PCI=n 4 | -------------------------------------------------------------------------------- /roms/config.vga-stdvga: -------------------------------------------------------------------------------- 1 | CONFIG_BUILD_VGABIOS=y 2 | CONFIG_VGA_BOCHS=y 3 | CONFIG_VGA_PCI=y 4 | -------------------------------------------------------------------------------- /stubs/get-next-serial.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | 3 | CharDriverState *serial_hds[0]; 4 | -------------------------------------------------------------------------------- /tests/acpi-test-data/pc/FACS: -------------------------------------------------------------------------------- 1 | FACS@ -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/FACS: -------------------------------------------------------------------------------- 1 | FACS@ -------------------------------------------------------------------------------- /tests/qapi-schema/bad-type-int.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/bad-type-int.json:3:13: Stray "1" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/indented-expr.json: -------------------------------------------------------------------------------- 1 | { 'command' : 'eins' } 2 | { 'command' : 'zwei' } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/non-objects.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/non-objects.json:1:1: Expected "{" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-empty.out: -------------------------------------------------------------------------------- 1 | object :empty 2 | object Union 3 | enum UnionKind [] 4 | -------------------------------------------------------------------------------- /tests/tcg/pi_10.com: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/tcg/pi_10.com -------------------------------------------------------------------------------- /.dir-locals.el: -------------------------------------------------------------------------------- 1 | ((c-mode . ((c-file-style . "stroustrup") 2 | (indent-tabs-mode . nil)))) 3 | -------------------------------------------------------------------------------- /default-configs/microblaze-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for microblaze-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/sparc32plus-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for sparc32plus-linux-user 2 | -------------------------------------------------------------------------------- /pc-bios/QEMU,tcx.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/QEMU,tcx.bin -------------------------------------------------------------------------------- /pc-bios/acpi-dsdt.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/acpi-dsdt.aml -------------------------------------------------------------------------------- /pc-bios/bios-256k.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/bios-256k.bin -------------------------------------------------------------------------------- /pc-bios/efi-e1000.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/efi-e1000.rom -------------------------------------------------------------------------------- /pc-bios/efi-pcnet.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/efi-pcnet.rom -------------------------------------------------------------------------------- /pc-bios/kvmvapic.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/kvmvapic.bin -------------------------------------------------------------------------------- /pc-bios/linuxboot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/linuxboot.bin -------------------------------------------------------------------------------- /pc-bios/multiboot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/multiboot.bin -------------------------------------------------------------------------------- /pc-bios/openbios-ppc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/openbios-ppc -------------------------------------------------------------------------------- /pc-bios/pxe-e1000.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/pxe-e1000.rom -------------------------------------------------------------------------------- /pc-bios/pxe-pcnet.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/pxe-pcnet.rom -------------------------------------------------------------------------------- /pc-bios/qemu-icon.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/qemu-icon.bmp -------------------------------------------------------------------------------- /pc-bios/qemu-nsis.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/qemu-nsis.bmp -------------------------------------------------------------------------------- /pc-bios/qemu-nsis.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/qemu-nsis.ico -------------------------------------------------------------------------------- /pc-bios/s390-ccw.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/s390-ccw.img -------------------------------------------------------------------------------- /pc-bios/s390-zipl.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/s390-zipl.rom -------------------------------------------------------------------------------- /roms/config.vga-cirrus: -------------------------------------------------------------------------------- 1 | CONFIG_BUILD_VGABIOS=y 2 | CONFIG_VGA_CIRRUS=y 3 | CONFIG_VGA_PCI=y 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-int-member.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/enum-int-member.json:3:31: Stray "1" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-relpath.out: -------------------------------------------------------------------------------- 1 | object :empty 2 | enum Status ['good', 'bad', 'ugly'] 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-repetition.out: -------------------------------------------------------------------------------- 1 | object :empty 2 | enum Status ['good', 'bad', 'ugly'] 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-simple.out: -------------------------------------------------------------------------------- 1 | object :empty 2 | enum Status ['good', 'bad', 'ugly'] 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/missing-colon.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/missing-colon.json:1:10: Expected ":" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/struct-member-invalid.json: -------------------------------------------------------------------------------- 1 | { 'struct': 'foo', 2 | 'data': { 'a': false } } 3 | -------------------------------------------------------------------------------- /default-configs/microblazeel-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for microblazeel-linux-user 2 | -------------------------------------------------------------------------------- /default-configs/sound.mak: -------------------------------------------------------------------------------- 1 | CONFIG_SB16=y 2 | CONFIG_ADLIB=y 3 | CONFIG_GUS=y 4 | CONFIG_CS4231A=y 5 | -------------------------------------------------------------------------------- /pc-bios/QEMU,cgthree.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/QEMU,cgthree.bin -------------------------------------------------------------------------------- /pc-bios/efi-eepro100.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/efi-eepro100.rom -------------------------------------------------------------------------------- /pc-bios/efi-ne2k_pci.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/efi-ne2k_pci.rom -------------------------------------------------------------------------------- /pc-bios/efi-rtl8139.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/efi-rtl8139.rom -------------------------------------------------------------------------------- /pc-bios/efi-virtio.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/efi-virtio.rom -------------------------------------------------------------------------------- /pc-bios/openbios-sparc32: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/openbios-sparc32 -------------------------------------------------------------------------------- /pc-bios/openbios-sparc64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/openbios-sparc64 -------------------------------------------------------------------------------- /pc-bios/palcode-clipper: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/palcode-clipper -------------------------------------------------------------------------------- /pc-bios/pxe-eepro100.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/pxe-eepro100.rom -------------------------------------------------------------------------------- /pc-bios/pxe-ne2k_pci.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/pxe-ne2k_pci.rom -------------------------------------------------------------------------------- /pc-bios/pxe-rtl8139.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/pxe-rtl8139.rom -------------------------------------------------------------------------------- /pc-bios/pxe-virtio.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/pxe-virtio.rom -------------------------------------------------------------------------------- /pc-bios/spapr-rtas.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/spapr-rtas.bin -------------------------------------------------------------------------------- /pc-bios/vgabios-qxl.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/vgabios-qxl.bin -------------------------------------------------------------------------------- /tests/qapi-schema/double-data.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/double-data.json:2:41: Duplicate key "data" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/duplicate-key.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/duplicate-key.json:3:10: Duplicate key "key" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/funny-char.json: -------------------------------------------------------------------------------- 1 | { 'enum': 'Status', 2 | 'data': [ 'good', 'bad', 'ugly' ]; } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/missing-colon.json: -------------------------------------------------------------------------------- 1 | { 'enum' 'Status', 2 | 'data': [ 'good', 'bad', 'ugly' ] } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/quoted-structural-chars.json: -------------------------------------------------------------------------------- 1 | '{' 'key1' ':' 'value1' ',' 'key2' ':' '[' ']' '}' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/unclosed-list.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/unclosed-list.json:1:20: Expected "," or "]" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/unknown-escape.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/unknown-escape.json:3:21: Unknown escape \x 2 | -------------------------------------------------------------------------------- /default-configs/ppc-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for ppc-linux-user 2 | CONFIG_LIBDECNUMBER=y 3 | -------------------------------------------------------------------------------- /hw/bt/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-y += core.o l2cap.o sdp.o hci.o hid.o 2 | common-obj-y += hci-csr.o 3 | 4 | -------------------------------------------------------------------------------- /hw/ipack/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-$(CONFIG_IPACK) += ipack.o 2 | common-obj-$(CONFIG_IPACK) += tpci200.o 3 | -------------------------------------------------------------------------------- /linux-user/unicore32/termbits.h: -------------------------------------------------------------------------------- 1 | /* NOTE: exactly the same as i386 */ 2 | #include "../i386/termbits.h" 3 | -------------------------------------------------------------------------------- /pc-bios/q35-acpi-dsdt.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/q35-acpi-dsdt.aml -------------------------------------------------------------------------------- /pc-bios/vgabios-cirrus.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/vgabios-cirrus.bin -------------------------------------------------------------------------------- /pc-bios/vgabios-stdvga.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/vgabios-stdvga.bin -------------------------------------------------------------------------------- /pc-bios/vgabios-virtio.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/vgabios-virtio.bin -------------------------------------------------------------------------------- /pc-bios/vgabios-vmware.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/vgabios-vmware.bin -------------------------------------------------------------------------------- /qga/vss-win32/qga-vss.tlb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/qga/vss-win32/qga-vss.tlb -------------------------------------------------------------------------------- /roms/config.seabios-256k: -------------------------------------------------------------------------------- 1 | # for qemu machine types 2.0 + newer 2 | CONFIG_QEMU=y 3 | CONFIG_ROM_SIZE=256 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/escape-outside-string.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/escape-outside-string.json:3:27: Stray "\" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/event-max.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/event-max.json:2: Event name 'MAX' cannot be created 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-before-err.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/include-before-err.json:2:13: Expected ":" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-format-err.json: -------------------------------------------------------------------------------- 1 | { 'include': 'include-simple-sub.json', 2 | 'foo': 'bar' } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-relpath-sub.json: -------------------------------------------------------------------------------- 1 | { 'enum': 'Status', 2 | 'data': [ 'good', 'bad', 'ugly' ] } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-simple-sub.json: -------------------------------------------------------------------------------- 1 | { 'enum': 'Status', 2 | 'data': [ 'good', 'bad', 'ugly' ] } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/missing-comma-list.json: -------------------------------------------------------------------------------- 1 | { 'enum': 'Status', 2 | 'data': [ 'good' 'bad', 'ugly' ] } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/missing-comma-object.json: -------------------------------------------------------------------------------- 1 | { 'enum': 'Status' 2 | 'data': [ 'good', 'bad', 'ugly' ] } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/missing-type.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/missing-type.json:2: Expression is missing metatype 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/missing-type.json: -------------------------------------------------------------------------------- 1 | # we reject an expression with missing metatype 2 | { 'data': { } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/unclosed-object.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/unclosed-object.json:1:21: Expected "," or "}" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/unicode-str.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/unicode-str.json:2: 'command' uses invalid name 'é' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/unicode-str.json: -------------------------------------------------------------------------------- 1 | # we don't support full Unicode strings, yet 2 | { 'command': 'é' } 3 | -------------------------------------------------------------------------------- /tests/tcg/alpha/hello-alpha.c: -------------------------------------------------------------------------------- 1 | int main (void) 2 | { 3 | write (1, "hello\n", 6); 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /default-configs/ppc64-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for ppc64-linux-user 2 | CONFIG_LIBDECNUMBER=y 3 | -------------------------------------------------------------------------------- /hw/sh4/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += shix.o r2d.o 2 | 3 | obj-y += sh7750.o sh7750_regnames.o 4 | obj-y += sh_pci.o 5 | -------------------------------------------------------------------------------- /hw/xenpv/Makefile.objs: -------------------------------------------------------------------------------- 1 | # Xen PV machine support 2 | obj-$(CONFIG_XEN) += xen_domainbuild.o xen_machine_pv.o 3 | -------------------------------------------------------------------------------- /pc-bios/petalogix-ml605.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/petalogix-ml605.dtb -------------------------------------------------------------------------------- /tests/acpi-test-data/pc/APIC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/acpi-test-data/pc/APIC -------------------------------------------------------------------------------- /tests/acpi-test-data/pc/DSDT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/acpi-test-data/pc/DSDT -------------------------------------------------------------------------------- /tests/acpi-test-data/pc/FACP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/acpi-test-data/pc/FACP -------------------------------------------------------------------------------- /tests/acpi-test-data/pc/HPET: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/acpi-test-data/pc/HPET -------------------------------------------------------------------------------- /tests/acpi-test-data/pc/SSDT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/acpi-test-data/pc/SSDT -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/APIC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/acpi-test-data/q35/APIC -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/DSDT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/acpi-test-data/q35/DSDT -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/FACP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/acpi-test-data/q35/FACP -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/HPET: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/acpi-test-data/q35/HPET -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/MCFG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/acpi-test-data/q35/MCFG -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/SSDT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/acpi-test-data/q35/SSDT -------------------------------------------------------------------------------- /tests/qapi-schema/args-any.json: -------------------------------------------------------------------------------- 1 | # we do not allow an 'any' argument 2 | { 'command': 'oops', 'data': 'any' } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/command-int.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/command-int.json:2: built-in 'int' is already defined 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/double-type.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/double-type.json:2: Unknown key 'command' in struct 'bar' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/leading-comma-list.json: -------------------------------------------------------------------------------- 1 | { 'enum': 'Status', 2 | 'data': [ , 'good', 'bad', 'ugly' ] } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/leading-comma-object.json: -------------------------------------------------------------------------------- 1 | { , 'enum': 'Status', 2 | 'data': [ 'good', 'bad', 'ugly' ] } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/missing-comma-list.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/missing-comma-list.json:2:20: Expected "," or "]" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/redefined-type.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/redefined-type.json:3: struct 'foo' is already defined 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/trailing-comma-list.json: -------------------------------------------------------------------------------- 1 | { 'enum': 'Status', 2 | 'data': [ 'good', 'bad', 'ugly', ] } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/trailing-comma-object.json: -------------------------------------------------------------------------------- 1 | { 'enum': 'Status', 2 | 'data': [ 'good', 'bad', 'ugly' ], } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/unclosed-string.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/unclosed-string.json:1:11: Missing terminating "'" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-empty.json: -------------------------------------------------------------------------------- 1 | # FIXME - unions should not be empty 2 | { 'union': 'Union', 'data': { } } 3 | -------------------------------------------------------------------------------- /default-configs/ppc64le-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for ppc64le-linux-user 2 | CONFIG_LIBDECNUMBER=y 3 | -------------------------------------------------------------------------------- /hw/m68k/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += an5206.o mcf5208.o 2 | obj-y += dummy_m68k.o 3 | 4 | obj-y += mcf5206.o mcf_intc.o 5 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-empty.out: -------------------------------------------------------------------------------- 1 | object :empty 2 | alternate Alt 3 | case i: int 4 | enum AltKind ['i'] 5 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-data.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/bad-data.json:2: 'data' for command 'oops' cannot be an array 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-ident.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/bad-ident.json:2: 'struct' does not allow optional name '*oops' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-type-bool.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/bad-type-bool.json:2: 'struct' key must have a string value 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-type-dict.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/bad-type-dict.json:2: 'command' key must have a string value 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/escape-too-short.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/escape-too-short.json:3:14: \u escape needs 4 hex digits 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/event-max.json: -------------------------------------------------------------------------------- 1 | # an event named 'MAX' would conflict with implicit C enum 2 | { 'event': 'MAX' } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-format-err.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/include-format-err.json:1: Invalid 'include' directive 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-repetition-sub.json: -------------------------------------------------------------------------------- 1 | { 'include': 'comments.json' } 2 | { 'include': 'comments.json' } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/leading-comma-object.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/leading-comma-object.json:1:3: Expected string or "}" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/missing-comma-object.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/missing-comma-object.json:2:3: Expected "," or "}" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/quoted-structural-chars.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/quoted-structural-chars.json:1:1: Expected "{" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/redefined-event.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/redefined-event.json:3: event 'EVENT_A' is already defined 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/trailing-comma-object.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/trailing-comma-object.json:2:38: Expected string 2 | -------------------------------------------------------------------------------- /bsd-user/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y = main.o bsdload.o elfload.o mmap.o signal.o strace.o syscall.o \ 2 | uaccess.o 3 | -------------------------------------------------------------------------------- /default-configs/ppc64abi32-linux-user.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for ppc64abi32-linux-user 2 | CONFIG_LIBDECNUMBER=y 3 | -------------------------------------------------------------------------------- /hw/microblaze/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += petalogix_s3adsp1800_mmu.o 2 | obj-y += petalogix_ml605_mmu.o 3 | obj-y += boot.o 4 | -------------------------------------------------------------------------------- /pc-bios/petalogix-s3adsp1800.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/pc-bios/petalogix-s3adsp1800.dtb -------------------------------------------------------------------------------- /stubs/sysbus.c: -------------------------------------------------------------------------------- 1 | #include "hw/qdev-core.h" 2 | 3 | BusState *sysbus_get_default(void) 4 | { 5 | return NULL; 6 | } 7 | -------------------------------------------------------------------------------- /stubs/vhost.c: -------------------------------------------------------------------------------- 1 | #include "hw/virtio/vhost.h" 2 | 3 | bool vhost_has_free_slot(void) 4 | { 5 | return true; 6 | } 7 | -------------------------------------------------------------------------------- /target-moxie/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += translate.o helper.o machine.o cpu.o machine.o 2 | obj-$(CONFIG_SOFTMMU) += mmu.o 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-base.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/alternate-base.json:4: Unknown key 'base' in alternate 'Alt' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-missing-data.json: -------------------------------------------------------------------------------- 1 | # we require that all QAPI enums have a data array 2 | { 'enum': 'MyEnum' } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-before-err.json: -------------------------------------------------------------------------------- 1 | { 'include': 'include-simple-sub.json' } 2 | { 'command' 'missing-colon' } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-non-file.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/include-non-file.json:1: Value of 'include' must be a string 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/redefined-builtin.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/redefined-builtin.json:2: built-in 'size' is already defined 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/redefined-command.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/redefined-command.json:3: command 'foo' is already defined 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/trailing-comma-list.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/trailing-comma-list.json:2:36: Expected "{", "[" or string 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/unknown-expr-key.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/unknown-expr-key.json:2: Unknown key 'bogus' in struct 'bar' 2 | -------------------------------------------------------------------------------- /tests/tcg/mips/mips32-dsp/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | printf("hello world\n"); 6 | } 7 | -------------------------------------------------------------------------------- /linux-headers/README: -------------------------------------------------------------------------------- 1 | Automatically imported Linux kernel headers. 2 | Only use scripts/update-linux-headers.sh to update! 3 | -------------------------------------------------------------------------------- /scripts/update-acpi.sh: -------------------------------------------------------------------------------- 1 | cd x86_64-softmmu 2 | for file in hw/i386/*.hex; do 3 | cp -f $file ../$file.generated 4 | done 5 | -------------------------------------------------------------------------------- /target-m68k/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += m68k-semi.o 2 | obj-y += translate.o op_helper.o helper.o cpu.o 3 | obj-y += gdbstub.o 4 | -------------------------------------------------------------------------------- /tests/acpi-test-data/pc/SSDT.bridge: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/acpi-test-data/pc/SSDT.bridge -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/SSDT.bridge: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/acpi-test-data/q35/SSDT.bridge -------------------------------------------------------------------------------- /tests/qapi-schema/args-any.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/args-any.json:2: 'data' for command 'oops' cannot use built-in type 'any' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-int.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/args-int.json:2: 'data' for command 'oops' cannot use built-in type 'int' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-union.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/args-union.json:4: 'data' for command 'oops' cannot use union type 'Uni' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-base.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/bad-base.json:3: 'base' for struct 'MyType' cannot use union type 'Union' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-data.json: -------------------------------------------------------------------------------- 1 | # we ensure 'data' is a dictionary for all but enums 2 | { 'command': 'oops', 'data': [ ] } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-type-dict.json: -------------------------------------------------------------------------------- 1 | # we reject an expression with a metatype that is not a string 2 | { 'command': { } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-bad-prefix.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/enum-bad-prefix.json:2: Enum 'MyEnum' requires a string for 'prefix' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-missing-data.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/enum-missing-data.json:2: Key 'data' is missing from enum 'MyEnum' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-wrong-data.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/enum-wrong-data.json:2: Enum 'MyEnum' requires an array for 'data' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-command-q.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/reserved-command-q.json:5: 'command' uses invalid name 'q-unix' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-dict.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/returns-dict.json:2: 'returns' for command 'oops' should be a type name 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-max.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/union-max.json:2: Union 'Union' member 'max' clashes with '(automatic)' 2 | -------------------------------------------------------------------------------- /default-configs/microblazeel-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for microblazeel-softmmu 2 | 3 | include microblaze-softmmu.mak 4 | -------------------------------------------------------------------------------- /default-configs/or32-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for or32-softmmu 2 | 3 | CONFIG_SERIAL=y 4 | CONFIG_OPENCORES_ETH=y 5 | -------------------------------------------------------------------------------- /stubs/fd-register.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "qemu/main-loop.h" 3 | 4 | void qemu_fd_register(int fd) 5 | { 6 | } 7 | -------------------------------------------------------------------------------- /stubs/get-vm-name.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | 3 | const char *qemu_get_vm_name(void) 4 | { 5 | return NULL; 6 | } 7 | 8 | -------------------------------------------------------------------------------- /stubs/notify-event.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "qemu/main-loop.h" 3 | 4 | void qemu_notify_event(void) 5 | { 6 | } 7 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-clash.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/alternate-clash.json:7: Alternate 'Alt1' member 'a_b' clashes with 'a-b' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-ident.json: -------------------------------------------------------------------------------- 1 | # we reject creating a type name with bad name 2 | { 'struct': '*oops', 'data': { 'i': 'int' } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-bad-name.json: -------------------------------------------------------------------------------- 1 | # we ensure all enum names can map to C 2 | { 'enum': 'MyEnum', 'data': [ 'not^possible' ] } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-clash-member.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/enum-clash-member.json:2: Enum 'MyEnum' member 'ONE' clashes with 'one' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-dict-member.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/enum-dict-member.json:2: Member of enum 'MyEnum' requires a string name 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/escape-too-short.json: -------------------------------------------------------------------------------- 1 | # the \u escape requires 4 hex digits 2 | # { 'command': 'a' } 3 | { 'command': '\u61' } 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-no-base.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-no-base.json:9: Flat union 'TestUnion' must have a base 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-self-cycle.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/include-self-cycle.json:1: Inclusion loop for include-self-cycle.json 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-type-kind.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/reserved-type-kind.json:2: enum 'UnionKind' should not end in 'Kind' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-type-list.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/reserved-type-list.json:5: struct 'FooList' should not end in 'List' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-dict.json: -------------------------------------------------------------------------------- 1 | # we reject inline struct return type 2 | { 'command': 'oops', 'returns': { 'a': 'str' } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/struct-base-clash.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/struct-base-clash.json:5: Member name 'name' clashes with base 'Base' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-bad-branch.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/union-bad-branch.json:6: Union 'MyUnion' member 'ONE' clashes with 'one' 2 | -------------------------------------------------------------------------------- /qom/Makefile.objs: -------------------------------------------------------------------------------- 1 | qom-obj-y = object.o container.o qom-qobject.o 2 | qom-obj-y += object_interfaces.o 3 | 4 | common-obj-y = cpu.o 5 | -------------------------------------------------------------------------------- /target-sh4/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += translate.o op_helper.o helper.o cpu.o 2 | obj-$(CONFIG_SOFTMMU) += monitor.o 3 | obj-y += gdbstub.o 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-array.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/alternate-array.json:5: Member 'two' of alternate 'Alt' cannot be an array 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-invalid.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/args-invalid.json:1: 'data' for command 'foo' should be a dictionary or type name 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-unknown.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/args-unknown.json:2: 'data' for command 'oops' uses unknown type 'NoSuchType' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-bad-name.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/enum-bad-name.json:2: Member of enum 'MyEnum' uses invalid name 'not^possible' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-max-member.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/enum-max-member.json:3: Enum 'MyEnum' member 'max' clashes with '(automatic)' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-no-file.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/include-no-file.json:1: No such file or directory: include-no-file-sub.json 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/type-bypass-bad-gen.json: -------------------------------------------------------------------------------- 1 | # 'gen' should only appear with value false 2 | { 'command': 'foo', 'gen': 'whatever' } 3 | -------------------------------------------------------------------------------- /tests/qemu-iotests/056.out: -------------------------------------------------------------------------------- 1 | ... 2 | ---------------------------------------------------------------------- 3 | Ran 3 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/093.out: -------------------------------------------------------------------------------- 1 | .. 2 | ---------------------------------------------------------------------- 3 | Ran 2 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/096.out: -------------------------------------------------------------------------------- 1 | . 2 | ---------------------------------------------------------------------- 3 | Ran 1 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/129.out: -------------------------------------------------------------------------------- 1 | ... 2 | ---------------------------------------------------------------------- 3 | Ran 3 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/132.out: -------------------------------------------------------------------------------- 1 | . 2 | ---------------------------------------------------------------------- 3 | Ran 1 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/tcg/cris/README: -------------------------------------------------------------------------------- 1 | Test-suite for the cris port. Heavily based on the test-suite for the CRIS port of sim by Hans-Peter Nilsson. 2 | -------------------------------------------------------------------------------- /hw/tpm/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-$(CONFIG_TPM_TIS) += tpm_tis.o 2 | common-obj-$(CONFIG_TPM_PASSTHROUGH) += tpm_passthrough.o tpm_util.o 3 | -------------------------------------------------------------------------------- /stubs/clock-warp.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "qemu/timer.h" 3 | 4 | void qemu_clock_warp(QEMUClockType type) 5 | { 6 | } 7 | 8 | -------------------------------------------------------------------------------- /target-microblaze/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += translate.o op_helper.o helper.o cpu.o 2 | obj-y += gdbstub.o 3 | obj-$(CONFIG_SOFTMMU) += mmu.o 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-alternate.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/args-alternate.json:3: 'data' for command 'oops' cannot use alternate type 'Alt' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-int.json: -------------------------------------------------------------------------------- 1 | # we reject commands where data is not an array or complex type 2 | { 'command': 'oops', 'data': 'int' } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-unknown.json: -------------------------------------------------------------------------------- 1 | # we reject data if it does not contain a known type 2 | { 'command': 'oops', 'data': 'NoSuchType' } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-type-bool.json: -------------------------------------------------------------------------------- 1 | # we reject an expression with a metatype that is not a string 2 | { 'struct': true, 'data': { } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/double-type.json: -------------------------------------------------------------------------------- 1 | # we reject an expression with ambiguous metatype 2 | { 'command': 'foo', 'struct': 'bar', 'data': { } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-bad-prefix.json: -------------------------------------------------------------------------------- 1 | # The prefix must be a string type 2 | { 'enum': 'MyEnum', 'data': [ 'one' ], 'prefix': [ 'fish' ] } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/escape-too-big.json: -------------------------------------------------------------------------------- 1 | # we don't support full Unicode strings, yet 2 | # { 'command': 'é' } 3 | { 'command': '\u00e9' } 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-bad-base.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-bad-base.json:9: 'base' for union 'TestUnion' should be a type name 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/leading-comma-list.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/leading-comma-list.json:2:13: Expected "{", "[", "]", string, boolean or "null" 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-unknown.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/returns-unknown.json:2: 'returns' for command 'oops' uses unknown type 'NoSuchType' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/struct-base-clash-deep.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/struct-base-clash-deep.json:10: Member name 'name' clashes with base 'Base' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/type-bypass-bad-gen.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/type-bypass-bad-gen.json:2: 'gen' of command 'foo' should only use false value 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-clash-branches.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/union-clash-branches.json:4: Union 'TestUnion' member 'a_b' clashes with 'a-b' 2 | -------------------------------------------------------------------------------- /tests/qemu-iotests/065.out: -------------------------------------------------------------------------------- 1 | ........ 2 | ---------------------------------------------------------------------- 3 | Ran 8 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/124.out: -------------------------------------------------------------------------------- 1 | ......... 2 | ---------------------------------------------------------------------- 3 | Ran 9 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /default-configs/moxie-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for moxie-softmmu 2 | 3 | CONFIG_MC146818RTC=y 4 | CONFIG_SERIAL=y 5 | CONFIG_VGA=y 6 | -------------------------------------------------------------------------------- /default-configs/unicore32-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for unicore32-softmmu 2 | CONFIG_PUV3=y 3 | CONFIG_PTIMER=y 4 | CONFIG_PCKBD=y 5 | -------------------------------------------------------------------------------- /hw/misc/macio/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-y += macio.o 2 | common-obj-$(CONFIG_CUDA) += cuda.o 3 | common-obj-$(CONFIG_MAC_DBDMA) += mac_dbdma.o 4 | -------------------------------------------------------------------------------- /hw/unicore32/Makefile.objs: -------------------------------------------------------------------------------- 1 | # For UniCore32 machines and boards 2 | 3 | # PKUnity-v3 SoC and board information 4 | obj-${CONFIG_PUV3} += puv3.o 5 | -------------------------------------------------------------------------------- /include/hw/ppc/ppc_e500.h: -------------------------------------------------------------------------------- 1 | #ifndef HW_PPC_E500_H 2 | #define HW_PPC_E500_H 3 | 4 | void ppce500_set_mpic_proxy(bool enabled); 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /linux-headers/asm-generic/kvm_para.h: -------------------------------------------------------------------------------- 1 | /* 2 | * There isn't anything here, but the file must not be empty or patch 3 | * will delete it. 4 | */ 5 | -------------------------------------------------------------------------------- /linux-headers/asm-mips/kvm_para.h: -------------------------------------------------------------------------------- 1 | #ifndef _ASM_MIPS_KVM_PARA_H 2 | #define _ASM_MIPS_KVM_PARA_H 3 | 4 | 5 | #endif /* _ASM_MIPS_KVM_PARA_H */ 6 | -------------------------------------------------------------------------------- /stubs/bdrv-commit-all.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "block/block.h" 3 | 4 | int bdrv_commit_all(void) 5 | { 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /stubs/kvm.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "sysemu/kvm.h" 3 | 4 | int kvm_arch_irqchip_create(KVMState *s) 5 | { 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /target-cris/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += translate.o op_helper.o helper.o cpu.o 2 | obj-y += gdbstub.o 3 | obj-$(CONFIG_SOFTMMU) += mmu.o machine.o 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/command-int.json: -------------------------------------------------------------------------------- 1 | # we reject collisions between commands and types 2 | { 'command': 'int', 'data': { 'character': 'str' } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/duplicate-key.json: -------------------------------------------------------------------------------- 1 | # QAPI cannot include the same key more than once in any {} 2 | { 'key': 'value', 3 | 'key': 'value' } 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/escape-too-big.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/escape-too-big.json:3:14: For now, \u escape only supports non-zero values up to \u007f 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/event-nest-struct.json: -------------------------------------------------------------------------------- 1 | { 'event': 'EVENT_A', 2 | 'data': { 'a' : { 'string' : 'str', 'integer': 'int' }, 'b' : 'str' } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-inline.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-inline.json:7: Member 'value1' of union 'TestUnion' should be a type name 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/redefined-builtin.json: -------------------------------------------------------------------------------- 1 | # we reject types that duplicate builtin names 2 | { 'struct': 'size', 'data': { 'myint': 'size' } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-member-q.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/reserved-member-q.json:4: Member of 'data' for struct 'Foo' uses invalid name 'q-unix' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-member-u.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/reserved-member-u.json:7: Member of 'data' for struct 'Oops' uses reserved name 'u' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-alternate.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/returns-alternate.json:3: 'returns' for command 'oops' cannot use alternate type 'Alt' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-clash-type.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/union-clash-type.json:8: Union 'TestUnion' member 'kind' clashes with '(automatic)' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-optional-branch.json: -------------------------------------------------------------------------------- 1 | # union branches cannot be optional 2 | { 'union': 'Union', 'data': { '*a': 'int', 'b': 'str' } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-unknown.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/union-unknown.json:2: Member 'unknown' of union 'Union' uses unknown type 'MissingType' 2 | -------------------------------------------------------------------------------- /tests/qemu-iotests/030.out: -------------------------------------------------------------------------------- 1 | ............. 2 | ---------------------------------------------------------------------- 3 | Ran 13 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/045.out: -------------------------------------------------------------------------------- 1 | ........... 2 | ---------------------------------------------------------------------- 3 | Ran 11 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/057.out: -------------------------------------------------------------------------------- 1 | ............ 2 | ---------------------------------------------------------------------- 3 | Ran 12 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/128.out: -------------------------------------------------------------------------------- 1 | QA output created by 128 2 | 3 | == reading from error device == 4 | read failed: Input/output error 5 | *** done 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/139.out: -------------------------------------------------------------------------------- 1 | ............ 2 | ---------------------------------------------------------------------- 3 | Ran 12 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/afl5.img.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/qemu-iotests/sample_images/afl5.img.bz2 -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/afl9.vmdk.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/qemu-iotests/sample_images/afl9.vmdk.bz2 -------------------------------------------------------------------------------- /tests/tcg/cris/check_hello.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main () 4 | { 5 | printf ("pass\n"); 6 | exit (0); 7 | } 8 | -------------------------------------------------------------------------------- /default-configs/xtensa-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for Xtensa 2 | 3 | CONFIG_SERIAL=y 4 | CONFIG_OPENCORES_ETH=y 5 | CONFIG_PFLASH_CFI01=y 6 | -------------------------------------------------------------------------------- /default-configs/xtensaeb-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for Xtensa 2 | 3 | CONFIG_SERIAL=y 4 | CONFIG_OPENCORES_ETH=y 5 | CONFIG_PFLASH_CFI01=y 6 | -------------------------------------------------------------------------------- /hw/pci-bridge/ioh3420.h: -------------------------------------------------------------------------------- 1 | #ifndef QEMU_IOH3420_H 2 | #define QEMU_IOH3420_H 3 | 4 | #include "hw/pci/pcie_port.h" 5 | 6 | #endif /* QEMU_IOH3420_H */ 7 | -------------------------------------------------------------------------------- /stubs/fdset-remove-fd.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "monitor/monitor.h" 3 | 4 | void monitor_fdset_dup_fd_remove(int dupfd) 5 | { 6 | } 7 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-dict-member.json: -------------------------------------------------------------------------------- 1 | # we reject any enum member that is not a string 2 | { 'enum': 'MyEnum', 'data': [ { 'value': 'str' } ] } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-wrong-data.json: -------------------------------------------------------------------------------- 1 | # we require that all qapi enums have an array for data 2 | { 'enum': 'MyEnum', 'data': { 'value': 'str' } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/event-nest-struct.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/event-nest-struct.json:1: Member 'a' of 'data' for event 'EVENT_A' should be a type name 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-base-any.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-base-any.json:8: 'base' for union 'TestUnion' cannot use built-in type 'any' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/nested-struct-data.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/nested-struct-data.json:2: Member 'a' of 'data' for command 'foo' should be a type name 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-array-bad.json: -------------------------------------------------------------------------------- 1 | # we reject an array return that is not a single type 2 | { 'command': 'oops', 'returns': [ 'str', 'str' ] } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-unknown.json: -------------------------------------------------------------------------------- 1 | # we reject returns if it does not contain a known type 2 | { 'command': 'oops', 'returns': 'NoSuchType' } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/struct-data-invalid.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/struct-data-invalid.json:1: 'data' for struct 'foo' should be a dictionary or type name 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-invalid-base.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/union-invalid-base.json:8: 'base' for union 'TestUnion' cannot use built-in type 'int' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-optional-branch.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/union-optional-branch.json:2: Member of union 'Union' does not allow optional name '*a' 2 | -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/empty.bochs.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/qemu-iotests/sample_images/empty.bochs.bz2 -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/grub_mbr.raw.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/qemu-iotests/sample_images/grub_mbr.raw.bz2 -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/parallels-v1.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/qemu-iotests/sample_images/parallels-v1.bz2 -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/parallels-v2.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/qemu-iotests/sample_images/parallels-v2.bz2 -------------------------------------------------------------------------------- /roms/configure-seabios.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | config="$1" 3 | make -C seabios clean distclean 4 | cp "$config" seabios/.config 5 | make -C seabios oldnoconfig 6 | -------------------------------------------------------------------------------- /stubs/monitor-init.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "monitor/monitor.h" 3 | 4 | void monitor_init(CharDriverState *chr, int flags) 5 | { 6 | } 7 | -------------------------------------------------------------------------------- /stubs/runstate-check.c: -------------------------------------------------------------------------------- 1 | #include "sysemu/sysemu.h" 2 | 3 | bool runstate_check(RunState state) 4 | { 5 | return state == RUN_STATE_PRELAUNCH; 6 | } 7 | -------------------------------------------------------------------------------- /target-unicore32/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += translate.o op_helper.o helper.o cpu.o 2 | obj-y += ucf64_helper.o 3 | 4 | obj-$(CONFIG_SOFTMMU) += softmmu.o 5 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-empty.json: -------------------------------------------------------------------------------- 1 | # FIXME - alternates should list at least two types to be useful 2 | { 'alternate': 'Alt', 'data': { 'i': 'int' } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-nested.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/alternate-nested.json:4: Member 'nested' of alternate 'Alt2' cannot use alternate type 'Alt1' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-unknown.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/alternate-unknown.json:2: Member 'unknown' of alternate 'Alt' uses unknown type 'MissingType' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-array-branch.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-array-branch.json:8: Member 'value1' of union 'TestUnion' cannot be an array 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-member-has.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/reserved-member-has.json:5: Member of 'data' for command 'oops' uses reserved name 'has-a' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-type-kind.json: -------------------------------------------------------------------------------- 1 | # we reject types that would conflict with implicit union enum 2 | { 'enum': 'UnionKind', 'data': [ 'oops' ] } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-array-bad.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/returns-array-bad.json:2: 'returns' for command 'oops': array type must contain single type name 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/struct-member-invalid.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/struct-member-invalid.json:1: Member 'a' of 'data' for struct 'foo' should be a type name 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-base-no-discriminator.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/union-base-no-discriminator.json:11: Simple union 'TestUnion' must not have a base 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-max.json: -------------------------------------------------------------------------------- 1 | # we reject 'max' branch in a union, for collision with C enum 2 | { 'union': 'Union', 3 | 'data': { 'max': 'int' } } 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-unknown.json: -------------------------------------------------------------------------------- 1 | # we reject a union with unknown type in branch 2 | { 'union': 'Union', 3 | 'data': { 'unknown': 'MissingType' } } 4 | -------------------------------------------------------------------------------- /linux-user/arm/nwfpe/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y = fpa11.o fpa11_cpdo.o fpa11_cpdt.o fpa11_cprt.o fpopcode.o 2 | obj-y += single_cpdo.o double_cpdo.o extended_cpdo.o 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-array-empty.json: -------------------------------------------------------------------------------- 1 | # we reject an array for data if it does not contain a known type 2 | { 'command': 'oops', 'data': { 'empty': [ ] } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-member-unknown.json: -------------------------------------------------------------------------------- 1 | # we reject data if it does not contain a known type 2 | { 'command': 'oops', 'data': { 'member': 'NoSuchType' } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/double-data.json: -------------------------------------------------------------------------------- 1 | # we reject an expression with duplicate top-level keys 2 | { 'struct': 'bar', 'data': { }, 'data': { 'string': 'str'} } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-clash-member.json: -------------------------------------------------------------------------------- 1 | # we reject enums where members will clash when mapped to C enum 2 | { 'enum': 'MyEnum', 'data': [ 'one', 'ONE' ] } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-base-union.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-base-union.json:14: 'base' for union 'TestUnion' cannot use union type 'UnionBase' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-clash-member.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-clash-member.json:11: Member name 'name' of branch 'value1' clashes with base 'Base' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-clash-type.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-clash-type.json:11: Discriminator name 'type' collides with enum value in 'TestEnum' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-int-branch.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-int-branch.json:8: Member 'value1' of union 'TestUnion' cannot use built-in type 'int' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-repetition.json: -------------------------------------------------------------------------------- 1 | { 'include': 'comments.json' } 2 | { 'include': 'include-repetition-sub.json' } 3 | { 'include': 'comments.json' } 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/unknown-expr-key.json: -------------------------------------------------------------------------------- 1 | # we reject an expression with unknown top-level keys 2 | { 'struct': 'bar', 'data': { 'string': 'str'}, 'bogus': { } } 3 | -------------------------------------------------------------------------------- /tests/qemu-iotests/040.out: -------------------------------------------------------------------------------- 1 | ......................... 2 | ---------------------------------------------------------------------- 3 | Ran 25 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/055.out: -------------------------------------------------------------------------------- 1 | ........................ 2 | ---------------------------------------------------------------------- 3 | Ran 24 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/tcg/xtensa/test_fail.S: -------------------------------------------------------------------------------- 1 | #include "macros.inc" 2 | 3 | test_suite fail 4 | 5 | test fail 6 | test_fail 7 | test_end 8 | 9 | test_suite_end 10 | -------------------------------------------------------------------------------- /default-configs/cris-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for cris-softmmu 2 | 3 | CONFIG_ETRAXFS=y 4 | CONFIG_NAND=y 5 | CONFIG_PTIMER=y 6 | CONFIG_PFLASH_CFI02=y 7 | -------------------------------------------------------------------------------- /default-configs/m68k-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for m68k-softmmu 2 | 3 | include pci.mak 4 | include usb.mak 5 | CONFIG_COLDFIRE=y 6 | CONFIG_PTIMER=y 7 | -------------------------------------------------------------------------------- /include/hw/qdev.h: -------------------------------------------------------------------------------- 1 | #ifndef QDEV_H 2 | #define QDEV_H 3 | 4 | #include "hw/hw.h" 5 | #include "hw/qdev-core.h" 6 | #include "hw/qdev-properties.h" 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /qobject/Makefile.objs: -------------------------------------------------------------------------------- 1 | util-obj-y = qnull.o qint.o qstring.o qdict.o qlist.o qfloat.o qbool.o 2 | util-obj-y += qjson.o json-lexer.o json-streamer.o json-parser.o 3 | -------------------------------------------------------------------------------- /stubs/cpu-get-clock.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "qemu/timer.h" 3 | 4 | int64_t cpu_get_clock(void) 5 | { 6 | return get_clock_realtime(); 7 | } 8 | -------------------------------------------------------------------------------- /stubs/fdset-find-fd.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "monitor/monitor.h" 3 | 4 | int monitor_fdset_dup_fd_find(int dup_fd) 5 | { 6 | return -1; 7 | } 8 | -------------------------------------------------------------------------------- /stubs/machine-init-done.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "sysemu/sysemu.h" 3 | 4 | void qemu_add_machine_init_done_notifier(Notifier *notify) 5 | { 6 | } 7 | -------------------------------------------------------------------------------- /target-lm32/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += translate.o op_helper.o helper.o cpu.o 2 | obj-y += gdbstub.o 3 | obj-y += lm32-semi.o 4 | obj-$(CONFIG_SOFTMMU) += machine.o 5 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-array-unknown.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/args-array-unknown.json:2: Member 'array' of 'data' for command 'oops' uses unknown type 'NoSuchType' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-member-unknown.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/args-member-unknown.json:2: Member 'member' of 'data' for command 'oops' uses unknown type 'NoSuchType' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-string-discriminator.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-string-discriminator.json:13: Discriminator 'kind' must be of enumeration type 2 | -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/test-disk2vhd.vhdx.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/qemu-iotests/sample_images/test-disk2vhd.vhdx.bz2 -------------------------------------------------------------------------------- /tests/rocker/README: -------------------------------------------------------------------------------- 1 | Tests require simp (simple network simulator) found here: 2 | 3 | https://github.com/scottfeldman/simp 4 | 5 | Run 'all' to run all tests. 6 | -------------------------------------------------------------------------------- /include/hw/acpi/piix4.h: -------------------------------------------------------------------------------- 1 | #ifndef HW_ACPI_PIIX4_H 2 | #define HW_ACPI_PIIX4_H 3 | 4 | #include "qemu/typedefs.h" 5 | 6 | Object *piix4_pm_find(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /include/trace.h: -------------------------------------------------------------------------------- 1 | #ifndef TRACE_H 2 | #define TRACE_H 3 | 4 | #include "trace/generated-tracers.h" 5 | #include "trace/generated-events.h" 6 | 7 | #endif /* TRACE_H */ 8 | -------------------------------------------------------------------------------- /roms/config.vga-qxl: -------------------------------------------------------------------------------- 1 | CONFIG_BUILD_VGABIOS=y 2 | CONFIG_VGA_BOCHS=y 3 | CONFIG_VGA_PCI=y 4 | CONFIG_OVERRIDE_PCI_ID=y 5 | CONFIG_VGA_VID=0x1b36 6 | CONFIG_VGA_DID=0x0100 7 | -------------------------------------------------------------------------------- /tcg/LICENSE: -------------------------------------------------------------------------------- 1 | All the files in this directory and subdirectories are released under 2 | a BSD like license (see header in each file). No other license is 3 | accepted. 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-conflict-dict.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/alternate-conflict-dict.json:6: Alternate 'Alt' member 'two' can't be distinguished from member 'one' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-conflict-string.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/alternate-conflict-string.json:4: Alternate 'Alt' member 'two' can't be distinguished from member 'one' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-array-empty.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/args-array-empty.json:2: Member 'empty' of 'data' for command 'oops': array type must contain single type name 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-bad-discriminator.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-bad-discriminator.json:11: Discriminator of flat union 'TestUnion' requires a string name 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-nested-err.err: -------------------------------------------------------------------------------- 1 | In file included from tests/qapi-schema/include-nested-err.json:1: 2 | tests/qapi-schema/missing-colon.json:1:10: Expected ":" 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/redefined-type.json: -------------------------------------------------------------------------------- 1 | # we reject types defined more than once 2 | { 'struct': 'foo', 'data': { 'one': 'str' } } 3 | { 'enum': 'foo', 'data': [ 'two' ] } 4 | -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/iotest-dynamic-1G.vhdx.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/qemu-iotests/sample_images/iotest-dynamic-1G.vhdx.bz2 -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/iotest-version3.vmdk.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/qemu-iotests/sample_images/iotest-version3.vmdk.bz2 -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/simple-pattern.cloop.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/qemu-iotests/sample_images/simple-pattern.cloop.bz2 -------------------------------------------------------------------------------- /tests/tcg/cris/check_openpf4.c: -------------------------------------------------------------------------------- 1 | /* Basic file operations, now *with* sysroot. 2 | #sim: --sysroot=@exedir@ 3 | */ 4 | #define PREFIX "/" 5 | #include "check_openpf3.c" 6 | -------------------------------------------------------------------------------- /hw/sh4/sh7750_regnames.h: -------------------------------------------------------------------------------- 1 | #ifndef _SH7750_REGNAMES_H 2 | #define _SH7750_REGNAMES_H 3 | 4 | const char *regname(uint32_t addr); 5 | 6 | #endif /* _SH7750_REGNAMES_H */ 7 | -------------------------------------------------------------------------------- /roms/config.vga-virtio: -------------------------------------------------------------------------------- 1 | CONFIG_BUILD_VGABIOS=y 2 | CONFIG_VGA_BOCHS=y 3 | CONFIG_VGA_PCI=y 4 | CONFIG_OVERRIDE_PCI_ID=y 5 | CONFIG_VGA_VID=0x1af4 6 | CONFIG_VGA_DID=0x1050 7 | -------------------------------------------------------------------------------- /roms/config.vga-vmware: -------------------------------------------------------------------------------- 1 | CONFIG_BUILD_VGABIOS=y 2 | CONFIG_VGA_BOCHS=y 3 | CONFIG_VGA_PCI=y 4 | CONFIG_OVERRIDE_PCI_ID=y 5 | CONFIG_VGA_VID=0x15ad 6 | CONFIG_VGA_DID=0x0405 7 | -------------------------------------------------------------------------------- /stubs/fdset-get-fd.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "monitor/monitor.h" 3 | 4 | int monitor_fdset_get_fd(int64_t fdset_id, int flags) 5 | { 6 | return -1; 7 | } 8 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-array-unknown.json: -------------------------------------------------------------------------------- 1 | # we reject an array for data if it does not contain a known type 2 | { 'command': 'oops', 'data': { 'array': [ 'NoSuchType' ] } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-invalid-branch-key.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-invalid-branch-key.json:13: Discriminator value 'value_wrong' is not found in enum 'TestEnum' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-whitelist.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/returns-whitelist.json:10: 'returns' for command 'no-way-this-will-get-whitelisted' cannot use built-in type 'int' 2 | -------------------------------------------------------------------------------- /tests/qemu-iotests/111.out: -------------------------------------------------------------------------------- 1 | QA output created by 111 2 | qemu-img: TEST_DIR/t.IMGFMT: Could not open 'TEST_DIR/t.IMGFMT.inexistent': No such file or directory 3 | *** done 4 | -------------------------------------------------------------------------------- /tests/qemu-iotests/136.out: -------------------------------------------------------------------------------- 1 | ........................................ 2 | ---------------------------------------------------------------------- 3 | Ran 40 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /module-common.c: -------------------------------------------------------------------------------- 1 | #include "config-host.h" 2 | #include "qemu/module.h" 3 | 4 | void qemu_module_dummy(void) 5 | { 6 | } 7 | 8 | void DSO_STAMP_FUN(void) 9 | { 10 | } 11 | -------------------------------------------------------------------------------- /stubs/cpu-get-icount.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "qemu/timer.h" 3 | 4 | int use_icount; 5 | 6 | int64_t cpu_get_icount(void) 7 | { 8 | abort(); 9 | } 10 | -------------------------------------------------------------------------------- /stubs/fdset-add-fd.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "monitor/monitor.h" 3 | 4 | int monitor_fdset_dup_fd_add(int64_t fdset_id, int dup_fd) 5 | { 6 | return -1; 7 | } 8 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-unknown.json: -------------------------------------------------------------------------------- 1 | # we reject an alternate with unknown type in branch 2 | { 'alternate': 'Alt', 3 | 'data': { 'unknown': 'MissingType', 'i': 'int' } } 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-member-array-bad.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/args-member-array-bad.json:2: Member 'member' of 'data' for command 'oops': array type must contain single type name 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-member-array-bad.json: -------------------------------------------------------------------------------- 1 | # we reject data if it does not contain a valid array type 2 | { 'command': 'oops', 'data': { 'member': [ { 'nested': 'str' } ] } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/escape-outside-string.json: -------------------------------------------------------------------------------- 1 | # escape sequences are permitted only inside strings 2 | # { 'command': 'foo', 'data': {} } 3 | { 'command': 'foo', 'data'\u003a{} } 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/redefined-event.json: -------------------------------------------------------------------------------- 1 | # we reject duplicate events 2 | { 'event': 'EVENT_A', 'data': { 'myint': 'int' } } 3 | { 'event': 'EVENT_A', 'data': { 'myint': 'int' } } 4 | -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/iotest-dirtylog-10G-4M.vhdx.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prplfoundation/qemu/HEAD/tests/qemu-iotests/sample_images/iotest-dirtylog-10G-4M.vhdx.bz2 -------------------------------------------------------------------------------- /tests/tcg/lm32/test_b.S: -------------------------------------------------------------------------------- 1 | .include "macros.inc" 2 | 3 | start 4 | 5 | test_name B_1 6 | load r1 jump 7 | b r1 8 | tc_fail 9 | end 10 | 11 | jump: 12 | tc_pass 13 | end 14 | -------------------------------------------------------------------------------- /include/hw/empty_slot.h: -------------------------------------------------------------------------------- 1 | #ifndef HW_EMPTY_SLOT_H 2 | #define HW_EMPTY_SLOT_H 1 3 | 4 | /* empty_slot.c */ 5 | void empty_slot_init(hwaddr addr, uint64_t slot_size); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /stubs/cpus.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "qom/cpu.h" 3 | 4 | void cpu_resume(CPUState *cpu) 5 | { 6 | } 7 | 8 | void qemu_init_vcpu(CPUState *cpu) 9 | { 10 | } 11 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-empty.out: -------------------------------------------------------------------------------- 1 | object :empty 2 | object Base 3 | member type: Empty optional=False 4 | enum Empty [] 5 | object Union 6 | base Base 7 | tag type 8 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-invalid-discriminator.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-invalid-discriminator.json:13: Discriminator 'enum_wrong' is not a member of base struct 'TestBase' 2 | -------------------------------------------------------------------------------- /tests/qemu-iotests/Makefile: -------------------------------------------------------------------------------- 1 | 2 | CLEANFILES= *.out.bad *.notrun check.log check.time 3 | 4 | # no default target 5 | default: 6 | 7 | clean: 8 | rm -f $(CLEANFILES) 9 | 10 | -------------------------------------------------------------------------------- /include/trace-tcg.h: -------------------------------------------------------------------------------- 1 | #ifndef TRACE_TCG_H 2 | #define TRACE_TCG_H 3 | 4 | #include "trace/generated-tcg-tracers.h" 5 | #include "trace/generated-events.h" 6 | 7 | #endif /* TRACE_TCG_H */ 8 | -------------------------------------------------------------------------------- /replay/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-y += replay.o 2 | common-obj-y += replay-internal.o 3 | common-obj-y += replay-events.o 4 | common-obj-y += replay-time.o 5 | common-obj-y += replay-input.o 6 | -------------------------------------------------------------------------------- /stubs/mon-is-qmp.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "monitor/monitor.h" 3 | 4 | Monitor *cur_mon; 5 | 6 | bool monitor_cur_is_qmp(void) 7 | { 8 | return false; 9 | } 10 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-alternate.json: -------------------------------------------------------------------------------- 1 | # we do not allow alternate arguments 2 | { 'alternate': 'Alt', 'data': { 'case1': 'int', 'case2': 'str' } } 3 | { 'command': 'oops', 'data': 'Alt' } 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/comments.json: -------------------------------------------------------------------------------- 1 | # Unindented comment 2 | { 'enum': 'Status', # Comment to the right of code 3 | # Indented comment 4 | 'data': [ 'good', 'bad', 'ugly' ] } 5 | -------------------------------------------------------------------------------- /tests/qapi-schema/event-case.json: -------------------------------------------------------------------------------- 1 | # TODO: might be nice to enforce naming conventions; but until then this works 2 | # even though events should usually be ALL_CAPS 3 | { 'event': 'oops' } 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/indented-expr.out: -------------------------------------------------------------------------------- 1 | object :empty 2 | command eins None -> None 3 | gen=True success_response=True 4 | command zwei None -> None 5 | gen=True success_response=True 6 | -------------------------------------------------------------------------------- /tests/qapi-schema/redefined-command.json: -------------------------------------------------------------------------------- 1 | # we reject commands defined more than once 2 | { 'command': 'foo', 'data': { 'one': 'str' } } 3 | { 'command': 'foo', 'data': { '*two': 'str' } } 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/unknown-escape.json: -------------------------------------------------------------------------------- 1 | # we only recognize JSON escape sequences, plus our \' extension (no \x) 2 | # { 'command': 'foo', 'data': {} } 3 | { 'command': 'foo', 'dat\x61':{} } 4 | -------------------------------------------------------------------------------- /tests/qemu-iotests/041.out: -------------------------------------------------------------------------------- 1 | ...................................................... 2 | ---------------------------------------------------------------------- 3 | Ran 54 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/tcg/lm32/test_ret.S: -------------------------------------------------------------------------------- 1 | .include "macros.inc" 2 | 3 | start 4 | 5 | test_name RET_1 6 | load ra mark 7 | ret 8 | 9 | tc_fail 10 | end 11 | 12 | mark: 13 | tc_pass 14 | end 15 | -------------------------------------------------------------------------------- /hw/i386/acpi-build.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef HW_I386_ACPI_BUILD_H 3 | #define HW_I386_ACPI_BUILD_H 4 | 5 | #include "qemu/typedefs.h" 6 | 7 | void acpi_setup(PcGuestInfo *); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /stubs/is-daemonized.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | 3 | /* Win32 has its own inline stub */ 4 | #ifndef _WIN32 5 | bool is_daemonized(void) 6 | { 7 | return false; 8 | } 9 | #endif 10 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-optional-discriminator.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-optional-discriminator.json:6: Discriminator of flat union 'MyUnion' does not allow optional name '*switch' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/returns-alternate.json: -------------------------------------------------------------------------------- 1 | # we reject returns if it is an alternate type 2 | { 'alternate': 'Alt', 'data': { 'a': 'int', 'b': 'str' } } 3 | { 'command': 'oops', 'returns': 'Alt' } 4 | -------------------------------------------------------------------------------- /tests/qemu-iotests-quick.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd tests/qemu-iotests 4 | 5 | ret=0 6 | TEST_DIR=${TEST_DIR:-/tmp/qemu-iotests-quick-$$} ./check -T -qcow2 -g quick || ret=1 7 | 8 | exit $ret 9 | -------------------------------------------------------------------------------- /tests/qemu-iotests/118.out: -------------------------------------------------------------------------------- 1 | ........................................................... 2 | ---------------------------------------------------------------------- 3 | Ran 59 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qapi-schema/ident-with-escape.out: -------------------------------------------------------------------------------- 1 | object :empty 2 | object :obj-fooA-arg 3 | member bar1: str optional=False 4 | command fooA :obj-fooA-arg -> None 5 | gen=True success_response=True 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/.gitignore: -------------------------------------------------------------------------------- 1 | check.log 2 | check.time 3 | common.env 4 | *.out.bad 5 | *.notrun 6 | socket_scm_helper 7 | 8 | # ignore everything in the scratch directory 9 | scratch/ 10 | -------------------------------------------------------------------------------- /default-configs/s390x-softmmu.mak: -------------------------------------------------------------------------------- 1 | CONFIG_PCI=y 2 | CONFIG_VIRTIO_PCI=y 3 | CONFIG_VIRTIO=y 4 | CONFIG_SCLPCONSOLE=y 5 | CONFIG_S390_FLIC=y 6 | CONFIG_S390_FLIC_KVM=$(CONFIG_KVM) 7 | CONFIG_WDT_DIAG288=y 8 | -------------------------------------------------------------------------------- /hw/cpu/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-$(CONFIG_ARM11MPCORE) += arm11mpcore.o 2 | obj-$(CONFIG_REALVIEW) += realview_mpcore.o 3 | obj-$(CONFIG_A9MPCORE) += a9mpcore.o 4 | obj-$(CONFIG_A15MPCORE) += a15mpcore.o 5 | 6 | -------------------------------------------------------------------------------- /target-alpha/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-$(CONFIG_SOFTMMU) += machine.o 2 | obj-y += translate.o helper.o cpu.o 3 | obj-y += int_helper.o fpu_helper.o vax_helper.o sys_helper.o mem_helper.o 4 | obj-y += gdbstub.o 5 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-base.json: -------------------------------------------------------------------------------- 1 | # we reject a base that is not a struct 2 | { 'union': 'Union', 'data': { 'a': 'int', 'b': 'str' } } 3 | { 'struct': 'MyType', 'base': 'Union', 'data': { 'c': 'int' } } 4 | -------------------------------------------------------------------------------- /tests/qemu-iotests/135.out: -------------------------------------------------------------------------------- 1 | QA output created by 135 2 | 3 | === Verify image open and failure ==== 4 | qemu-img: Could not open 'TEST_DIR/afl5.img': Max Table Entries too large (1073741825) 5 | *** done 6 | -------------------------------------------------------------------------------- /bsd-user/sparc/syscall.h: -------------------------------------------------------------------------------- 1 | struct target_pt_regs { 2 | abi_ulong psr; 3 | abi_ulong pc; 4 | abi_ulong npc; 5 | abi_ulong y; 6 | abi_ulong u_regs[16]; 7 | }; 8 | 9 | #define UNAME_MACHINE "sun4" 10 | -------------------------------------------------------------------------------- /default-configs/aarch64-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for aarch64-softmmu 2 | 3 | # We support all the 32 bit boards so need all their config 4 | include arm-softmmu.mak 5 | 6 | CONFIG_XLNX_ZYNQMP=y 7 | -------------------------------------------------------------------------------- /tests/qapi-schema/nested-struct-data.json: -------------------------------------------------------------------------------- 1 | # inline subtypes collide with our desired future use of defaults 2 | { 'command': 'foo', 3 | 'data': { 'a' : { 'string' : 'str', 'integer': 'int' }, 'b' : 'str' } } 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-clash-data.out: -------------------------------------------------------------------------------- 1 | object :empty 2 | object :obj-int-wrapper 3 | member data: int optional=False 4 | object TestUnion 5 | case data: :obj-int-wrapper 6 | enum TestUnionKind ['data'] 7 | -------------------------------------------------------------------------------- /hw/watchdog/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-y += watchdog.o 2 | common-obj-$(CONFIG_WDT_IB6300ESB) += wdt_i6300esb.o 3 | common-obj-$(CONFIG_WDT_IB700) += wdt_ib700.o 4 | common-obj-$(CONFIG_WDT_DIAG288) += wdt_diag288.o 5 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-union.json: -------------------------------------------------------------------------------- 1 | # we do not allow union arguments 2 | # TODO should we support this? 3 | { 'union': 'Uni', 'data': { 'case1': 'int', 'case2': 'str' } } 4 | { 'command': 'oops', 'data': 'Uni' } 5 | -------------------------------------------------------------------------------- /tests/qapi-schema/bad-type-int.json: -------------------------------------------------------------------------------- 1 | # we reject an expression with a metatype that is not a string 2 | # FIXME: once the parser understands integer inputs, improve the error message 3 | { 'struct': 1, 'data': { } } 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-int-member.json: -------------------------------------------------------------------------------- 1 | # we reject any enum member that is not a string 2 | # FIXME: once the parser understands integer inputs, improve the error message 3 | { 'enum': 'MyEnum', 'data': [ 1 ] } 4 | -------------------------------------------------------------------------------- /hw/nvram/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-$(CONFIG_DS1225Y) += ds1225y.o 2 | common-obj-y += eeprom93xx.o 3 | common-obj-y += fw_cfg.o 4 | common-obj-$(CONFIG_MAC_NVRAM) += mac_nvram.o 5 | obj-$(CONFIG_PSERIES) += spapr_nvram.o 6 | -------------------------------------------------------------------------------- /stubs/migr-blocker.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "migration/migration.h" 3 | 4 | void migrate_add_blocker(Error *reason) 5 | { 6 | } 7 | 8 | void migrate_del_blocker(Error *reason) 9 | { 10 | } 11 | -------------------------------------------------------------------------------- /target-mips/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += translate.o dsp_helper.o op_helper.o lmi_helper.o helper.o cpu.o 2 | obj-y += gdbstub.o msa_helper.o mips-semi.o 3 | obj-$(CONFIG_SOFTMMU) += machine.o 4 | obj-$(CONFIG_KVM) += kvm.o 5 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-base.json: -------------------------------------------------------------------------------- 1 | # we reject alternate with base type 2 | { 'struct': 'Base', 3 | 'data': { 'string': 'str' } } 4 | { 'alternate': 'Alt', 5 | 'base': 'Base', 6 | 'data': { 'number': 'int' } } 7 | -------------------------------------------------------------------------------- /tests/tcg/cris/.gdbinit: -------------------------------------------------------------------------------- 1 | b main 2 | b _fail 3 | b exit 4 | display /i $pc 5 | display /x $srp 6 | display /x $r0 7 | display /x $r1 8 | display /x $r2 9 | display /x $r3 10 | display /x $r4 11 | display /t $ccs 12 | -------------------------------------------------------------------------------- /tests/tcg/lm32/test_calli.S: -------------------------------------------------------------------------------- 1 | .include "macros.inc" 2 | 3 | start 4 | 5 | test_name CALLI_1 6 | calli mark 7 | return: 8 | 9 | tc_fail 10 | end 11 | 12 | mark: 13 | mv r3, ra 14 | check_r3 return 15 | end 16 | -------------------------------------------------------------------------------- /hw/mips/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += mips_r4k.o mips_malta.o mips_mipssim.o 2 | obj-y += addr.o cputimer.o mips_int.o 3 | obj-$(CONFIG_JAZZ) += mips_jazz.o 4 | obj-$(CONFIG_FULONG) += mips_fulong2e.o 5 | obj-y += gt64xxx_pci.o 6 | -------------------------------------------------------------------------------- /hw/vfio/Makefile.objs: -------------------------------------------------------------------------------- 1 | ifeq ($(CONFIG_LINUX), y) 2 | obj-$(CONFIG_SOFTMMU) += common.o 3 | obj-$(CONFIG_PCI) += pci.o pci-quirks.o 4 | obj-$(CONFIG_SOFTMMU) += platform.o 5 | obj-$(CONFIG_SOFTMMU) += calxeda-xgmac.o 6 | endif 7 | -------------------------------------------------------------------------------- /include/hw/mips/bios.h: -------------------------------------------------------------------------------- 1 | #include "cpu.h" 2 | 3 | #define BIOS_SIZE (4 * 1024 * 1024) 4 | #ifdef TARGET_WORDS_BIGENDIAN 5 | #define BIOS_FILENAME "mips_bios.bin" 6 | #else 7 | #define BIOS_FILENAME "mipsel_bios.bin" 8 | #endif 9 | -------------------------------------------------------------------------------- /include/hw/pci-host/ppce500.h: -------------------------------------------------------------------------------- 1 | #ifndef PPCE500_PCI_H 2 | #define PPCE500_PCI_H 3 | 4 | static inline int ppce500_pci_map_irq_slot(int devno, int irq_num) 5 | { 6 | return (devno + irq_num) % 4; 7 | } 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /stubs/target-monitor-defs.c: -------------------------------------------------------------------------------- 1 | #include "stddef.h" 2 | #include "qemu/typedefs.h" 3 | 4 | const MonitorDef *target_monitor_defs(void); 5 | 6 | const MonitorDef *target_monitor_defs(void) 7 | { 8 | return NULL; 9 | } 10 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-max-member.json: -------------------------------------------------------------------------------- 1 | # we reject user-supplied 'max' for clashing with implicit enum end 2 | # TODO: should we instead munge the implicit value to avoid the clash? 3 | { 'enum': 'MyEnum', 'data': [ 'max' ] } 4 | -------------------------------------------------------------------------------- /tests/tcg/lm32/test_call.S: -------------------------------------------------------------------------------- 1 | .include "macros.inc" 2 | 3 | start 4 | 5 | test_name CALL_1 6 | load r1 mark 7 | call r1 8 | return: 9 | 10 | tc_fail 11 | end 12 | 13 | mark: 14 | mv r3, ra 15 | check_r3 return 16 | end 17 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-nested.json: -------------------------------------------------------------------------------- 1 | # we reject a nested alternate branch 2 | { 'alternate': 'Alt1', 3 | 'data': { 'name': 'str', 'value': 'int' } } 4 | { 'alternate': 'Alt2', 5 | 'data': { 'nested': 'Alt1', 'b': 'bool' } } 6 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-name-clash.out: -------------------------------------------------------------------------------- 1 | object :empty 2 | object :obj-oops-arg 3 | member a-b: str optional=False 4 | member a_b: str optional=False 5 | command oops :obj-oops-arg -> None 6 | gen=True success_response=True 7 | -------------------------------------------------------------------------------- /tests/tcg/cris/crt.s: -------------------------------------------------------------------------------- 1 | .data 2 | _stack_start: 3 | .space 8192, 0 4 | _stack_end: 5 | .text 6 | .global _start 7 | _start: 8 | move.d _stack_end, $sp 9 | jsr main 10 | nop 11 | moveq 0, $r10 12 | jump exit 13 | nop 14 | -------------------------------------------------------------------------------- /bsd-user/sparc64/syscall.h: -------------------------------------------------------------------------------- 1 | struct target_pt_regs { 2 | abi_ulong u_regs[16]; 3 | abi_ulong tstate; 4 | abi_ulong pc; 5 | abi_ulong npc; 6 | abi_ulong y; 7 | abi_ulong fprs; 8 | }; 9 | 10 | #define UNAME_MACHINE "sun4u" 11 | -------------------------------------------------------------------------------- /hw/pci-bridge/dec.h: -------------------------------------------------------------------------------- 1 | #ifndef DEC_PCI_H 2 | #define DEC_PCI_H 3 | 4 | #include "qemu-common.h" 5 | 6 | #define TYPE_DEC_21154 "dec-21154-sysbus" 7 | 8 | PCIBus *pci_dec_21154_init(PCIBus *parent_bus, int devfn); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /target-moxie/helper.h: -------------------------------------------------------------------------------- 1 | DEF_HELPER_2(raise_exception, void, env, int) 2 | DEF_HELPER_1(debug, void, env) 3 | 4 | DEF_HELPER_FLAGS_3(div, TCG_CALL_NO_WG, i32, env, i32, i32) 5 | DEF_HELPER_FLAGS_3(udiv, TCG_CALL_NO_WG, i32, env, i32, i32) 6 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-command-q.json: -------------------------------------------------------------------------------- 1 | # C entity name collision 2 | # We reject names like 'q-unix', because they can collide with the mangled 3 | # name for 'unix' in generated C. 4 | { 'command': 'unix' } 5 | { 'command': 'q-unix' } 6 | -------------------------------------------------------------------------------- /target-xtensa/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += xtensa-semi.o 2 | obj-y += core-dc232b.o 3 | obj-y += core-dc233c.o 4 | obj-y += core-fsf.o 5 | obj-$(CONFIG_SOFTMMU) += monitor.o 6 | obj-y += translate.o op_helper.o helper.o cpu.o 7 | obj-y += gdbstub.o 8 | -------------------------------------------------------------------------------- /tests/tcg/cris/check_cmp-2.s: -------------------------------------------------------------------------------- 1 | 2 | 3 | .include "testutils.inc" 4 | 5 | start 6 | 7 | move.d 4294967283, $r0 8 | move.d $r0, $r10 9 | cmp.d $r0, $r10 10 | beq 1f 11 | move.d $r10, $r3 12 | fail 13 | 1: 14 | pass 15 | quit 16 | -------------------------------------------------------------------------------- /.exrc: -------------------------------------------------------------------------------- 1 | "VIM settings to match QEMU coding style. They are activated by adding the 2 | "following settings (without the " symbol) as last two lines in $HOME/.vimrc: 3 | "set secure 4 | "set exrc 5 | set expandtab 6 | set shiftwidth=4 7 | set smarttab 8 | -------------------------------------------------------------------------------- /hw/ssi/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-$(CONFIG_PL022) += pl022.o 2 | common-obj-$(CONFIG_SSI) += ssi.o 3 | common-obj-$(CONFIG_XILINX_SPI) += xilinx_spi.o 4 | common-obj-$(CONFIG_XILINX_SPIPS) += xilinx_spips.o 5 | 6 | obj-$(CONFIG_OMAP) += omap_spi.o 7 | -------------------------------------------------------------------------------- /stubs/get-fd.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "monitor/monitor.h" 3 | 4 | int monitor_get_fd(Monitor *mon, const char *name, Error **errp) 5 | { 6 | error_setg(errp, "only QEMU supports file descriptor passing"); 7 | return -1; 8 | } 9 | -------------------------------------------------------------------------------- /stubs/mon-printf.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "monitor/monitor.h" 3 | 4 | void monitor_printf(Monitor *mon, const char *fmt, ...) 5 | { 6 | } 7 | 8 | void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap) 9 | { 10 | } 11 | -------------------------------------------------------------------------------- /stubs/slirp.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "slirp/slirp.h" 3 | 4 | void slirp_pollfds_fill(GArray *pollfds, uint32_t *timeout) 5 | { 6 | } 7 | 8 | void slirp_pollfds_poll(GArray *pollfds, int select_error) 9 | { 10 | } 11 | 12 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-cycle.err: -------------------------------------------------------------------------------- 1 | In file included from tests/qapi-schema/include-cycle.json:1: 2 | In file included from tests/qapi-schema/include-cycle-b.json:1: 3 | tests/qapi-schema/include-cycle-c.json:1: Inclusion loop for include-cycle.json 4 | -------------------------------------------------------------------------------- /tests/rocker/tut.dot: -------------------------------------------------------------------------------- 1 | graph G { 2 | graph [hostidtype="hostname", version="1:0", date="04/12/2013"]; 3 | edge [dir=none, notify="log"]; 4 | sw1:swp1 -- h1:swp1; 5 | sw1:swp2 -- h2:swp1; 6 | sw1:swp3 -- h3:swp1; 7 | sw1:swp4 -- h4:swp1; 8 | } 9 | -------------------------------------------------------------------------------- /roms/config.seabios-128k: -------------------------------------------------------------------------------- 1 | # for qemu machine types 1.7 + older 2 | # need to turn off features (xhci,uas) to make it fit into 128k 3 | CONFIG_QEMU=y 4 | CONFIG_ROM_SIZE=128 5 | CONFIG_XEN=n 6 | CONFIG_USB_XHCI=n 7 | CONFIG_USB_UAS=n 8 | CONFIG_SDCARD=n 9 | -------------------------------------------------------------------------------- /slirp/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-y = cksum.o if.o ip_icmp.o ip_input.o ip_output.o dnssearch.o 2 | common-obj-y += slirp.o mbuf.o misc.o sbuf.o socket.o tcp_input.o tcp_output.o 3 | common-obj-y += tcp_subr.o tcp_timer.o udp.o bootp.o tftp.o arp_table.o 4 | -------------------------------------------------------------------------------- /stubs/vm-stop.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "sysemu/sysemu.h" 3 | 4 | void qemu_system_vmstop_request_prepare(void) 5 | { 6 | abort(); 7 | } 8 | 9 | void qemu_system_vmstop_request(RunState state) 10 | { 11 | abort(); 12 | } 13 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-empty.json: -------------------------------------------------------------------------------- 1 | # FIXME - flat unions should not be empty 2 | { 'enum': 'Empty', 'data': [ ] } 3 | { 'struct': 'Base', 'data': { 'type': 'Empty' } } 4 | { 'union': 'Union', 'base': 'Base', 'discriminator': 'type', 'data': { } } 5 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-member-q.json: -------------------------------------------------------------------------------- 1 | # C member name collision 2 | # We reject names like 'q-unix', because they can collide with the mangled 3 | # name for 'unix' in generated C. 4 | { 'struct': 'Foo', 'data': { 'unix':'int', 'q-unix':'bool' } } 5 | -------------------------------------------------------------------------------- /ui/shader/texture-blit.frag: -------------------------------------------------------------------------------- 1 | 2 | #version 300 es 3 | 4 | uniform sampler2D image; 5 | in mediump vec2 ex_tex_coord; 6 | out mediump vec4 out_frag_color; 7 | 8 | void main(void) { 9 | out_frag_color = texture(image, ex_tex_coord); 10 | } 11 | -------------------------------------------------------------------------------- /stubs/gdbstub.c: -------------------------------------------------------------------------------- 1 | #include "stdbool.h" /* bool (in exec/gdbstub.h) */ 2 | #include "stddef.h" /* NULL */ 3 | #include "exec/gdbstub.h" /* xml_builtin */ 4 | 5 | const char *const xml_builtin[][2] = { 6 | { NULL, NULL } 7 | }; 8 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-conflict-string.json: -------------------------------------------------------------------------------- 1 | # we reject alternates with multiple string-like branches 2 | { 'enum': 'Enum', 3 | 'data': [ 'hello', 'world' ] } 4 | { 'alternate': 'Alt', 5 | 'data': { 'one': 'str', 6 | 'two': 'Enum' } } 7 | -------------------------------------------------------------------------------- /include/hw/vfio/vfio.h: -------------------------------------------------------------------------------- 1 | #ifndef VFIO_API_H 2 | #define VFIO_API_H 3 | 4 | #include "qemu/typedefs.h" 5 | 6 | extern int vfio_container_ioctl(AddressSpace *as, int32_t groupid, 7 | int req, void *param); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /include/hw/tricore/tricore.h: -------------------------------------------------------------------------------- 1 | #ifndef TRICORE_MISC_H 2 | #define TRICORE_MISC_H 1 3 | 4 | #include "exec/memory.h" 5 | #include "hw/irq.h" 6 | 7 | struct tricore_boot_info { 8 | uint64_t ram_size; 9 | const char *kernel_filename; 10 | }; 11 | #endif 12 | -------------------------------------------------------------------------------- /linux-user/uname.h: -------------------------------------------------------------------------------- 1 | #ifndef UNAME_H 2 | #define UNAME_H 1 3 | 4 | #include 5 | #include 6 | 7 | const char *cpu_to_uname_machine(void *cpu_env); 8 | int sys_uname(struct new_utsname *buf); 9 | 10 | #endif /* UNAME _H */ 11 | -------------------------------------------------------------------------------- /target-openrisc/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-$(CONFIG_SOFTMMU) += machine.o 2 | obj-y += cpu.o exception.o interrupt.o mmu.o translate.o 3 | obj-y += exception_helper.o fpu_helper.o int_helper.o \ 4 | interrupt_helper.o mmu_helper.o sys_helper.o 5 | obj-y += gdbstub.o 6 | -------------------------------------------------------------------------------- /linux-user/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y = main.o syscall.o strace.o mmap.o signal.o \ 2 | elfload.o linuxload.o uaccess.o uname.o 3 | 4 | obj-$(TARGET_HAS_BFLT) += flatload.o 5 | obj-$(TARGET_I386) += vm86.o 6 | obj-$(TARGET_ARM) += arm/nwfpe/ 7 | obj-$(TARGET_M68K) += m68k-sim.o 8 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-array.json: -------------------------------------------------------------------------------- 1 | # we do not allow array branches in alternates 2 | # TODO: should we support this? 3 | { 'struct': 'One', 4 | 'data': { 'name': 'str' } } 5 | { 'alternate': 'Alt', 6 | 'data': { 'one': 'One', 7 | 'two': [ 'int' ] } } 8 | -------------------------------------------------------------------------------- /stubs/arch-query-cpu-def.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "sysemu/arch_init.h" 3 | #include "qapi/qmp/qerror.h" 4 | 5 | CpuDefinitionInfoList *arch_query_cpu_definitions(Error **errp) 6 | { 7 | error_setg(errp, QERR_UNSUPPORTED); 8 | return NULL; 9 | } 10 | -------------------------------------------------------------------------------- /stubs/qmp_pc_dimm_device_list.c: -------------------------------------------------------------------------------- 1 | #include "qom/object.h" 2 | #include "hw/mem/pc-dimm.h" 3 | 4 | int qmp_pc_dimm_device_list(Object *obj, void *opaque) 5 | { 6 | return 0; 7 | } 8 | 9 | ram_addr_t get_current_ram_size(void) 10 | { 11 | return ram_size; 12 | } 13 | -------------------------------------------------------------------------------- /target-s390x/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += translate.o helper.o cpu.o interrupt.o 2 | obj-y += int_helper.o fpu_helper.o cc_helper.o mem_helper.o misc_helper.o 3 | obj-y += gdbstub.o 4 | obj-$(CONFIG_SOFTMMU) += machine.o ioinst.o arch_dump.o mmu_helper.o 5 | obj-$(CONFIG_KVM) += kvm.o 6 | -------------------------------------------------------------------------------- /tests/qapi-schema/ident-with-escape.json: -------------------------------------------------------------------------------- 1 | # we allow escape sequences in strings, if they map back to ASCII 2 | # { 'command': 'fooA', 'data': { 'bar1': 'str' } } 3 | { 'c\u006fmmand': '\u0066\u006f\u006FA', 4 | 'd\u0061ta': { '\u0062\u0061\u00721': '\u0073\u0074\u0072' } } 5 | -------------------------------------------------------------------------------- /tests/qemu-iotests/115.out: -------------------------------------------------------------------------------- 1 | QA output created by 115 2 | 3 | === Testing large refcount and L1 table === 4 | 5 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=268435456 preallocation=metadata 6 | No errors were found on the image. 7 | 100.00% allocated clusters 8 | *** done 9 | -------------------------------------------------------------------------------- /ui/shader/texture-blit.vert: -------------------------------------------------------------------------------- 1 | 2 | #version 300 es 3 | 4 | in vec2 in_position; 5 | out vec2 ex_tex_coord; 6 | 7 | void main(void) { 8 | gl_Position = vec4(in_position, 0.0, 1.0); 9 | ex_tex_coord = vec2(1.0 + in_position.x, 1.0 - in_position.y) * 0.5; 10 | } 11 | -------------------------------------------------------------------------------- /tests/tcg/lm32/test_bi.S: -------------------------------------------------------------------------------- 1 | .include "macros.inc" 2 | 3 | start 4 | 5 | test_name BI_1 6 | bi jump 7 | tc_fail 8 | end 9 | 10 | jump_back: 11 | tc_pass 12 | end 13 | 14 | jump: 15 | tc_pass 16 | 17 | test_name BI_2 18 | bi jump_back 19 | tc_fail 20 | 21 | end 22 | 23 | 24 | -------------------------------------------------------------------------------- /default-configs/lm32-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for lm32-softmmu 2 | 3 | CONFIG_LM32=y 4 | CONFIG_MILKYMIST=y 5 | CONFIG_MILKYMIST_TMU2=$(CONFIG_OPENGL) 6 | CONFIG_FRAMEBUFFER=y 7 | CONFIG_PTIMER=y 8 | CONFIG_PFLASH_CFI01=y 9 | CONFIG_PFLASH_CFI02=y 10 | CONFIG_SD=y 11 | -------------------------------------------------------------------------------- /tests/qemu-iotests/044.out: -------------------------------------------------------------------------------- 1 | No errors were found on the image. 2 | 7292415/33554432 = 21.73% allocated, 0.00% fragmented, 0.00% compressed clusters 3 | Image end offset: 4296152064 4 | . 5 | ---------------------------------------------------------------------- 6 | Ran 1 tests 7 | 8 | OK 9 | -------------------------------------------------------------------------------- /default-configs/usb.mak: -------------------------------------------------------------------------------- 1 | CONFIG_USB=y 2 | CONFIG_USB_TABLET_WACOM=y 3 | CONFIG_USB_STORAGE_BOT=y 4 | CONFIG_USB_STORAGE_UAS=y 5 | CONFIG_USB_STORAGE_MTP=y 6 | CONFIG_USB_SMARTCARD=y 7 | CONFIG_USB_AUDIO=y 8 | CONFIG_USB_SERIAL=y 9 | CONFIG_USB_NETWORK=y 10 | CONFIG_USB_BLUETOOTH=y 11 | -------------------------------------------------------------------------------- /stubs/iothread-lock.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "qemu/main-loop.h" 3 | 4 | bool qemu_mutex_iothread_locked(void) 5 | { 6 | return true; 7 | } 8 | 9 | void qemu_mutex_lock_iothread(void) 10 | { 11 | } 12 | 13 | void qemu_mutex_unlock_iothread(void) 14 | { 15 | } 16 | -------------------------------------------------------------------------------- /stubs/uuid.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "sysemu/sysemu.h" 3 | #include "qmp-commands.h" 4 | 5 | UuidInfo *qmp_query_uuid(Error **errp) 6 | { 7 | UuidInfo *info = g_malloc0(sizeof(*info)); 8 | 9 | info->UUID = g_strdup(UUID_NONE); 10 | return info; 11 | } 12 | 13 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-type-list.json: -------------------------------------------------------------------------------- 1 | # Potential C name collision 2 | # We reserve names ending in 'List' for use by array types. 3 | # TODO - we could choose array names to avoid collision with user types, 4 | # in order to let this compile 5 | { 'struct': 'FooList', 'data': { 's': 'str' } } 6 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-clash-branches.json: -------------------------------------------------------------------------------- 1 | # Union branch name collision 2 | # Reject a union that would result in a collision in generated C names (this 3 | # would try to generate two enum values 'TEST_UNION_KIND_A_B'). 4 | { 'union': 'TestUnion', 5 | 'data': { 'a-b': 'int', 'a_b': 'str' } } 6 | -------------------------------------------------------------------------------- /ui/qemu-x509.h: -------------------------------------------------------------------------------- 1 | #ifndef QEMU_X509_H 2 | #define QEMU_X509_H 3 | 4 | #define X509_CA_CERT_FILE "ca-cert.pem" 5 | #define X509_CA_CRL_FILE "ca-crl.pem" 6 | #define X509_SERVER_KEY_FILE "server-key.pem" 7 | #define X509_SERVER_CERT_FILE "server-cert.pem" 8 | 9 | #endif /* QEMU_X509_H */ 10 | -------------------------------------------------------------------------------- /stubs/set-fd-handler.c: -------------------------------------------------------------------------------- 1 | #include "qemu-common.h" 2 | #include "qemu/main-loop.h" 3 | 4 | void qemu_set_fd_handler(int fd, 5 | IOHandler *fd_read, 6 | IOHandler *fd_write, 7 | void *opaque) 8 | { 9 | abort(); 10 | } 11 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-conflict-dict.json: -------------------------------------------------------------------------------- 1 | # we reject alternates with multiple object branches 2 | { 'struct': 'One', 3 | 'data': { 'name': 'str' } } 4 | { 'struct': 'Two', 5 | 'data': { 'value': 'int' } } 6 | { 'alternate': 'Alt', 7 | 'data': { 'one': 'One', 8 | 'two': 'Two' } } 9 | -------------------------------------------------------------------------------- /tests/qapi-schema/struct-base-clash.json: -------------------------------------------------------------------------------- 1 | # Reject attempts to duplicate QMP members 2 | # Here, 'name' would have to appear twice on the wire, locally and for base. 3 | { 'struct': 'Base', 4 | 'data': { 'name': 'str' } } 5 | { 'struct': 'Sub', 6 | 'base': 'Base', 7 | 'data': { 'name': 'str' } } 8 | -------------------------------------------------------------------------------- /default-configs/microblaze-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for microblaze-softmmu 2 | 3 | CONFIG_PTIMER=y 4 | CONFIG_PFLASH_CFI01=y 5 | CONFIG_SERIAL=y 6 | CONFIG_XILINX=y 7 | CONFIG_XILINX_AXI=y 8 | CONFIG_XILINX_SPI=y 9 | CONFIG_XILINX_ETHLITE=y 10 | CONFIG_SSI=y 11 | CONFIG_SSI_M25P80=y 12 | -------------------------------------------------------------------------------- /target-m68k/qregs.def: -------------------------------------------------------------------------------- 1 | DEFF64(FP_RESULT, fp_result) 2 | DEFO32(PC, pc) 3 | DEFO32(SR, sr) 4 | DEFO32(CC_OP, cc_op) 5 | DEFO32(CC_DEST, cc_dest) 6 | DEFO32(CC_SRC, cc_src) 7 | DEFO32(CC_X, cc_x) 8 | DEFO32(DIV1, div1) 9 | DEFO32(DIV2, div2) 10 | DEFO32(MACSR, macsr) 11 | DEFO32(MAC_MASK, mac_mask) 12 | -------------------------------------------------------------------------------- /tests/libqos/libqos-pc.h: -------------------------------------------------------------------------------- 1 | #ifndef __libqos_pc_h 2 | #define __libqos_pc_h 3 | 4 | #include "libqos/libqos.h" 5 | 6 | QOSState *qtest_pc_vboot(const char *cmdline_fmt, va_list ap); 7 | QOSState *qtest_pc_boot(const char *cmdline_fmt, ...); 8 | void qtest_pc_shutdown(QOSState *qs); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-bad-branch.json: -------------------------------------------------------------------------------- 1 | # we reject normal unions where branches would collide in C 2 | { 'struct': 'One', 3 | 'data': { 'string': 'str' } } 4 | { 'struct': 'Two', 5 | 'data': { 'number': 'int' } } 6 | { 'union': 'MyUnion', 7 | 'data': { 'one': 'One', 8 | 'ONE': 'Two' } } 9 | -------------------------------------------------------------------------------- /tests/qemu-iotests/012.out: -------------------------------------------------------------------------------- 1 | QA output created by 012 2 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 3 | 4 | == mark image read-only 5 | 6 | == read from read-only image 7 | read 512/512 bytes at offset 0 8 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 9 | *** done 10 | -------------------------------------------------------------------------------- /tests/tcg/lm32/test_break.S: -------------------------------------------------------------------------------- 1 | .include "macros.inc" 2 | 3 | start 4 | 5 | test_name BREAK_1 6 | mvi r1, 1 7 | wcsr IE, r1 8 | insn: 9 | break 10 | check_excp 1 11 | 12 | test_name BREAK_2 13 | mv r3, ba 14 | check_r3 insn 15 | 16 | test_name BREAK_3 17 | rcsr r3, IE 18 | check_r3 4 19 | 20 | end 21 | -------------------------------------------------------------------------------- /hw/isa/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-y += isa-bus.o 2 | common-obj-$(CONFIG_APM) += apm.o 3 | common-obj-$(CONFIG_I82378) += i82378.o 4 | common-obj-$(CONFIG_PC87312) += pc87312.o 5 | common-obj-$(CONFIG_PIIX4) += piix4.o 6 | common-obj-$(CONFIG_VT82C686) += vt82c686.o 7 | 8 | obj-$(CONFIG_LPC_ICH9) += lpc_ich9.o 9 | -------------------------------------------------------------------------------- /hw/sd/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-$(CONFIG_PL181) += pl181.o 2 | common-obj-$(CONFIG_SSI_SD) += ssi-sd.o 3 | common-obj-$(CONFIG_SD) += sd.o 4 | common-obj-$(CONFIG_SDHCI) += sdhci.o 5 | 6 | obj-$(CONFIG_MILKYMIST) += milkymist-memcard.o 7 | obj-$(CONFIG_OMAP) += omap_mmc.o 8 | obj-$(CONFIG_PXA2XX) += pxa2xx_mmci.o 9 | -------------------------------------------------------------------------------- /tests/qemu-iotests/101.out: -------------------------------------------------------------------------------- 1 | QA output created by 101 2 | 3 | == creating short image file == 4 | 320+0 records in 5 | 320+0 records out 6 | 7 | == reading bytes beyond EOF gives zeroes == 8 | read 512/512 bytes at offset 0 9 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 10 | *** done 11 | -------------------------------------------------------------------------------- /trace/ftrace.h: -------------------------------------------------------------------------------- 1 | #ifndef TRACE_FTRACE_H 2 | #define TRACE_FTRACE_H 3 | 4 | #include 5 | 6 | 7 | #define MAX_TRACE_STRLEN 512 8 | #define _STR(x) #x 9 | #define STR(x) _STR(x) 10 | 11 | extern int trace_marker_fd; 12 | 13 | bool ftrace_init(void); 14 | 15 | #endif /* ! TRACE_FTRACE_H */ 16 | -------------------------------------------------------------------------------- /hw/gpio/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-$(CONFIG_MAX7310) += max7310.o 2 | common-obj-$(CONFIG_PL061) += pl061.o 3 | common-obj-$(CONFIG_PUV3) += puv3_gpio.o 4 | common-obj-$(CONFIG_ZAURUS) += zaurus.o 5 | common-obj-$(CONFIG_E500) += mpc8xxx.o 6 | 7 | obj-$(CONFIG_OMAP) += omap_gpio.o 8 | obj-$(CONFIG_IMX) += imx_gpio.o 9 | -------------------------------------------------------------------------------- /hw/virtio/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-y += virtio-rng.o 2 | common-obj-$(CONFIG_VIRTIO_PCI) += virtio-pci.o 3 | common-obj-y += virtio-bus.o 4 | common-obj-y += virtio-mmio.o 5 | obj-$(CONFIG_VIRTIO) += dataplane/ 6 | 7 | obj-y += virtio.o virtio-balloon.o 8 | obj-$(CONFIG_LINUX) += vhost.o vhost-backend.o vhost-user.o 9 | -------------------------------------------------------------------------------- /include/qemu/mmap-alloc.h: -------------------------------------------------------------------------------- 1 | #ifndef QEMU_MMAP_ALLOC 2 | #define QEMU_MMAP_ALLOC 3 | 4 | #include "qemu-common.h" 5 | 6 | size_t qemu_fd_getpagesize(int fd); 7 | 8 | void *qemu_ram_mmap(int fd, size_t size, size_t align, bool shared); 9 | 10 | void qemu_ram_munmap(void *ptr, size_t size); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /qapi/Makefile.objs: -------------------------------------------------------------------------------- 1 | util-obj-y = qapi-visit-core.o qapi-dealloc-visitor.o qmp-input-visitor.o 2 | util-obj-y += qmp-output-visitor.o qmp-registry.o qmp-dispatch.o 3 | util-obj-y += string-input-visitor.o string-output-visitor.o 4 | util-obj-y += opts-visitor.o 5 | util-obj-y += qmp-event.o 6 | util-obj-y += qapi-util.o 7 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-name-clash.json: -------------------------------------------------------------------------------- 1 | # C member name collision 2 | # FIXME - This parses, but fails to compile, because the C struct is given 3 | # two 'a_b' members. Either reject this at parse time, or munge the C names 4 | # to avoid the collision. 5 | { 'command': 'oops', 'data': { 'a-b': 'str', 'a_b': 'str' } } 6 | -------------------------------------------------------------------------------- /tests/tcg/mips/mips64-dsp/head.S: -------------------------------------------------------------------------------- 1 | /* 2 | * Startup Code for MIPS64 CPU-core 3 | * 4 | */ 5 | .text 6 | .globl _start 7 | .align 4 8 | _start: 9 | ori $2, $2, 0xffff 10 | sll $2, $2, 16 11 | ori $2, $2, 0xffff 12 | mtc0 $2, $12, 0 13 | jal main 14 | 15 | end: 16 | b end 17 | -------------------------------------------------------------------------------- /tests/tcg/mips/mips64-dspr2/head.S: -------------------------------------------------------------------------------- 1 | /* 2 | * Startup Code for MIPS64 CPU-core 3 | * 4 | */ 5 | .text 6 | .globl _start 7 | .align 4 8 | _start: 9 | ori $2, $2, 0xffff 10 | sll $2, $2, 16 11 | ori $2, $2, 0xffff 12 | mtc0 $2, $12, 0 13 | jal main 14 | 15 | end: 16 | b end 17 | -------------------------------------------------------------------------------- /hw/cris/boot.h: -------------------------------------------------------------------------------- 1 | #ifndef _CRIS_BOOT_H 2 | #define HW_CRIS_BOOT_H 1 3 | 4 | struct cris_load_info 5 | { 6 | const char *image_filename; 7 | const char *cmdline; 8 | int image_size; 9 | 10 | hwaddr entry; 11 | }; 12 | 13 | void cris_load_image(CRISCPU *cpu, struct cris_load_info *li); 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /include/hw/pci/slotid_cap.h: -------------------------------------------------------------------------------- 1 | #ifndef PCI_SLOTID_CAP_H 2 | #define PCI_SLOTID_CAP_H 3 | 4 | #include "qemu-common.h" 5 | 6 | int slotid_cap_init(PCIDevice *dev, int nslots, 7 | uint8_t chassis, 8 | unsigned offset); 9 | void slotid_cap_cleanup(PCIDevice *dev); 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-member-has.json: -------------------------------------------------------------------------------- 1 | # C member name collision 2 | # We reject names like 'has-a', because they can collide with the flag 3 | # for an optional 'a' in generated C. 4 | # TODO we could munge the optional flag name to avoid the collision. 5 | { 'command': 'oops', 'data': { '*a': 'str', 'has-a': 'str' } } 6 | -------------------------------------------------------------------------------- /tests/tcg/mips/mips32-dsp/repl_qb.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | int rd, result; 7 | 8 | result = 0xBFBFBFBF; 9 | __asm 10 | ("repl.qb %0, 0xBF\n\t" 11 | : "=r"(rd) 12 | ); 13 | assert(rd == result); 14 | 15 | return 0; 16 | } 17 | -------------------------------------------------------------------------------- /disas/libvixl/Makefile.objs: -------------------------------------------------------------------------------- 1 | libvixl_OBJS = utils.o \ 2 | a64/instructions-a64.o \ 3 | a64/decoder-a64.o \ 4 | a64/disasm-a64.o 5 | 6 | $(addprefix $(obj)/,$(libvixl_OBJS)): QEMU_CFLAGS := -I$(SRC_PATH)/disas/libvixl $(QEMU_CFLAGS) 7 | 8 | common-obj-$(CONFIG_ARM_A64_DIS) += $(libvixl_OBJS) 9 | -------------------------------------------------------------------------------- /include/hw/pci-host/apb.h: -------------------------------------------------------------------------------- 1 | #ifndef APB_PCI_H 2 | #define APB_PCI_H 3 | 4 | #include "qemu-common.h" 5 | 6 | PCIBus *pci_apb_init(hwaddr special_base, 7 | hwaddr mem_base, 8 | qemu_irq *ivec_irqs, PCIBus **bus2, PCIBus **bus3, 9 | qemu_irq **pbm_irqs); 10 | #endif 11 | -------------------------------------------------------------------------------- /hw/pci-bridge/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-y += pci_bridge_dev.o 2 | common-obj-y += pci_expander_bridge.o 3 | common-obj-$(CONFIG_XIO3130) += xio3130_upstream.o xio3130_downstream.o 4 | common-obj-$(CONFIG_IOH3420) += ioh3420.o 5 | common-obj-$(CONFIG_I82801B11) += i82801b11.o 6 | # NewWorld PowerMac 7 | common-obj-$(CONFIG_DEC_PCI) += dec.o 8 | -------------------------------------------------------------------------------- /pc-bios/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # NOTE: only compilable with x86 cross compile tools 3 | # 4 | include ../config-host.mak 5 | 6 | DEFINES= 7 | 8 | TARGETS= 9 | 10 | all: $(TARGETS) 11 | 12 | %.o: %.S 13 | $(CC) $(DEFINES) -c -o $@ $< 14 | 15 | %.dtb: %.dts 16 | dtc -I dts -O dtb -o $@ $< 17 | 18 | clean: 19 | rm -f $(TARGETS) *.o *~ 20 | -------------------------------------------------------------------------------- /target-sparc/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-$(CONFIG_SOFTMMU) += machine.o monitor.o 2 | obj-y += translate.o helper.o cpu.o 3 | obj-y += fop_helper.o cc_helper.o win_helper.o mmu_helper.o ldst_helper.o 4 | obj-$(TARGET_SPARC) += int32_helper.o 5 | obj-$(TARGET_SPARC64) += int64_helper.o 6 | obj-$(TARGET_SPARC64) += vis_helper.o 7 | obj-y += gdbstub.o 8 | -------------------------------------------------------------------------------- /tests/tcg/lm32/test_sextb.S: -------------------------------------------------------------------------------- 1 | .include "macros.inc" 2 | 3 | start 4 | 5 | test_name SEXTB_1 6 | mvi r1, 0 7 | sextb r3, r1 8 | check_r3 0 9 | 10 | test_name SEXTB_2 11 | mvi r1, 0x7f 12 | sextb r3, r1 13 | check_r3 0x0000007f 14 | 15 | test_name SEXTB_3 16 | mvi r1, 0x80 17 | sextb r3, r1 18 | check_r3 0xffffff80 19 | 20 | end 21 | -------------------------------------------------------------------------------- /tests/qemu-iotests/062.out: -------------------------------------------------------------------------------- 1 | QA output created by 062 2 | 3 | === Testing snapshotting an image with zero clusters === 4 | 5 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 6 | wrote 262144/262144 bytes at offset 0 7 | 256 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 8 | No errors were found on the image. 9 | *** done 10 | -------------------------------------------------------------------------------- /tests/tcg/lm32/test_sexth.S: -------------------------------------------------------------------------------- 1 | .include "macros.inc" 2 | 3 | start 4 | 5 | test_name SEXTH_1 6 | mvi r1, 0 7 | sexth r3, r1 8 | check_r3 0 9 | 10 | test_name SEXTH_2 11 | load r1 0x7fff 12 | sexth r3, r1 13 | check_r3 0x00007fff 14 | 15 | test_name SEXTH_3 16 | load r1 0x8000 17 | sexth r3, r1 18 | check_r3 0xffff8000 19 | 20 | end 21 | -------------------------------------------------------------------------------- /tests/qemu-iotests/138.out: -------------------------------------------------------------------------------- 1 | QA output created by 138 2 | 3 | === Check on an image with a multiple of 2^32 clusters === 4 | 5 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=512 6 | wrote 512/512 bytes at offset 0 7 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 8 | qemu-img: Check failed: Cannot allocate memory 9 | *** done 10 | -------------------------------------------------------------------------------- /tests/tcg/cris/check_stat1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | 7 | int main (void) 8 | { 9 | struct stat buf; 10 | 11 | if (stat (".", &buf) != 0 12 | || !S_ISDIR (buf.st_mode)) 13 | abort (); 14 | printf ("pass\n"); 15 | exit (0); 16 | } 17 | -------------------------------------------------------------------------------- /migration/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-y += migration.o tcp.o 2 | common-obj-y += vmstate.o 3 | common-obj-y += qemu-file.o qemu-file-buf.o qemu-file-unix.o qemu-file-stdio.o 4 | common-obj-y += xbzrle.o postcopy-ram.o 5 | 6 | common-obj-$(CONFIG_RDMA) += rdma.o 7 | common-obj-$(CONFIG_POSIX) += exec.o unix.o fd.o 8 | 9 | common-obj-y += block.o 10 | 11 | -------------------------------------------------------------------------------- /include/hw/audio/audio.h: -------------------------------------------------------------------------------- 1 | #ifndef HW_AUDIODEV_H 2 | #define HW_AUDIODEV_H 1 3 | 4 | void isa_register_soundhw(const char *name, const char *descr, 5 | int (*init_isa)(ISABus *bus)); 6 | 7 | void pci_register_soundhw(const char *name, const char *descr, 8 | int (*init_pci)(PCIBus *bus)); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /stubs/reset.c: -------------------------------------------------------------------------------- 1 | #include "hw/hw.h" 2 | 3 | /* Stub functions for binaries that never call qemu_devices_reset(), 4 | * and don't need to keep track of the reset handler list. 5 | */ 6 | 7 | void qemu_register_reset(QEMUResetHandler *func, void *opaque) 8 | { 9 | } 10 | 11 | void qemu_unregister_reset(QEMUResetHandler *func, void *opaque) 12 | { 13 | } 14 | -------------------------------------------------------------------------------- /tests/multiboot/link.ld: -------------------------------------------------------------------------------- 1 | ENTRY(_start) 2 | 3 | SECTIONS 4 | { 5 | . = 0x100000; 6 | .text : { 7 | *(multiboot) 8 | *(.text) 9 | } 10 | .data ALIGN(4096) : { 11 | *(.data) 12 | } 13 | .rodata ALIGN(4096) : { 14 | *(.rodata) 15 | } 16 | .bss ALIGN(4096) : { 17 | *(.bss) 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /hw/xen/Makefile.objs: -------------------------------------------------------------------------------- 1 | # xen backend driver support 2 | common-obj-$(CONFIG_XEN_BACKEND) += xen_backend.o xen_devconfig.o 3 | 4 | obj-$(CONFIG_XEN_PCI_PASSTHROUGH) += xen-host-pci-device.o 5 | obj-$(CONFIG_XEN_PCI_PASSTHROUGH) += xen_pt.o xen_pt_config_init.o xen_pt_msi.o 6 | obj-$(CONFIG_XEN_PCI_PASSTHROUGH) += xen_pt.o xen_pt_config_init.o xen_pt_msi.o xen_pt_graphics.o 7 | -------------------------------------------------------------------------------- /include/standard-headers/linux/virtio_rng.h: -------------------------------------------------------------------------------- 1 | #ifndef _LINUX_VIRTIO_RNG_H 2 | #define _LINUX_VIRTIO_RNG_H 3 | /* This header is BSD licensed so anyone can use the definitions to implement 4 | * compatible drivers/servers. */ 5 | #include "standard-headers/linux/virtio_ids.h" 6 | #include "standard-headers/linux/virtio_config.h" 7 | 8 | #endif /* _LINUX_VIRTIO_RNG_H */ 9 | -------------------------------------------------------------------------------- /tests/qemu-iotests/007.out: -------------------------------------------------------------------------------- 1 | QA output created by 007 2 | 3 | creating image 4 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 5 | savevm 1 6 | savevm 2 7 | savevm 3 8 | savevm 4 9 | savevm 5 10 | savevm 6 11 | savevm 7 12 | savevm 8 13 | savevm 9 14 | savevm 10 15 | 16 | checking image for errors 17 | No errors were found on the image. 18 | *** done 19 | -------------------------------------------------------------------------------- /audio/audio_win_int.h: -------------------------------------------------------------------------------- 1 | #ifndef AUDIO_WIN_INT_H 2 | #define AUDIO_WIN_INT_H 3 | 4 | int waveformat_from_audio_settings (WAVEFORMATEX *wfx, 5 | struct audsettings *as); 6 | 7 | int waveformat_to_audio_settings (WAVEFORMATEX *wfx, 8 | struct audsettings *as); 9 | 10 | #endif /* AUDIO_WIN_INT_H */ 11 | -------------------------------------------------------------------------------- /backends/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-y += rng.o rng-egd.o 2 | common-obj-$(CONFIG_POSIX) += rng-random.o 3 | 4 | common-obj-y += msmouse.o testdev.o 5 | common-obj-$(CONFIG_BRLAPI) += baum.o 6 | baum.o-cflags := $(SDL_CFLAGS) 7 | 8 | common-obj-$(CONFIG_TPM) += tpm.o 9 | 10 | common-obj-y += hostmem.o hostmem-ram.o 11 | common-obj-$(CONFIG_LINUX) += hostmem-file.o 12 | -------------------------------------------------------------------------------- /default-configs/alpha-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for alpha-softmmu 2 | 3 | include pci.mak 4 | include usb.mak 5 | CONFIG_SERIAL=y 6 | CONFIG_I8254=y 7 | CONFIG_PCKBD=y 8 | CONFIG_VGA_CIRRUS=y 9 | CONFIG_IDE_CORE=y 10 | CONFIG_IDE_QDEV=y 11 | CONFIG_VMWARE_VGA=y 12 | CONFIG_IDE_CMD646=y 13 | CONFIG_I8259=y 14 | CONFIG_MC146818RTC=y 15 | CONFIG_ISA_TESTDEV=y 16 | -------------------------------------------------------------------------------- /include/hw/arm/primecell.h: -------------------------------------------------------------------------------- 1 | #ifndef PRIMECELL_H 2 | #define PRIMECELL_H 3 | 4 | /* Declarations for ARM PrimeCell based periperals. */ 5 | /* Also includes some devices that are currently only used by the 6 | ARM boards. */ 7 | 8 | /* arm_sysctl GPIO lines */ 9 | #define ARM_SYSCTL_GPIO_MMC_WPROT 0 10 | #define ARM_SYSCTL_GPIO_MMC_CARDIN 1 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /qga/vss-win32/qga-vss.def: -------------------------------------------------------------------------------- 1 | LIBRARY "QGA-PROVIDER.DLL" 2 | 3 | EXPORTS 4 | COMRegister PRIVATE 5 | COMUnregister PRIVATE 6 | DllCanUnloadNow PRIVATE 7 | DllGetClassObject PRIVATE 8 | DllRegisterServer PRIVATE 9 | DllUnregisterServer PRIVATE 10 | requester_init PRIVATE 11 | requester_deinit PRIVATE 12 | requester_freeze PRIVATE 13 | requester_thaw PRIVATE 14 | -------------------------------------------------------------------------------- /tests/tcg/cris/check_ret.s: -------------------------------------------------------------------------------- 1 | # mach: crisv3 crisv8 crisv10 2 | # output: 3\n 3 | 4 | # Test that ret works. 5 | 6 | .include "testutils.inc" 7 | start 8 | x: 9 | moveq 0,r3 10 | jsr z 11 | w: 12 | quit 13 | y: 14 | addq 1,r3 15 | checkr3 3 16 | quit 17 | 18 | z: 19 | addq 1,r3 20 | move srp,r2 21 | add.d y-w,r2 22 | move r2,srp 23 | ret 24 | addq 1,r3 25 | quit 26 | -------------------------------------------------------------------------------- /xen-common-stub.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014 Citrix Systems UK Ltd. 3 | * 4 | * This work is licensed under the terms of the GNU GPL, version 2 or later. 5 | * See the COPYING file in the top-level directory. 6 | */ 7 | 8 | #include "qemu-common.h" 9 | #include "hw/xen/xen.h" 10 | 11 | void xenstore_store_pv_console_info(int i, CharDriverState *chr) 12 | { 13 | } 14 | -------------------------------------------------------------------------------- /crypto/Makefile.objs: -------------------------------------------------------------------------------- 1 | crypto-obj-y = init.o 2 | crypto-obj-y += hash.o 3 | crypto-obj-y += aes.o 4 | crypto-obj-y += desrfb.o 5 | crypto-obj-y += cipher.o 6 | crypto-obj-y += tlscreds.o 7 | crypto-obj-y += tlscredsanon.o 8 | crypto-obj-y += tlscredsx509.o 9 | crypto-obj-y += tlssession.o 10 | 11 | # Let the userspace emulators avoid linking gnutls/etc 12 | crypto-aes-obj-y = aes.o 13 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-invalid-base.json: -------------------------------------------------------------------------------- 1 | # a union base type must be a struct 2 | { 'struct': 'TestTypeA', 3 | 'data': { 'string': 'str' } } 4 | 5 | { 'struct': 'TestTypeB', 6 | 'data': { 'integer': 'int' } } 7 | 8 | { 'union': 'TestUnion', 9 | 'base': 'int', 10 | 'discriminator': 'int', 11 | 'data': { 'value1': 'TestTypeA', 12 | 'value2': 'TestTypeB' } } 13 | -------------------------------------------------------------------------------- /tests/tcg/mips/mips32-dsp/replv_ph.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | int rd, rt; 7 | int result; 8 | 9 | rt = 0x12345678; 10 | result = 0x56785678; 11 | __asm 12 | ("replv.ph %0, %1\n\t" 13 | : "=r"(rd) 14 | : "r"(rt) 15 | ); 16 | assert(rd == result); 17 | 18 | return 0; 19 | } 20 | -------------------------------------------------------------------------------- /default-configs/sparc64-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for sparc64-softmmu 2 | 3 | include pci.mak 4 | include usb.mak 5 | CONFIG_ISA_MMIO=y 6 | CONFIG_M48T59=y 7 | CONFIG_PTIMER=y 8 | CONFIG_SERIAL=y 9 | CONFIG_PARALLEL=y 10 | CONFIG_PCKBD=y 11 | CONFIG_FDC=y 12 | CONFIG_IDE_ISA=y 13 | CONFIG_IDE_CMD646=y 14 | CONFIG_PCI_APB=y 15 | CONFIG_MC146818RTC=y 16 | CONFIG_ISA_TESTDEV=y 17 | -------------------------------------------------------------------------------- /linux-headers/asm-x86/unistd.h: -------------------------------------------------------------------------------- 1 | #ifndef _ASM_X86_UNISTD_H 2 | #define _ASM_X86_UNISTD_H 3 | 4 | /* x32 syscall flag bit */ 5 | #define __X32_SYSCALL_BIT 0x40000000 6 | 7 | # ifdef __i386__ 8 | # include 9 | # elif defined(__ILP32__) 10 | # include 11 | # else 12 | # include 13 | # endif 14 | 15 | #endif /* _ASM_X86_UNISTD_H */ 16 | -------------------------------------------------------------------------------- /tests/tcg/mips/mips32-dsp/bitrev.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | int rd, rt; 7 | int result; 8 | 9 | rt = 0x12345678; 10 | result = 0x00001E6A; 11 | 12 | __asm 13 | ("bitrev %0, %1\n\t" 14 | : "=r"(rd) 15 | : "r"(rt) 16 | ); 17 | assert(rd == result); 18 | 19 | return 0; 20 | } 21 | -------------------------------------------------------------------------------- /tests/tcg/mips/mips32-dsp/raddu_w_qb.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | int rd, rs; 7 | int result; 8 | 9 | rs = 0x12345678; 10 | result = 0x114; 11 | 12 | __asm 13 | ("raddu.w.qb %0, %1\n\t" 14 | : "=r"(rd) 15 | : "r"(rs) 16 | ); 17 | assert(rd == result); 18 | 19 | return 0; 20 | } 21 | -------------------------------------------------------------------------------- /tests/tcg/mips/mips32-dsp/replv_qb.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | int rd, rt; 7 | int result; 8 | 9 | rt = 0x12345678; 10 | result = 0x78787878; 11 | __asm 12 | ("replv.qb %0, %1\n\t" 13 | : "=r"(rd) 14 | : "r"(rt) 15 | ); 16 | assert(rd == result); 17 | 18 | return 0; 19 | } 20 | -------------------------------------------------------------------------------- /tests/tcg/mips/mips64-dsp/repl_qb.c: -------------------------------------------------------------------------------- 1 | #include "io.h" 2 | 3 | int main(void) 4 | { 5 | long long rd, result; 6 | 7 | result = 0xFFFFFFFFBFBFBFBF; 8 | __asm 9 | ("repl.qb %0, 0xBF\n\t" 10 | : "=r"(rd) 11 | ); 12 | if (rd != result) { 13 | printf("repl.qb wrong\n"); 14 | 15 | return -1; 16 | } 17 | 18 | return 0; 19 | } 20 | -------------------------------------------------------------------------------- /hw/acpi/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-$(CONFIG_ACPI_X86) += core.o piix4.o pcihp.o 2 | common-obj-$(CONFIG_ACPI_X86_ICH) += ich9.o tco.o 3 | common-obj-$(CONFIG_ACPI_CPU_HOTPLUG) += cpu_hotplug.o 4 | common-obj-$(CONFIG_ACPI_MEMORY_HOTPLUG) += memory_hotplug.o 5 | common-obj-$(CONFIG_ACPI) += acpi_interface.o 6 | common-obj-$(CONFIG_ACPI) += bios-linker-loader.o 7 | common-obj-$(CONFIG_ACPI) += aml-build.o 8 | -------------------------------------------------------------------------------- /hw/i2c/bitbang_i2c.h: -------------------------------------------------------------------------------- 1 | #ifndef BITBANG_I2C_H 2 | #define BITBANG_I2C_H 3 | 4 | #include "hw/i2c/i2c.h" 5 | 6 | typedef struct bitbang_i2c_interface bitbang_i2c_interface; 7 | 8 | #define BITBANG_I2C_SDA 0 9 | #define BITBANG_I2C_SCL 1 10 | 11 | bitbang_i2c_interface *bitbang_i2c_init(I2CBus *bus); 12 | int bitbang_i2c_set(bitbang_i2c_interface *i2c, int line, int level); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /target-i386/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += translate.o helper.o cpu.o bpt_helper.o 2 | obj-y += excp_helper.o fpu_helper.o cc_helper.o int_helper.o svm_helper.o 3 | obj-y += smm_helper.o misc_helper.o mem_helper.o seg_helper.o 4 | obj-y += gdbstub.o 5 | obj-$(CONFIG_SOFTMMU) += machine.o arch_memory_mapping.o arch_dump.o monitor.o 6 | obj-$(CONFIG_KVM) += kvm.o 7 | obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o 8 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-clash-data.json: -------------------------------------------------------------------------------- 1 | # Union branch 'data' 2 | # FIXME: this parses, but then fails to compile due to a duplicate 'data' 3 | # (one from the branch name, another as a filler to avoid an empty union). 4 | # we should either detect the collision at parse time, or change the 5 | # generated struct to allow this to compile. 6 | { 'union': 'TestUnion', 7 | 'data': { 'data': 'int' } } 8 | -------------------------------------------------------------------------------- /tests/qemu-iotests/107.out: -------------------------------------------------------------------------------- 1 | QA output created by 107 2 | 3 | === Updates should not write random data === 4 | 5 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=65536 6 | wrote 65536/65536 bytes at offset 0 7 | 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 8 | read 65528/65528 bytes at offset 196616 9 | 63.992 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 10 | *** done 11 | --------------------------------------------------------------------------------