├── VERSION ├── scripts ├── qmp │ └── __init__.py └── coccinelle │ ├── typecast.cocci │ ├── remove_muldiv64.cocci │ ├── error_propagate_null.cocci │ └── simplify_muldiv64.cocci ├── 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 │ ├── funny-char.out │ ├── non-objects.out │ ├── unicode-str.out │ ├── union-empty.out │ ├── alternate-any.out │ ├── alternate-array.out │ ├── alternate-base.out │ ├── alternate-clash.out │ ├── alternate-empty.out │ ├── alternate-nested.out │ ├── args-alternate.out │ ├── args-any.exit │ ├── args-array-empty.out │ ├── args-bad-boxed.out │ ├── args-boxed-anon.out │ ├── args-boxed-empty.out │ ├── args-int.exit │ ├── args-invalid.out │ ├── args-member-case.out │ ├── args-name-clash.out │ ├── 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-member-case.out │ ├── enum-wrong-data.out │ ├── escape-too-big.out │ ├── escape-too-short.out │ ├── flat-union-empty.out │ ├── 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 │ ├── reserved-enum-q.out │ ├── returns-dict.out │ ├── returns-unknown.out │ ├── unclosed-list.out │ ├── unclosed-object.out │ ├── unclosed-string.out │ ├── union-unknown.out │ ├── unknown-escape.out │ ├── unknown-expr-key.out │ ├── alternate-any.exit │ ├── alternate-base.exit │ ├── alternate-unknown.out │ ├── args-alternate.exit │ ├── args-array-unknown.out │ ├── args-bad-boxed.exit │ ├── args-boxed-string.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 │ ├── base-cycle-direct.out │ ├── base-cycle-indirect.out │ ├── 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-boxed-empty.out │ ├── event-case.exit │ ├── event-nest-struct.out │ ├── flat-union-bad-base.out │ ├── flat-union-base-any.out │ ├── flat-union-base-union.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-branch-case.out │ ├── 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-boxed-anon.exit │ ├── args-boxed-empty.exit │ ├── args-boxed-string.exit │ ├── args-member-case.exit │ ├── args-member-unknown.exit │ ├── args-name-clash.exit │ ├── base-cycle-direct.exit │ ├── base-cycle-indirect.exit │ ├── enum-bad-prefix.exit │ ├── enum-clash-member.exit │ ├── enum-dict-member.exit │ ├── enum-int-member.exit │ ├── enum-member-case.exit │ ├── enum-missing-data.exit │ ├── enum-wrong-data.exit │ ├── escape-too-short.exit │ ├── event-boxed-empty.exit │ ├── event-nest-struct.exit │ ├── flat-union-array-branch.out │ ├── flat-union-bad-base.exit │ ├── flat-union-base-any.exit │ ├── 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-enum-q.exit │ ├── reserved-member-has.exit │ ├── reserved-member-q.exit │ ├── reserved-member-u.exit │ ├── reserved-member-underscore.out │ ├── 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-branch-case.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-member.exit │ ├── flat-union-incomplete-branch.out │ ├── 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-incomplete-branch.exit │ ├── flat-union-invalid-branch-key.exit │ ├── flat-union-invalid-discriminator.out │ ├── flat-union-optional-discriminator.out │ ├── non-objects.json │ ├── reserved-member-underscore.exit │ ├── 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 │ ├── 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 │ ├── 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 │ ├── enum-int-member.err │ ├── 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 │ ├── union-empty.json │ ├── unknown-escape.err │ ├── escape-outside-string.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 │ ├── bad-data.err │ ├── bad-ident.err │ ├── bad-type-bool.err │ ├── bad-type-dict.err │ ├── base-cycle-direct.err │ ├── escape-too-short.err │ ├── event-boxed-empty.err │ ├── event-boxed-empty.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 │ ├── union-empty.err │ ├── alternate-base.err │ ├── args-boxed-empty.err │ ├── base-cycle-indirect.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-bad-boxed.json │ ├── 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 │ ├── flat-union-empty.err │ ├── reserved-command-q.err │ ├── returns-dict.err │ ├── alternate-any.err │ ├── args-bad-boxed.err │ ├── args-boxed-anon.err │ ├── bad-ident.json │ ├── enum-bad-name.json │ ├── enum-dict-member.err │ ├── escape-too-short.json │ ├── flat-union-no-base.err │ ├── include-self-cycle.err │ ├── reserved-enum-q.err │ ├── reserved-type-kind.err │ ├── reserved-type-list.err │ ├── returns-dict.json │ ├── alternate-array.err │ ├── args-invalid.err │ ├── args-unknown.err │ ├── base-cycle-direct.json │ ├── enum-bad-name.err │ ├── include-no-file.err │ ├── type-bypass-bad-gen.json │ ├── alternate-clash.err │ ├── alternate-empty.err │ ├── args-alternate.err │ ├── args-boxed-string.err │ ├── args-int.json │ ├── args-unknown.json │ ├── bad-type-bool.json │ ├── double-type.json │ ├── enum-bad-prefix.json │ ├── escape-too-big.json │ ├── leading-comma-list.err │ ├── returns-unknown.err │ ├── type-bypass-bad-gen.err │ ├── alternate-empty.json │ ├── args-boxed-string.json │ ├── 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 │ ├── struct-base-clash.err │ ├── union-optional-branch.json │ ├── union-unknown.err │ ├── args-name-clash.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-nested.err │ ├── alternate-unknown.err │ ├── args-boxed-anon.json │ ├── empty.out │ ├── enum-member-case.err │ ├── flat-union-array-branch.err │ ├── flat-union-incomplete-branch.err │ ├── reserved-member-has.err │ ├── reserved-type-kind.json │ ├── returns-array-bad.err │ ├── struct-member-invalid.err │ ├── union-base-no-discriminator.err │ ├── union-unknown.json │ ├── args-array-empty.json │ ├── args-member-unknown.json │ ├── double-data.json │ ├── enum-clash-member.err │ ├── flat-union-base-union.err │ ├── flat-union-int-branch.err │ ├── include-repetition.json │ ├── struct-base-clash-deep.err │ ├── union-branch-case.err │ ├── union-clash-branches.err │ ├── unknown-expr-key.json │ ├── args-array-unknown.err │ ├── args-member-case.err │ ├── args-member-unknown.err │ ├── enum-clash-member.json │ ├── flat-union-bad-base.err │ ├── flat-union-clash-member.err │ ├── flat-union-string-discriminator.err │ ├── reserved-member-underscore.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 │ ├── args-boxed-empty.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 │ ├── alternate-any.json │ ├── flat-union-invalid-discriminator.err │ ├── args-alternate.json │ ├── args-union.json │ ├── base-cycle-indirect.json │ ├── comments.json │ ├── event-case.json │ ├── redefined-command.json │ ├── union-branch-case.json │ ├── unknown-escape.json │ ├── flat-union-optional-discriminator.err │ ├── returns-alternate.json │ ├── args-member-case.json │ ├── comments.out │ ├── event-case.out │ ├── bad-base.json │ ├── include-relpath.out │ ├── include-simple.out │ ├── include-repetition.out │ ├── nested-struct-data.json │ ├── bad-type-int.json │ ├── enum-int-member.json │ ├── alternate-base.json │ ├── args-name-clash.json │ ├── alternate-nested.json │ ├── reserved-enum-q.json │ ├── flat-union-empty.json │ ├── reserved-command-q.json │ ├── enum-member-case.json │ ├── include-cycle.err │ ├── reserved-member-q.json │ ├── alternate-conflict-string.json │ ├── alternate-array.json │ ├── ident-with-escape.json │ ├── union-clash-branches.json │ ├── reserved-member-underscore.json │ ├── reserved-type-list.json │ ├── alternate-conflict-dict.json │ ├── struct-base-clash.json │ ├── ident-with-escape.out │ └── indented-expr.out ├── migration │ ├── guestperf │ │ └── __init__.py │ └── .gitignore ├── image-fuzzer │ └── qcow2 │ │ └── __init__.py ├── multiboot │ └── module.txt ├── tcg │ ├── mips │ │ ├── mips64-dspr2 │ │ │ ├── .directory │ │ │ └── head.S │ │ ├── mips32-dsp │ │ │ └── main.c │ │ └── mips64-dsp │ │ │ └── head.S │ ├── pi_10.com │ ├── alpha │ │ └── hello-alpha.c │ ├── cris │ │ ├── README │ │ ├── check_hello.c │ │ ├── .gdbinit │ │ ├── crt.s │ │ └── check_cmp-2.s │ ├── xtensa │ │ └── test_fail.S │ └── lm32 │ │ ├── test_b.S │ │ ├── test_ret.S │ │ ├── test_calli.S │ │ ├── test_call.S │ │ ├── test_bi.S │ │ └── test_break.S ├── acpi-test-data │ ├── pc │ │ ├── FACS │ │ ├── APIC │ │ ├── DSDT │ │ ├── FACP │ │ ├── HPET │ │ ├── APIC.cphp │ │ ├── DSDT.bridge │ │ ├── DSDT.cphp │ │ ├── SRAT.cphp │ │ └── DSDT.ipmikcs │ └── q35 │ │ ├── FACS │ │ ├── APIC │ │ ├── DSDT │ │ ├── FACP │ │ ├── HPET │ │ ├── MCFG │ │ ├── APIC.cphp │ │ ├── DSDT.cphp │ │ ├── SRAT.cphp │ │ ├── DSDT.bridge │ │ └── DSDT.ipmibt ├── qemu-iotests │ ├── 056.out │ ├── 096.out │ ├── 129.out │ ├── 132.out │ ├── 148.out │ ├── 152.out │ ├── sample_images │ │ ├── afl5.img.bz2 │ │ ├── afl9.vmdk.bz2 │ │ ├── empty.bochs.bz2 │ │ ├── grub_mbr.raw.bz2 │ │ ├── parallels-v1.bz2 │ │ ├── parallels-v2.bz2 │ │ ├── d2v-zerofilled.vhd.bz2 │ │ ├── test-disk2vhd.vhdx.bz2 │ │ ├── iotest-version3.vmdk.bz2 │ │ ├── simple-pattern.cloop.bz2 │ │ ├── iotest-dynamic-1G.vhdx.bz2 │ │ ├── virtualpc-dynamic.vhd.bz2 │ │ ├── hyperv2012r2-dynamic.vhd.bz2 │ │ └── iotest-dirtylog-10G-4M.vhdx.bz2 │ ├── 065.out │ ├── 093.out │ ├── 139.out │ ├── 147.out │ ├── 045.out │ ├── 057.out │ ├── 124.out │ ├── 128.out │ ├── 030.out │ ├── 155.out │ ├── 040.out │ ├── 055.out │ ├── 136.out │ ├── 111.out │ ├── Makefile │ ├── 118.out │ ├── .gitignore │ ├── 135.out │ ├── 041.out │ ├── 145.out │ ├── 115.out │ ├── 044.out │ ├── 012.out │ ├── 101.out │ └── 150.out ├── rocker │ ├── README │ └── tut.dot ├── qemu-iotests-quick.sh ├── data │ └── test-qga-config ├── docker │ └── dockerfiles │ │ ├── travis.docker │ │ └── centos6.docker └── libqos │ ├── libqos-pc.h │ └── libqos-spapr.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 ├── microblaze-linux-user.mak ├── sparc32plus-linux-user.mak ├── microblazeel-linux-user.mak ├── sound.mak ├── ppc-linux-user.mak ├── ppc64-linux-user.mak ├── mips-softmmu.mak ├── ppc64le-linux-user.mak ├── mipsel-softmmu.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 ├── mips64-softmmu.mak ├── aarch64-softmmu.mak ├── lm32-softmmu.mak ├── usb.mak ├── microblaze-softmmu.mak └── mips64el-softmmu.mak ├── target-lm32 ├── TODO └── Makefile.objs ├── hw ├── sparc64 │ └── Makefile.objs ├── sparc │ └── Makefile.objs ├── block │ └── dataplane │ │ └── Makefile.objs ├── tricore │ └── Makefile.objs ├── alpha │ ├── Makefile.objs │ └── trace-events ├── cris │ ├── Makefile.objs │ └── boot.h ├── moxie │ └── Makefile.objs ├── adc │ └── 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 ├── m68k │ └── Makefile.objs ├── mem │ ├── Makefile.objs │ └── trace-events ├── microblaze │ └── Makefile.objs ├── tpm │ └── Makefile.objs ├── misc │ └── macio │ │ └── Makefile.objs ├── smbios │ └── Makefile.objs ├── unicore32 │ └── Makefile.objs ├── pci-bridge │ ├── ioh3420.h │ └── dec.h ├── arm │ └── trace-events ├── xenpv │ └── Makefile.objs ├── watchdog │ └── Makefile.objs ├── cpu │ └── Makefile.objs ├── nvram │ └── Makefile.objs ├── mips │ └── Makefile.objs ├── ipmi │ └── Makefile.objs ├── sd │ ├── trace-events │ └── Makefile.objs ├── vfio │ └── Makefile.objs ├── xen │ └── Makefile.objs └── isa │ └── Makefile.objs ├── nbd └── Makefile.objs ├── include ├── standard-headers │ └── linux │ │ ├── if_ether.h │ │ └── types.h ├── hw │ ├── acpi │ │ └── piix4.h │ ├── ppc │ │ └── ppc_e500.h │ ├── pci │ │ ├── pci_regs.h │ │ └── slotid_cap.h │ ├── qdev.h │ ├── empty_slot.h │ ├── vfio │ │ └── vfio.h │ ├── mips │ │ └── bios.h │ ├── pci-host │ │ └── ppce500.h │ └── tricore │ │ └── tricore.h ├── trace.h ├── trace-tcg.h └── qemu │ ├── unicode.h │ ├── path.h │ ├── id.h │ └── mmap-alloc.h ├── linux-user ├── mips64 │ ├── termbits.h │ └── target_structs.h ├── sparc64 │ └── target_cpu.h ├── x86_64 │ └── target_cpu.h ├── unicore32 │ └── termbits.h ├── arm │ └── nwfpe │ │ └── Makefile.objs ├── uname.h └── Makefile.objs ├── pc-bios ├── optionrom │ ├── code16gcc.h │ └── flat.lds ├── keymaps │ └── nl-be ├── bios.bin ├── slof.bin ├── QEMU,tcx.bin ├── bamboo.dtb ├── kvmvapic.bin ├── openbios-ppc ├── ppc_rom.bin ├── s390-ccw.img ├── sgabios.bin ├── skiboot.lid ├── u-boot.e500 ├── vgabios.bin ├── acpi-dsdt.aml ├── bios-256k.bin ├── efi-e1000.rom ├── efi-e1000e.rom ├── efi-pcnet.rom ├── efi-virtio.rom ├── linuxboot.bin ├── multiboot.bin ├── pxe-e1000.rom ├── pxe-pcnet.rom ├── pxe-virtio.rom ├── qemu-icon.bmp ├── qemu-nsis.bmp ├── qemu-nsis.ico ├── spapr-rtas.bin ├── QEMU,cgthree.bin ├── efi-eepro100.rom ├── efi-ne2k_pci.rom ├── efi-rtl8139.rom ├── efi-vmxnet3.rom ├── linuxboot_dma.bin ├── openbios-sparc32 ├── openbios-sparc64 ├── palcode-clipper ├── pxe-eepro100.rom ├── pxe-ne2k_pci.rom ├── pxe-rtl8139.rom ├── vgabios-qxl.bin ├── petalogix-ml605.dtb ├── vgabios-cirrus.bin ├── vgabios-stdvga.bin ├── vgabios-virtio.bin ├── vgabios-vmware.bin └── petalogix-s3adsp1800.dtb ├── linux-headers ├── asm-arm │ └── kvm_para.h ├── asm-arm64 │ └── kvm_para.h ├── asm-x86 │ └── hyperv.h ├── linux │ ├── virtio_ring.h │ └── virtio_config.h ├── README ├── asm-generic │ └── kvm_para.h └── asm-mips │ └── kvm_para.h ├── target-moxie ├── machine.h ├── Makefile.objs └── helper.h ├── target-tilegx └── 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 ├── target-tricore └── Makefile.objs ├── .dir-locals.el ├── qga └── vss-win32 │ └── qga-vss.tlb ├── bsd-user ├── Makefile.objs └── sparc │ └── target_syscall.h ├── stubs ├── get-next-serial.c ├── vhost.c ├── sysbus.c ├── get-vm-name.c ├── blockdev-close-all-bdrv-states.c ├── clock-warp.c ├── fd-register.c ├── notify-event.c ├── gdbstub.c ├── fdset-remove-fd.c ├── blk-commit-all.c ├── monitor-init.c ├── runstate-check.c ├── iohandler.c ├── cpu-get-clock.c ├── fdset-find-fd.c ├── machine-init-done.c ├── kvm.c ├── target-monitor-defs.c ├── fdset-get-fd.c ├── fdset-add-fd.c ├── iothread.c ├── qmp_pc_dimm_device_list.c ├── cpus.c ├── bdrv-next-monitor-owned.c ├── mon-is-qmp.c ├── pc_madt_cpu_entry.c ├── is-daemonized.c ├── cpu-get-icount.c ├── migr-blocker.c ├── vm-stop.c ├── arch-query-cpu-def.c ├── slirp.c ├── get-fd.c ├── iothread-lock.c └── uuid.c ├── target-m68k └── Makefile.objs ├── qom └── Makefile.objs ├── target-sh4 └── Makefile.objs ├── target-microblaze └── Makefile.objs ├── target-cris └── Makefile.objs ├── target-unicore32 └── Makefile.objs ├── tcg └── LICENSE ├── qobject └── Makefile.objs ├── module-common.c ├── target-alpha └── Makefile.objs ├── target-mips └── Makefile.objs ├── target-xtensa └── Makefile.objs ├── .exrc ├── ui ├── shader │ ├── texture-blit.frag │ └── texture-blit.vert └── qemu-x509.h ├── replay └── Makefile.objs ├── target-openrisc └── Makefile.objs ├── trace └── ftrace.h ├── target-ppc └── trace-events └── io └── Makefile.objs /VERSION: -------------------------------------------------------------------------------- 1 | 2.8.1.1 2 | -------------------------------------------------------------------------------- /scripts/qmp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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/funny-char.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/non-objects.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/unicode-str.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-empty.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /default-configs/tricore-softmmu.mak: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/migration/guestperf/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-any.out: -------------------------------------------------------------------------------- 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.out: -------------------------------------------------------------------------------- 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-bad-boxed.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-boxed-anon.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-boxed-empty.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-int.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-invalid.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-member-case.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-name-clash.out: -------------------------------------------------------------------------------- 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-member-case.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/flat-union-empty.out: -------------------------------------------------------------------------------- 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/reserved-enum-q.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-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-any.exit: -------------------------------------------------------------------------------- 1 | 1 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-bad-boxed.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-boxed-string.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/base-cycle-direct.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/base-cycle-indirect.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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-boxed-empty.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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-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-branch-case.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-clash-branches.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-empty.exit: -------------------------------------------------------------------------------- 1 | 1 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 | 1 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-boxed-anon.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-boxed-empty.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-boxed-string.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-member-case.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-member-unknown.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-name-clash.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/base-cycle-direct.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/base-cycle-indirect.exit: -------------------------------------------------------------------------------- 1 | 1 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-member-case.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-boxed-empty.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-member.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-empty.exit: -------------------------------------------------------------------------------- 1 | 1 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-enum-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-member-underscore.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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-branch-case.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-member.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-incomplete-branch.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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-incomplete-branch.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/reserved-member-underscore.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /nbd/Makefile.objs: -------------------------------------------------------------------------------- 1 | block-obj-y += server.o client.o common.o 2 | -------------------------------------------------------------------------------- /tests/migration/.gitignore: -------------------------------------------------------------------------------- 1 | initrd-stress.img 2 | stress 3 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /include/standard-headers/linux/if_ether.h: -------------------------------------------------------------------------------- 1 | #define ETH_ALEN 6 2 | -------------------------------------------------------------------------------- /linux-user/mips64/termbits.h: -------------------------------------------------------------------------------- 1 | #include "../mips/termbits.h" 2 | 3 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /pc-bios/optionrom/code16gcc.h: -------------------------------------------------------------------------------- 1 | asm( 2 | ".code16gcc\n" 3 | ); 4 | -------------------------------------------------------------------------------- /hw/adc/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-$(CONFIG_STM32F2XX_ADC) += stm32f2xx_adc.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/unclosed-string.json: -------------------------------------------------------------------------------- 1 | { 'text': 'lorem ips 2 | } 3 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /pc-bios/bios.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/bios.bin -------------------------------------------------------------------------------- /pc-bios/slof.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/slof.bin -------------------------------------------------------------------------------- /target-tilegx/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += cpu.o translate.o helper.o simd_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/QEMU,tcx.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/QEMU,tcx.bin -------------------------------------------------------------------------------- /pc-bios/bamboo.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/bamboo.dtb -------------------------------------------------------------------------------- /pc-bios/kvmvapic.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/kvmvapic.bin -------------------------------------------------------------------------------- /pc-bios/openbios-ppc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/openbios-ppc -------------------------------------------------------------------------------- /pc-bios/ppc_rom.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/ppc_rom.bin -------------------------------------------------------------------------------- /pc-bios/s390-ccw.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/s390-ccw.img -------------------------------------------------------------------------------- /pc-bios/sgabios.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/sgabios.bin -------------------------------------------------------------------------------- /pc-bios/skiboot.lid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/skiboot.lid -------------------------------------------------------------------------------- /pc-bios/u-boot.e500: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/u-boot.e500 -------------------------------------------------------------------------------- /pc-bios/vgabios.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/vgabios.bin -------------------------------------------------------------------------------- /tests/multiboot/module.txt: -------------------------------------------------------------------------------- 1 | This is a test file that is used as a multiboot module. 2 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /tests/tcg/pi_10.com: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/tcg/pi_10.com -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /linux-headers/linux/virtio_config.h: -------------------------------------------------------------------------------- 1 | #include "standard-headers/linux/virtio_config.h" 2 | -------------------------------------------------------------------------------- /pc-bios/acpi-dsdt.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/acpi-dsdt.aml -------------------------------------------------------------------------------- /pc-bios/bios-256k.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/bios-256k.bin -------------------------------------------------------------------------------- /pc-bios/efi-e1000.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/efi-e1000.rom -------------------------------------------------------------------------------- /pc-bios/efi-e1000e.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/efi-e1000e.rom -------------------------------------------------------------------------------- /pc-bios/efi-pcnet.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/efi-pcnet.rom -------------------------------------------------------------------------------- /pc-bios/efi-virtio.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/efi-virtio.rom -------------------------------------------------------------------------------- /pc-bios/linuxboot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/linuxboot.bin -------------------------------------------------------------------------------- /pc-bios/multiboot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/multiboot.bin -------------------------------------------------------------------------------- /pc-bios/pxe-e1000.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/pxe-e1000.rom -------------------------------------------------------------------------------- /pc-bios/pxe-pcnet.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/pxe-pcnet.rom -------------------------------------------------------------------------------- /pc-bios/pxe-virtio.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/pxe-virtio.rom -------------------------------------------------------------------------------- /pc-bios/qemu-icon.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/qemu-icon.bmp -------------------------------------------------------------------------------- /pc-bios/qemu-nsis.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/qemu-nsis.bmp -------------------------------------------------------------------------------- /pc-bios/qemu-nsis.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/qemu-nsis.ico -------------------------------------------------------------------------------- /pc-bios/spapr-rtas.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/spapr-rtas.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 | -------------------------------------------------------------------------------- /target-tricore/Makefile.objs: -------------------------------------------------------------------------------- 1 | obj-y += translate.o helper.o cpu.o op_helper.o fpu_helper.o 2 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /.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,cgthree.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/QEMU,cgthree.bin -------------------------------------------------------------------------------- /pc-bios/efi-eepro100.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/efi-eepro100.rom -------------------------------------------------------------------------------- /pc-bios/efi-ne2k_pci.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/efi-ne2k_pci.rom -------------------------------------------------------------------------------- /pc-bios/efi-rtl8139.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/efi-rtl8139.rom -------------------------------------------------------------------------------- /pc-bios/efi-vmxnet3.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/efi-vmxnet3.rom -------------------------------------------------------------------------------- /pc-bios/linuxboot_dma.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/linuxboot_dma.bin -------------------------------------------------------------------------------- /pc-bios/openbios-sparc32: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/openbios-sparc32 -------------------------------------------------------------------------------- /pc-bios/openbios-sparc64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/openbios-sparc64 -------------------------------------------------------------------------------- /pc-bios/palcode-clipper: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/palcode-clipper -------------------------------------------------------------------------------- /pc-bios/pxe-eepro100.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/pxe-eepro100.rom -------------------------------------------------------------------------------- /pc-bios/pxe-ne2k_pci.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/pxe-ne2k_pci.rom -------------------------------------------------------------------------------- /pc-bios/pxe-rtl8139.rom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/pxe-rtl8139.rom -------------------------------------------------------------------------------- /pc-bios/vgabios-qxl.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/vgabios-qxl.bin -------------------------------------------------------------------------------- /qga/vss-win32/qga-vss.tlb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/qga/vss-win32/qga-vss.tlb -------------------------------------------------------------------------------- /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/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/petalogix-ml605.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/petalogix-ml605.dtb -------------------------------------------------------------------------------- /pc-bios/vgabios-cirrus.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/vgabios-cirrus.bin -------------------------------------------------------------------------------- /pc-bios/vgabios-stdvga.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/vgabios-stdvga.bin -------------------------------------------------------------------------------- /pc-bios/vgabios-virtio.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/vgabios-virtio.bin -------------------------------------------------------------------------------- /pc-bios/vgabios-vmware.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/vgabios-vmware.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/union-empty.json: -------------------------------------------------------------------------------- 1 | # unions cannot be empty 2 | { 'union': 'Union', 'data': { } } 3 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /roms/config.seabios-256k: -------------------------------------------------------------------------------- 1 | # for qemu machine types 2.0 + newer 2 | CONFIG_QEMU=y 3 | CONFIG_ROM_SIZE=256 4 | -------------------------------------------------------------------------------- /tests/acpi-test-data/pc/APIC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/pc/APIC -------------------------------------------------------------------------------- /tests/acpi-test-data/pc/DSDT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/pc/DSDT -------------------------------------------------------------------------------- /tests/acpi-test-data/pc/FACP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/pc/FACP -------------------------------------------------------------------------------- /tests/acpi-test-data/pc/HPET: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/pc/HPET -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/APIC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/q35/APIC -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/DSDT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/q35/DSDT -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/FACP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/q35/FACP -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/HPET: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/q35/HPET -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/MCFG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/q35/MCFG -------------------------------------------------------------------------------- /tests/qapi-schema/escape-outside-string.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/escape-outside-string.json:3:27: Stray "\" 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 | -------------------------------------------------------------------------------- /pc-bios/petalogix-s3adsp1800.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/pc-bios/petalogix-s3adsp1800.dtb -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /default-configs/mips-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for mips-softmmu 2 | 3 | include mips-softmmu-common.mak 4 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /hw/mem/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-$(CONFIG_MEM_HOTPLUG) += pc-dimm.o 2 | common-obj-$(CONFIG_NVDIMM) += nvdimm.o 3 | -------------------------------------------------------------------------------- /tests/acpi-test-data/pc/APIC.cphp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/pc/APIC.cphp -------------------------------------------------------------------------------- /tests/acpi-test-data/pc/DSDT.bridge: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/pc/DSDT.bridge -------------------------------------------------------------------------------- /tests/acpi-test-data/pc/DSDT.cphp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/pc/DSDT.cphp -------------------------------------------------------------------------------- /tests/acpi-test-data/pc/SRAT.cphp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/pc/SRAT.cphp -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/APIC.cphp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/q35/APIC.cphp -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/DSDT.cphp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/q35/DSDT.cphp -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/SRAT.cphp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/q35/SRAT.cphp -------------------------------------------------------------------------------- /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/base-cycle-direct.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/base-cycle-direct.json:2: Object Loopy contains itself 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-boxed-empty.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/event-boxed-empty.json:2: Use of 'boxed' requires 'data' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/event-boxed-empty.json: -------------------------------------------------------------------------------- 1 | # 'boxed' requires a non-empty type 2 | { 'event': 'FOO', 'boxed': true } 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 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-empty.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/union-empty.json:2: Union 'Union' cannot have empty 'data' 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/mipsel-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for mipsel-softmmu 2 | 3 | include mips-softmmu-common.mak 4 | -------------------------------------------------------------------------------- /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/optionrom/flat.lds: -------------------------------------------------------------------------------- 1 | SECTIONS 2 | { 3 | . = 0; 4 | .text : { *(.text) *(.text.$) } 5 | } 6 | ENTRY(_start) 7 | -------------------------------------------------------------------------------- /scripts/coccinelle/typecast.cocci: -------------------------------------------------------------------------------- 1 | // Remove useless casts 2 | @@ 3 | type T; 4 | T v; 5 | @@ 6 | - (T *)&v 7 | + &v 8 | -------------------------------------------------------------------------------- /stubs/get-next-serial.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | 4 | CharDriverState *serial_hds[0]; 5 | -------------------------------------------------------------------------------- /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/acpi-test-data/pc/DSDT.ipmikcs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/pc/DSDT.ipmikcs -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/DSDT.bridge: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/q35/DSDT.bridge -------------------------------------------------------------------------------- /tests/acpi-test-data/q35/DSDT.ipmibt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/acpi-test-data/q35/DSDT.ipmibt -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-base.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/alternate-base.json:4: Unknown key 'base' in alternate 'Alt' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-boxed-empty.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/args-boxed-empty.json:3: Cannot use 'boxed' with empty type 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/base-cycle-indirect.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/base-cycle-indirect.json:2: Object Base1 contains itself 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 | -------------------------------------------------------------------------------- /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/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-bad-boxed.json: -------------------------------------------------------------------------------- 1 | # 'boxed' should only appear with value true 2 | { 'command': 'foo', 'boxed': false } 3 | -------------------------------------------------------------------------------- /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:3: '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/flat-union-empty.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-empty.json:4: Union 'Union' cannot have empty '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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /include/hw/acpi/piix4.h: -------------------------------------------------------------------------------- 1 | #ifndef HW_ACPI_PIIX4_H 2 | #define HW_ACPI_PIIX4_H 3 | 4 | Object *piix4_pm_find(void); 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /include/trace.h: -------------------------------------------------------------------------------- 1 | #ifndef TRACE_H 2 | #define TRACE_H 3 | 4 | #include "trace/generated-tracers.h" 5 | 6 | #endif /* TRACE_H */ 7 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-any.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/alternate-any.json:2: Alternate 'Alt' member 'one' cannot use type 'any' 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-bad-boxed.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/args-bad-boxed.json:2: 'boxed' of command 'foo' should only use true value 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-boxed-anon.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/args-boxed-anon.json:2: 'data' for command 'foo' should be a type name 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-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-enum-q.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/reserved-enum-q.json:4: Member of enum 'Foo' uses invalid name 'q-Unix' 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 | -------------------------------------------------------------------------------- /hw/alpha/trace-events: -------------------------------------------------------------------------------- 1 | # See docs/tracing.txt for syntax documentation. 2 | 3 | # hw/alpha/pci.c 4 | alpha_pci_iack_write(void) "" 5 | -------------------------------------------------------------------------------- /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/base-cycle-direct.json: -------------------------------------------------------------------------------- 1 | # we reject a loop in base classes 2 | { 'struct': 'Loopy', 'base': 'Loopy', 'data': {} } 3 | -------------------------------------------------------------------------------- /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/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/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/qemu-iotests/148.out: -------------------------------------------------------------------------------- 1 | .. 2 | ---------------------------------------------------------------------- 3 | Ran 2 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/152.out: -------------------------------------------------------------------------------- 1 | .. 2 | ---------------------------------------------------------------------- 3 | Ran 2 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/afl5.img.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/qemu-iotests/sample_images/afl5.img.bz2 -------------------------------------------------------------------------------- /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/i386/acpi-build.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef HW_I386_ACPI_BUILD_H 3 | #define HW_I386_ACPI_BUILD_H 4 | 5 | void acpi_setup(void); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/alternate-clash.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/alternate-clash.json:7: 'a_b' (branch of Alt1) collides with 'a-b' (branch of Alt1) 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-empty.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/alternate-empty.json:2: Alternate 'Alt' should have at least two branches in 'data' 2 | -------------------------------------------------------------------------------- /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-boxed-string.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/args-boxed-string.json:2: 'data' for command 'foo' cannot use built-in type 'str' 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/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/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/qemu-iotests/065.out: -------------------------------------------------------------------------------- 1 | ........ 2 | ---------------------------------------------------------------------- 3 | Ran 8 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/093.out: -------------------------------------------------------------------------------- 1 | ....... 2 | ---------------------------------------------------------------------- 3 | Ran 7 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/139.out: -------------------------------------------------------------------------------- 1 | ......... 2 | ---------------------------------------------------------------------- 3 | Ran 9 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/147.out: -------------------------------------------------------------------------------- 1 | ...... 2 | ---------------------------------------------------------------------- 3 | Ran 6 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/afl9.vmdk.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/qemu-iotests/sample_images/afl9.vmdk.bz2 -------------------------------------------------------------------------------- /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/smbios/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-$(CONFIG_SMBIOS) += smbios.o 2 | common-obj-$(call land,$(CONFIG_SMBIOS),$(CONFIG_IPMI)) += smbios_type_38.o 3 | -------------------------------------------------------------------------------- /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/vhost.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "hw/virtio/vhost.h" 3 | 4 | bool vhost_has_free_slot(void) 5 | { 6 | return true; 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/alternate-empty.json: -------------------------------------------------------------------------------- 1 | # alternates must list at least two types to be useful 2 | { 'alternate': 'Alt', 'data': { 'i': 'int' } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-boxed-string.json: -------------------------------------------------------------------------------- 1 | # 'boxed' requires a complex (not built-in) type 2 | { 'command': 'foo', 'boxed': true, 'data': 'str' } 3 | -------------------------------------------------------------------------------- /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/struct-base-clash.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/struct-base-clash.json:5: 'name' (member of Sub) collides with 'name' (member of Base) 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/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/124.out: -------------------------------------------------------------------------------- 1 | ........... 2 | ---------------------------------------------------------------------- 3 | Ran 11 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/sample_images/empty.bochs.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/qemu-iotests/sample_images/empty.bochs.bz2 -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/grub_mbr.raw.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/qemu-iotests/sample_images/grub_mbr.raw.bz2 -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/parallels-v1.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/qemu-iotests/sample_images/parallels-v1.bz2 -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/parallels-v2.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/qemu-iotests/sample_images/parallels-v2.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 | -------------------------------------------------------------------------------- /include/hw/pci/pci_regs.h: -------------------------------------------------------------------------------- 1 | #include "standard-headers/linux/pci_regs.h" 2 | 3 | #define PCI_PM_CAP_VER_1_1 0x0002 /* PCI PM spec ver. 1.1 */ 4 | -------------------------------------------------------------------------------- /include/trace-tcg.h: -------------------------------------------------------------------------------- 1 | #ifndef TRACE_TCG_H 2 | #define TRACE_TCG_H 3 | 4 | #include "trace/generated-tcg-tracers.h" 5 | 6 | #endif /* TRACE_TCG_H */ 7 | -------------------------------------------------------------------------------- /scripts/coccinelle/remove_muldiv64.cocci: -------------------------------------------------------------------------------- 1 | // replace muldiv64(a, 1, b) by "a / b" 2 | @@ 3 | expression a, b; 4 | @@ 5 | -muldiv64(a, 1, b) 6 | +a / b 7 | -------------------------------------------------------------------------------- /stubs/sysbus.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "hw/qdev-core.h" 3 | 4 | BusState *sysbus_get_default(void) 5 | { 6 | return NULL; 7 | } 8 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-name-clash.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/args-name-clash.json:4: 'a_b' (parameter of oops) collides with 'a-b' (parameter of oops) 2 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /include/standard-headers/linux/types.h: -------------------------------------------------------------------------------- 1 | /* For QEMU all types are already defined via osdep.h, so this 2 | * header does not need to do anything. 3 | */ 4 | -------------------------------------------------------------------------------- /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/get-vm-name.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | 4 | const char *qemu_get_vm_name(void) 5 | { 6 | return NULL; 7 | } 8 | 9 | -------------------------------------------------------------------------------- /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-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/args-boxed-anon.json: -------------------------------------------------------------------------------- 1 | # 'boxed' can only be used with named types 2 | { 'command': 'foo', 'boxed': true, 'data': { 'string': 'str' } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/empty.out: -------------------------------------------------------------------------------- 1 | enum QType ['none', 'qnull', 'qint', 'qstring', 'qdict', 'qlist', 'qfloat', 'qbool'] 2 | prefix QTYPE 3 | object q_empty 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-member-case.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/enum-member-case.json:3: 'Value' (member of NoWayThisWillGetWhitelisted) should not use uppercase 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/flat-union-incomplete-branch.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-incomplete-branch.json:6: Union 'TestUnion' data missing 'value2' branch 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-unknown.json: -------------------------------------------------------------------------------- 1 | # we reject a union with unknown type in branch 2 | { 'union': 'Union', 3 | 'data': { 'unknown': 'MissingType' } } 4 | -------------------------------------------------------------------------------- /tests/qemu-iotests/030.out: -------------------------------------------------------------------------------- 1 | ...................... 2 | ---------------------------------------------------------------------- 3 | Ran 22 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/155.out: -------------------------------------------------------------------------------- 1 | ................... 2 | ---------------------------------------------------------------------- 3 | Ran 19 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/d2v-zerofilled.vhd.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/qemu-iotests/sample_images/d2v-zerofilled.vhd.bz2 -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/test-disk2vhd.vhdx.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/qemu-iotests/sample_images/test-disk2vhd.vhdx.bz2 -------------------------------------------------------------------------------- /include/qemu/unicode.h: -------------------------------------------------------------------------------- 1 | #ifndef QEMU_UNICODE_H 2 | #define QEMU_UNICODE_H 3 | 4 | int mod_utf8_codepoint(const char *s, size_t n, char **end); 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /stubs/blockdev-close-all-bdrv-states.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "block/block_int.h" 3 | 4 | void blockdev_close_all_bdrv_states(void) 5 | { 6 | } 7 | -------------------------------------------------------------------------------- /stubs/clock-warp.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "qemu/timer.h" 4 | 5 | void qemu_start_warp_timer(void) 6 | { 7 | } 8 | 9 | -------------------------------------------------------------------------------- /stubs/fd-register.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "qemu/main-loop.h" 4 | 5 | void qemu_fd_register(int fd) 6 | { 7 | } 8 | -------------------------------------------------------------------------------- /stubs/notify-event.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "qemu/main-loop.h" 4 | 5 | void qemu_notify_event(void) 6 | { 7 | } 8 | -------------------------------------------------------------------------------- /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.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/enum-clash-member.json:2: 'one_two' (member of MyEnum) collides with 'one-two' (member of MyEnum) 2 | -------------------------------------------------------------------------------- /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-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/struct-base-clash-deep.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/struct-base-clash-deep.json:10: 'name' (member of Sub) collides with 'name' (member of Base) 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-branch-case.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/union-branch-case.json:2: 'Branch' (branch of NoWayThisWillGetWhitelisted) should not use uppercase 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/union-clash-branches.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/union-clash-branches.json:4: 'a_b' (branch of TestUnion) collides with 'a-b' (branch of TestUnion) 2 | -------------------------------------------------------------------------------- /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/sample_images/iotest-version3.vmdk.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/qemu-iotests/sample_images/iotest-version3.vmdk.bz2 -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/simple-pattern.cloop.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/qemu-iotests/sample_images/simple-pattern.cloop.bz2 -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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-case.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/args-member-case.json:2: 'Arg' (parameter of no-way-this-will-get-whitelisted) should not use uppercase 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/enum-clash-member.json: -------------------------------------------------------------------------------- 1 | # we reject enums where members will clash when mapped to C enum 2 | { 'enum': 'MyEnum', 'data': [ 'one-two', 'one_two' ] } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-bad-base.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-bad-base.json:8: 'string' (member of TestTypeA) collides with 'string' (base of TestUnion) 2 | -------------------------------------------------------------------------------- /tests/qapi-schema/flat-union-clash-member.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/flat-union-clash-member.json:11: 'name' (member of Branch1) collides with 'name' (member of Base) 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/qapi-schema/reserved-member-underscore.err: -------------------------------------------------------------------------------- 1 | tests/qapi-schema/reserved-member-underscore.json:4: Member of 'data' for struct 'Oops' uses invalid name '_oops' 2 | -------------------------------------------------------------------------------- /tests/qemu-iotests/055.out: -------------------------------------------------------------------------------- 1 | .............................. 2 | ---------------------------------------------------------------------- 3 | Ran 30 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/iotest-dynamic-1G.vhdx.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/qemu-iotests/sample_images/iotest-dynamic-1G.vhdx.bz2 -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/virtualpc-dynamic.vhd.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/qemu-iotests/sample_images/virtualpc-dynamic.vhd.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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /include/qemu/path.h: -------------------------------------------------------------------------------- 1 | #ifndef QEMU_PATH_H 2 | #define QEMU_PATH_H 3 | 4 | void init_paths(const char *prefix); 5 | const char *path(const char *pathname); 6 | 7 | #endif 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 | -------------------------------------------------------------------------------- /stubs/gdbstub.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "exec/gdbstub.h" /* xml_builtin */ 3 | 4 | const char *const xml_builtin[][2] = { 5 | { NULL, NULL } 6 | }; 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/136.out: -------------------------------------------------------------------------------- 1 | ................................... 2 | ---------------------------------------------------------------------- 3 | Ran 35 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /tests/qemu-iotests/sample_images/hyperv2012r2-dynamic.vhd.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/qemu-iotests/sample_images/hyperv2012r2-dynamic.vhd.bz2 -------------------------------------------------------------------------------- /hw/arm/trace-events: -------------------------------------------------------------------------------- 1 | # See docs/tracing.txt for syntax documentation. 2 | 3 | # hw/arm/virt-acpi-build.c 4 | virt_acpi_setup(void) "No fw cfg or ACPI disabled. Bailing out." 5 | -------------------------------------------------------------------------------- /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 qobject.o json-lexer.o json-streamer.o json-parser.o 3 | -------------------------------------------------------------------------------- /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-remove-fd.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "monitor/monitor.h" 4 | 5 | void monitor_fdset_dup_fd_remove(int dupfd) 6 | { 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/args-boxed-empty.json: -------------------------------------------------------------------------------- 1 | # 'boxed' requires a non-empty type 2 | { 'struct': 'Empty', 'data': {} } 3 | { 'command': 'foo', 'boxed': true, 'data': 'Empty' } 4 | -------------------------------------------------------------------------------- /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/sample_images/iotest-dirtylog-10G-4M.vhdx.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantVM/QEMU/HEAD/tests/qemu-iotests/sample_images/iotest-dirtylog-10G-4M.vhdx.bz2 -------------------------------------------------------------------------------- /include/hw/empty_slot.h: -------------------------------------------------------------------------------- 1 | #ifndef HW_EMPTY_SLOT_H 2 | #define HW_EMPTY_SLOT_H 3 | 4 | /* empty_slot.c */ 5 | void empty_slot_init(hwaddr addr, uint64_t slot_size); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /module-common.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.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/blk-commit-all.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "sysemu/block-backend.h" 4 | 5 | int blk_commit_all(void) 6 | { 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /stubs/monitor-init.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "monitor/monitor.h" 4 | 5 | void monitor_init(CharDriverState *chr, int flags) 6 | { 7 | } 8 | -------------------------------------------------------------------------------- /stubs/runstate-check.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "sysemu/sysemu.h" 3 | 4 | bool runstate_check(RunState state) 5 | { 6 | return state == RUN_STATE_PRELAUNCH; 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/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/vfio/vfio.h: -------------------------------------------------------------------------------- 1 | #ifndef HW_VFIO_H 2 | #define HW_VFIO_H 3 | 4 | bool vfio_eeh_as_ok(AddressSpace *as); 5 | int vfio_eeh_as_op(AddressSpace *as, uint32_t op); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /stubs/iohandler.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "qemu/main-loop.h" 4 | 5 | AioContext *iohandler_get_aio_context(void) 6 | { 7 | abort(); 8 | } 9 | -------------------------------------------------------------------------------- /tests/qapi-schema/alternate-any.json: -------------------------------------------------------------------------------- 1 | # we do not allow the 'any' type as an alternate branch 2 | { 'alternate': 'Alt', 3 | 'data': { 'one': 'any', 4 | 'two': 'int' } } 5 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /hw/xenpv/Makefile.objs: -------------------------------------------------------------------------------- 1 | # Xen PV machine support 2 | obj-$(CONFIG_XEN) += xen_machine_pv.o 3 | # Xen PV machine builder support 4 | obj-$(CONFIG_XEN_PV_DOMAIN_BUILD) += xen_domainbuild.o 5 | -------------------------------------------------------------------------------- /stubs/cpu-get-clock.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "qemu/timer.h" 4 | 5 | int64_t cpu_get_clock(void) 6 | { 7 | return get_clock_realtime(); 8 | } 9 | -------------------------------------------------------------------------------- /stubs/fdset-find-fd.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "monitor/monitor.h" 4 | 5 | int monitor_fdset_dup_fd_find(int dup_fd) 6 | { 7 | return -1; 8 | } 9 | -------------------------------------------------------------------------------- /stubs/machine-init-done.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "sysemu/sysemu.h" 4 | 5 | void qemu_add_machine_init_done_notifier(Notifier *notify) 6 | { 7 | } 8 | -------------------------------------------------------------------------------- /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/args-union.json: -------------------------------------------------------------------------------- 1 | # use of union arguments requires 'boxed':true 2 | { 'union': 'Uni', 'data': { 'case1': 'int', 'case2': 'str' } } 3 | { 'command': 'oops', 'data': 'Uni' } 4 | -------------------------------------------------------------------------------- /tests/qapi-schema/base-cycle-indirect.json: -------------------------------------------------------------------------------- 1 | # we reject a loop in base classes 2 | { 'struct': 'Base1', 'base': 'Base2', 'data': {} } 3 | { 'struct': 'Base2', 'base': 'Base1', 'data': {} } 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/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/union-branch-case.json: -------------------------------------------------------------------------------- 1 | # Branch names should be 'lower-case' unless the union is whitelisted 2 | { 'union': 'NoWayThisWillGetWhitelisted', 'data': { 'Branch': 'int' } } 3 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /stubs/kvm.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "sysemu/kvm.h" 4 | 5 | int kvm_arch_irqchip_create(MachineState *ms, KVMState *s) 6 | { 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /stubs/target-monitor-defs.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | 3 | const MonitorDef *target_monitor_defs(void); 4 | 5 | const MonitorDef *target_monitor_defs(void) 6 | { 7 | return NULL; 8 | } 9 | -------------------------------------------------------------------------------- /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/args-member-case.json: -------------------------------------------------------------------------------- 1 | # Member names should be 'lower-case' unless the struct/command is whitelisted 2 | { 'command': 'no-way-this-will-get-whitelisted', 'data': { 'Arg': 'int' } } 3 | -------------------------------------------------------------------------------- /tests/qapi-schema/comments.out: -------------------------------------------------------------------------------- 1 | enum QType ['none', 'qnull', 'qint', 'qstring', 'qdict', 'qlist', 'qfloat', 'qbool'] 2 | prefix QTYPE 3 | enum Status ['good', 'bad', 'ugly'] 4 | object q_empty 5 | -------------------------------------------------------------------------------- /tests/qapi-schema/event-case.out: -------------------------------------------------------------------------------- 1 | enum QType ['none', 'qnull', 'qint', 'qstring', 'qdict', 'qlist', 'qfloat', 'qbool'] 2 | prefix QTYPE 3 | event oops None 4 | boxed=False 5 | object q_empty 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 | -------------------------------------------------------------------------------- /stubs/fdset-get-fd.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "monitor/monitor.h" 4 | 5 | int monitor_fdset_get_fd(int64_t fdset_id, int flags) 6 | { 7 | return -1; 8 | } 9 | -------------------------------------------------------------------------------- /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/qapi-schema/include-relpath.out: -------------------------------------------------------------------------------- 1 | enum QType ['none', 'qnull', 'qint', 'qstring', 'qdict', 'qlist', 'qfloat', 'qbool'] 2 | prefix QTYPE 3 | enum Status ['good', 'bad', 'ugly'] 4 | object q_empty 5 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-simple.out: -------------------------------------------------------------------------------- 1 | enum QType ['none', 'qnull', 'qint', 'qstring', 'qdict', 'qlist', 'qfloat', 'qbool'] 2 | prefix QTYPE 3 | enum Status ['good', 'bad', 'ugly'] 4 | object q_empty 5 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /hw/mem/trace-events: -------------------------------------------------------------------------------- 1 | # See docs/trace-events.txt for syntax documentation. 2 | 3 | # hw/mem/pc-dimm.c 4 | mhp_pc_dimm_assigned_slot(int slot) "%d" 5 | mhp_pc_dimm_assigned_address(uint64_t addr) "0x%"PRIx64 6 | -------------------------------------------------------------------------------- /stubs/fdset-add-fd.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "monitor/monitor.h" 4 | 5 | int monitor_fdset_dup_fd_add(int64_t fdset_id, int dup_fd) 6 | { 7 | return -1; 8 | } 9 | -------------------------------------------------------------------------------- /stubs/iothread.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "block/aio.h" 3 | #include "qemu/main-loop.h" 4 | 5 | AioContext *qemu_get_current_aio_context(void) 6 | { 7 | return qemu_get_aio_context(); 8 | } 9 | -------------------------------------------------------------------------------- /stubs/qmp_pc_dimm_device_list.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qom/object.h" 3 | #include "hw/mem/pc-dimm.h" 4 | 5 | int qmp_pc_dimm_device_list(Object *obj, void *opaque) 6 | { 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /tests/qapi-schema/include-repetition.out: -------------------------------------------------------------------------------- 1 | enum QType ['none', 'qnull', 'qint', 'qstring', 'qdict', 'qlist', 'qfloat', 'qbool'] 2 | prefix QTYPE 3 | enum Status ['good', 'bad', 'ugly'] 4 | object q_empty 5 | -------------------------------------------------------------------------------- /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/qemu-iotests/041.out: -------------------------------------------------------------------------------- 1 | ............................................................................ 2 | ---------------------------------------------------------------------- 3 | Ran 76 tests 4 | 5 | OK 6 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /stubs/cpus.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "qom/cpu.h" 4 | 5 | void cpu_resume(CPUState *cpu) 6 | { 7 | } 8 | 9 | void qemu_init_vcpu(CPUState *cpu) 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /stubs/bdrv-next-monitor-owned.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "block/block.h" 4 | 5 | BlockDriverState *bdrv_next_monitor_owned(BlockDriverState *bs) 6 | { 7 | return NULL; 8 | } 9 | -------------------------------------------------------------------------------- /stubs/mon-is-qmp.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "monitor/monitor.h" 4 | 5 | Monitor *cur_mon; 6 | 7 | bool monitor_cur_is_qmp(void) 8 | { 9 | return false; 10 | } 11 | -------------------------------------------------------------------------------- /stubs/pc_madt_cpu_entry.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "hw/i386/pc.h" 3 | 4 | void pc_madt_cpu_entry(AcpiDeviceIf *adev, int uid, 5 | CPUArchIdList *apic_ids, GArray *entry) 6 | { 7 | } 8 | -------------------------------------------------------------------------------- /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/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 | obj-y += core.o 6 | 7 | -------------------------------------------------------------------------------- /stubs/is-daemonized.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | 4 | /* Win32 has its own inline stub */ 5 | #ifndef _WIN32 6 | bool is_daemonized(void) 7 | { 8 | return false; 9 | } 10 | #endif 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /tests/qapi-schema/args-name-clash.json: -------------------------------------------------------------------------------- 1 | # C member name collision 2 | # Reject members that clash when mapped to C names (we would have two 'a_b' 3 | # members). 4 | { 'command': 'oops', 'data': { 'a-b': 'str', 'a_b': 'str' } } 5 | -------------------------------------------------------------------------------- /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/data/test-qga-config: -------------------------------------------------------------------------------- 1 | [general] 2 | daemon=false 3 | method=virtio-serial 4 | path=/path/to/org.qemu.guest_agent.0 5 | pidfile=/var/foo/qemu-ga.pid 6 | statedir=/var/state 7 | verbose=true 8 | blacklist=guest-ping;guest-get-time 9 | -------------------------------------------------------------------------------- /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/reserved-enum-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 | { 'enum': 'Foo', 'data': [ 'unix', 'q-Unix' ] } 5 | -------------------------------------------------------------------------------- /tests/qemu-iotests/145.out: -------------------------------------------------------------------------------- 1 | QA output created by 145 2 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 3 | QEMU X.Y.Z monitor - type 'help' for more information 4 | (qemu) qququiquit 5 | *** done 6 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /include/hw/pci-host/ppce500.h: -------------------------------------------------------------------------------- 1 | #ifndef PCI_HOST_PPCE500_H 2 | #define PCI_HOST_PPCE500_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/cpu-get-icount.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "qemu/timer.h" 4 | #include "sysemu/cpus.h" 5 | 6 | int use_icount; 7 | 8 | int64_t cpu_get_icount(void) 9 | { 10 | abort(); 11 | } 12 | -------------------------------------------------------------------------------- /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/flat-union-empty.json: -------------------------------------------------------------------------------- 1 | # flat unions cannot 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-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 | -------------------------------------------------------------------------------- /stubs/migr-blocker.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "migration/migration.h" 4 | 5 | void migrate_add_blocker(Error *reason) 6 | { 7 | } 8 | 9 | void migrate_del_blocker(Error *reason) 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /tests/qapi-schema/enum-member-case.json: -------------------------------------------------------------------------------- 1 | # Member names should be 'lower-case' unless the enum is whitelisted 2 | { 'enum': 'UuidInfo', 'data': [ 'Value' ] } # UuidInfo is whitelisted 3 | { 'enum': 'NoWayThisWillGetWhitelisted', 'data': [ 'Value' ] } 4 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /default-configs/mips64-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for mips64-softmmu 2 | 3 | include mips-softmmu-common.mak 4 | CONFIG_RC4030=y 5 | CONFIG_DP8393X=y 6 | CONFIG_DS1225Y=y 7 | CONFIG_JAZZ=y 8 | CONFIG_G364FB=y 9 | CONFIG_JAZZ_LED=y 10 | -------------------------------------------------------------------------------- /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-y += chrp_nvram.o 5 | common-obj-$(CONFIG_MAC_NVRAM) += mac_nvram.o 6 | obj-$(CONFIG_PSERIES) += spapr_nvram.o 7 | -------------------------------------------------------------------------------- /tests/docker/dockerfiles/travis.docker: -------------------------------------------------------------------------------- 1 | FROM quay.io/travisci/travis-ruby 2 | RUN apt-get update 3 | RUN apt-get -y build-dep qemu 4 | RUN apt-get -y build-dep device-tree-compiler 5 | RUN apt-get -y install python2.7 dh-autoreconf 6 | ENV FEATURES pyyaml 7 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | obj-$(CONFIG_MIPS_CPS) += cps.o 7 | -------------------------------------------------------------------------------- /hw/pci-bridge/dec.h: -------------------------------------------------------------------------------- 1 | #ifndef HW_PCI_BRIDGE_DEC_H 2 | #define HW_PCI_BRIDGE_DEC_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 | -------------------------------------------------------------------------------- /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/tricore/tricore.h: -------------------------------------------------------------------------------- 1 | #ifndef HW_TRICORE_H 2 | #define HW_TRICORE_H 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 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 | -------------------------------------------------------------------------------- /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 | common-obj-y += replay-char.o 7 | common-obj-y += replay-snapshot.o 8 | -------------------------------------------------------------------------------- /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_AUX=y 7 | CONFIG_DDC=y 8 | CONFIG_DPCD=y 9 | CONFIG_XLNX_ZYNQMP=y 10 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /scripts/coccinelle/error_propagate_null.cocci: -------------------------------------------------------------------------------- 1 | // error_propagate() already ignores local_err==NULL, so there's 2 | // no need to check it before calling. 3 | 4 | @@ 5 | identifier L; 6 | expression E; 7 | @@ 8 | -if (L) { 9 | error_propagate(E, L); 10 | -} 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /trace/ftrace.h: -------------------------------------------------------------------------------- 1 | #ifndef TRACE_FTRACE_H 2 | #define TRACE_FTRACE_H 3 | 4 | #define MAX_TRACE_STRLEN 512 5 | #define _STR(x) #x 6 | #define STR(x) _STR(x) 7 | 8 | extern int trace_marker_fd; 9 | 10 | bool ftrace_init(void); 11 | 12 | #endif /* TRACE_FTRACE_H */ 13 | -------------------------------------------------------------------------------- /hw/ipmi/Makefile.objs: -------------------------------------------------------------------------------- 1 | common-obj-$(CONFIG_IPMI) += ipmi.o 2 | common-obj-$(CONFIG_IPMI_LOCAL) += ipmi_bmc_sim.o 3 | common-obj-$(CONFIG_IPMI_EXTERN) += ipmi_bmc_extern.o 4 | common-obj-$(CONFIG_ISA_IPMI_KCS) += isa_ipmi_kcs.o 5 | common-obj-$(CONFIG_ISA_IPMI_BT) += isa_ipmi_bt.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/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 members 'a_b'). 4 | { 'union': 'TestUnion', 5 | 'data': { 'a-b': 'int', 'a_b': 'str' } } 6 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /hw/sd/trace-events: -------------------------------------------------------------------------------- 1 | # See docs/tracing.txt for syntax documentation. 2 | 3 | # hw/sd/milkymist-memcard.c 4 | milkymist_memcard_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x" 5 | milkymist_memcard_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x" 6 | -------------------------------------------------------------------------------- /stubs/vm-stop.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "sysemu/sysemu.h" 4 | 5 | void qemu_system_vmstop_request_prepare(void) 6 | { 7 | abort(); 8 | } 9 | 10 | void qemu_system_vmstop_request(RunState state) 11 | { 12 | abort(); 13 | } 14 | -------------------------------------------------------------------------------- /tests/qapi-schema/reserved-member-underscore.json: -------------------------------------------------------------------------------- 1 | # C member name collision 2 | # We reject use of a single leading underscore in all names (names must 3 | # begin with a letter or a downstream extension double-underscore prefix). 4 | { 'struct': 'Oops', 'data': { '_oops': 'str' } } 5 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /target-ppc/trace-events: -------------------------------------------------------------------------------- 1 | # See docs/tracing.txt for syntax documentation. 2 | 3 | # target-ppc/kvm.c 4 | kvm_failed_spr_set(int str, const char *msg) "Warning: Unable to set SPR %d to KVM: %s" 5 | kvm_failed_spr_get(int str, const char *msg) "Warning: Unable to retrieve SPR %d from KVM: %s" 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 | safe-syscall.o 4 | 5 | obj-$(TARGET_HAS_BFLT) += flatload.o 6 | obj-$(TARGET_I386) += vm86.o 7 | obj-$(TARGET_ARM) += arm/nwfpe/ 8 | obj-$(TARGET_M68K) += m68k-sim.o 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | obj-$(CONFIG_SOFTMMU) += amd-xgbe.o 7 | obj-$(CONFIG_SOFTMMU) += spapr.o 8 | endif 9 | -------------------------------------------------------------------------------- /hw/xen/Makefile.objs: -------------------------------------------------------------------------------- 1 | # xen backend driver support 2 | common-obj-$(CONFIG_XEN_BACKEND) += xen_backend.o xen_devconfig.o xen_pvdev.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_graphics.o xen_pt_msi.o 6 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /stubs/arch-query-cpu-def.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "sysemu/arch_init.h" 4 | #include "qapi/qmp/qerror.h" 5 | 6 | CpuDefinitionInfoList *arch_query_cpu_definitions(Error **errp) 7 | { 8 | error_setg(errp, QERR_UNSUPPORTED); 9 | return NULL; 10 | } 11 | -------------------------------------------------------------------------------- /stubs/slirp.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "qemu/host-utils.h" 4 | #include "slirp/slirp.h" 5 | 6 | void slirp_pollfds_fill(GArray *pollfds, uint32_t *timeout) 7 | { 8 | } 9 | 10 | void slirp_pollfds_poll(GArray *pollfds, int select_error) 11 | { 12 | } 13 | 14 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /scripts/coccinelle/simplify_muldiv64.cocci: -------------------------------------------------------------------------------- 1 | // replace muldiv64(i32, i32, x) by (uint64_t)i32 * i32 / x 2 | @@ 3 | typedef uint32_t; 4 | typedef int32_t; 5 | { uint32_t, int32_t, int, unsigned int } a, b; 6 | typedef uint64_t; 7 | expression c; 8 | @@ 9 | 10 | -muldiv64(a,b,c) 11 | +(uint64_t) a * b / c 12 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /tests/qemu-iotests/150.out: -------------------------------------------------------------------------------- 1 | QA output created by 150 2 | 3 | === Mapping sparse conversion === 4 | 5 | Offset Length File 6 | 7 | === Mapping non-sparse conversion === 8 | 9 | Offset Length File 10 | 0 0x100000 TEST_DIR/t.IMGFMT 11 | *** done 12 | -------------------------------------------------------------------------------- /stubs/get-fd.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qapi/error.h" 3 | #include "qemu-common.h" 4 | #include "monitor/monitor.h" 5 | 6 | int monitor_get_fd(Monitor *mon, const char *name, Error **errp) 7 | { 8 | error_setg(errp, "only QEMU supports file descriptor passing"); 9 | return -1; 10 | } 11 | -------------------------------------------------------------------------------- /stubs/iothread-lock.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "qemu/main-loop.h" 4 | 5 | bool qemu_mutex_iothread_locked(void) 6 | { 7 | return true; 8 | } 9 | 10 | void qemu_mutex_lock_iothread(void) 11 | { 12 | } 13 | 14 | void qemu_mutex_unlock_iothread(void) 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /tests/docker/dockerfiles/centos6.docker: -------------------------------------------------------------------------------- 1 | FROM centos:6 2 | RUN yum install -y epel-release 3 | ENV PACKAGES libfdt-devel ccache \ 4 | tar git make gcc g++ \ 5 | zlib-devel glib2-devel SDL-devel pixman-devel \ 6 | epel-release 7 | RUN yum install -y $PACKAGES 8 | RUN rpm -q $PACKAGES | sort > /packages.txt 9 | -------------------------------------------------------------------------------- /bsd-user/sparc/target_syscall.h: -------------------------------------------------------------------------------- 1 | #ifndef TARGET_SYSCALL_H 2 | #define TARGET_SYSCALL_H 3 | 4 | struct target_pt_regs { 5 | abi_ulong psr; 6 | abi_ulong pc; 7 | abi_ulong npc; 8 | abi_ulong y; 9 | abi_ulong u_regs[16]; 10 | }; 11 | 12 | #define UNAME_MACHINE "sun4" 13 | 14 | #endif /* TARGET_SYSCALL_H */ 15 | -------------------------------------------------------------------------------- /default-configs/mips64el-softmmu.mak: -------------------------------------------------------------------------------- 1 | # Default configuration for mips64el-softmmu 2 | 3 | include mips-softmmu-common.mak 4 | CONFIG_IDE_VIA=y 5 | CONFIG_RC4030=y 6 | CONFIG_DP8393X=y 7 | CONFIG_DS1225Y=y 8 | CONFIG_FULONG=y 9 | CONFIG_JAZZ=y 10 | CONFIG_G364FB=y 11 | CONFIG_JAZZ_LED=y 12 | CONFIG_VT82C686=y 13 | -------------------------------------------------------------------------------- /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 core.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 | -------------------------------------------------------------------------------- /include/qemu/id.h: -------------------------------------------------------------------------------- 1 | #ifndef QEMU_ID_H 2 | #define QEMU_ID_H 3 | 4 | typedef enum IdSubSystems { 5 | ID_QDEV, 6 | ID_BLOCK, 7 | ID_MAX /* last element, used as array size */ 8 | } IdSubSystems; 9 | 10 | char *id_generate(IdSubSystems id); 11 | bool id_wellformed(const char *id); 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /include/qemu/mmap-alloc.h: -------------------------------------------------------------------------------- 1 | #ifndef QEMU_MMAP_ALLOC_H 2 | #define QEMU_MMAP_ALLOC_H 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 | -------------------------------------------------------------------------------- /stubs/uuid.c: -------------------------------------------------------------------------------- 1 | #include "qemu/osdep.h" 2 | #include "qemu-common.h" 3 | #include "qemu/uuid.h" 4 | #include "qmp-commands.h" 5 | 6 | UuidInfo *qmp_query_uuid(Error **errp) 7 | { 8 | UuidInfo *info = g_malloc0(sizeof(*info)); 9 | 10 | info->UUID = g_strdup(UUID_NONE); 11 | return info; 12 | } 13 | 14 | -------------------------------------------------------------------------------- /tests/libqos/libqos-spapr.h: -------------------------------------------------------------------------------- 1 | #ifndef LIBQOS_SPAPR_H 2 | #define LIBQOS_SPAPR_H 3 | 4 | #include "libqos/libqos.h" 5 | 6 | QOSState *qtest_spapr_vboot(const char *cmdline_fmt, va_list ap); 7 | QOSState *qtest_spapr_boot(const char *cmdline_fmt, ...); 8 | void qtest_spapr_shutdown(QOSState *qs); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /tests/qapi-schema/ident-with-escape.out: -------------------------------------------------------------------------------- 1 | enum QType ['none', 'qnull', 'qint', 'qstring', 'qdict', 'qlist', 'qfloat', 'qbool'] 2 | prefix QTYPE 3 | command fooA q_obj_fooA-arg -> None 4 | gen=True success_response=True boxed=False 5 | object q_empty 6 | object q_obj_fooA-arg 7 | member bar1: str optional=False 8 | -------------------------------------------------------------------------------- /tests/qapi-schema/indented-expr.out: -------------------------------------------------------------------------------- 1 | enum QType ['none', 'qnull', 'qint', 'qstring', 'qdict', 'qlist', 'qfloat', 'qbool'] 2 | prefix QTYPE 3 | command eins None -> None 4 | gen=True success_response=True boxed=False 5 | object q_empty 6 | command zwei None -> None 7 | gen=True success_response=True boxed=False 8 | -------------------------------------------------------------------------------- /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 HW_CRIS_BOOT_H 2 | #define HW_CRIS_BOOT_H 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 | -------------------------------------------------------------------------------- /io/Makefile.objs: -------------------------------------------------------------------------------- 1 | io-obj-y = channel.o 2 | io-obj-y += channel-buffer.o 3 | io-obj-y += channel-command.o 4 | io-obj-y += channel-file.o 5 | io-obj-y += channel-socket.o 6 | io-obj-y += channel-tls.o 7 | io-obj-y += channel-watch.o 8 | io-obj-y += channel-websock.o 9 | io-obj-y += channel-util.o 10 | io-obj-y += task.o 11 | --------------------------------------------------------------------------------