Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Carveout, localhost USB, SEP, MT, PCIe, Baseband, Disp PMU #42

Draft
wants to merge 5,062 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5062 commits
Select commit Hold shift + click to select a range
03d6c23
tests/functional: honour self.workdir in ACPI bits tests
berrange Nov 21, 2024
e6d69e0
tests/functional: put QEMUMachine logs in testcase log directory
berrange Nov 21, 2024
9f85aff
tests/functional: honour requested test VM name in QEMUMachine
berrange Nov 21, 2024
9bcfead
tests/functional: enable debug logging for QEMUMachine
berrange Nov 21, 2024
6f0942b
tests/functional: logs details of console interaction operations
berrange Nov 21, 2024
7699e37
tests/functional: don't try to wait for the empty string
berrange Nov 21, 2024
f03a818
tests/functional: require non-NULL success_message for console wait
berrange Nov 21, 2024
cdad03b
tests/functional: rewrite console handling to be bytewise
berrange Nov 21, 2024
97d7931
tests/functional: remove time.sleep usage from tuxrun tests
berrange Nov 21, 2024
1a8755a
tests/functional: add a QMP backdoor for debugging stalled tests
berrange Nov 21, 2024
f5578e4
tests/functional: avoid accessing log_filename on earlier failures
berrange Nov 21, 2024
3713690
tests/functional: Convert the Avocado aarch64 tuxrun tests
huth Nov 21, 2024
abf7c0f
tests/functional: update the aarch64 tuxrun tests
stsquad Nov 21, 2024
cfa3a6c
plugins: add missing export for qemu_plugin_num_vcpus
pbo-linaro Nov 21, 2024
1ef08e3
plugins: detect qemu plugin API symbols from header
pbo-linaro Nov 21, 2024
8ac1719
plugins: eradicate qemu-plugins.symbols static file
pbo-linaro Nov 21, 2024
f7ceab1
rust/pl011: Fix range checks for device ID accesses
eternalNight Nov 21, 2024
270c81b
docs: explicitly permit a "commonly known identity" with SoB
berrange Nov 21, 2024
c95309b
tests/functional: Convert Aspeed aarch64 SDK tests
legoater Nov 22, 2024
f9ab0f4
tests/functional: Convert Aspeed arm SDK tests
legoater Nov 22, 2024
f8f5923
tests/functional: Remove sleep workarounds from Aspeed tests
legoater Nov 22, 2024
791e383
Merge tag 'net-pull-request' of https://github.com/jasowang/qemu into…
pm215 Nov 25, 2024
bd5629d
Merge tag 'for-upstream' of https://repo.or.cz/qemu/kevin into staging
pm215 Nov 25, 2024
87ae45e
migration: Allow pipes to keep working for fd migrations
xzpeter Nov 20, 2024
59c390d
migration: Fix extra cleanup at postcopy listen
Nov 25, 2024
9379ea9
virtio-net: Add queues before loading them
akihikodaki Oct 22, 2024
b8ee011
Merge tag 'pull-9.2-rc2-updates-251124-1' of https://gitlab.com/stsqu…
pm215 Nov 26, 2024
1af7cba
Merge tag 'migration-20241125-pull-request' of https://gitlab.com/pet…
pm215 Nov 26, 2024
ba54a7e
Merge tag 'net-pull-request' of https://github.com/jasowang/qemu into…
pm215 Nov 26, 2024
a0dfe58
target/arm/tcg/cpu32.c: swap ATCM and BTCM register names
Nov 26, 2024
c36fb96
docs/system/arm/emulation: mention armv9
pbo-linaro Nov 22, 2024
75c1f8d
docs/system/arm/emulation: fix typo in feature name
pbo-linaro Nov 22, 2024
4fc5ec4
docs/system/arm/emulation: add FEAT_SSBS2
pbo-linaro Nov 22, 2024
2b65ea8
target/arm/tcg/: fix typo in FEAT name
pbo-linaro Nov 22, 2024
7ddaf0e
docs/system/arm/: add FEAT_MTE_ASYNC
pbo-linaro Nov 22, 2024
e8319a3
docs/system/arm/: add FEAT_DoubleLock
pbo-linaro Nov 22, 2024
23055b1
docs/system/arm/fby35: update link to product page
pbo-linaro Nov 22, 2024
d8790ea
docs/system/arm/aspeed: add missing model supermicrox11spi-bmc
pbo-linaro Nov 22, 2024
fa416ae
target/ppc: Fix non-maskable interrupt while halted
npiggin Nov 11, 2024
96746f7
ppc/pnv: Fix direct controls quiesce
npiggin Nov 11, 2024
2fc0a78
target/ppc: Fix THREAD_SIBLING_FOREACH for multi-socket
milesg-github Nov 14, 2024
5e39814
ppc/pnv: Add xscom- prefix to pervasive-control region name
npiggin Aug 29, 2024
e8185fd
ppc/spapr: fix drc index mismatch for partially enabled vcpus
Nov 25, 2024
0805136
hw/ppc/pegasos2: Fix IRQ routing from pci.0
zbalaton Nov 25, 2024
7cbea81
Merge tag 'pull-target-arm-20241126' of https://git.linaro.org/people…
pm215 Nov 26, 2024
10bfa16
Merge tag 'pull-ppc-for-9.2-2-20241127' of https://gitlab.com/npiggin…
pm215 Nov 26, 2024
16f6804
vhost_net: fix assertion triggered by batch of host notifiers processing
Nov 15, 2024
ef5e7ae
qtest: allow ACPI DSDT Table changes
Nov 12, 2024
cb36e25
Revert "hw/acpi: Update ACPI `_STA` method with QOM vCPU ACPI Hotplug…
Nov 12, 2024
f2ba6ab
Revert "hw/acpi: Make CPUs ACPI `presence` conditional during vCPU ho…
Nov 12, 2024
e50a24e
tests/acpi: update expected blobs
Nov 12, 2024
c5e36a5
hw/cxl: Check for zero length features in cmd_features_set_feature()
jic23 Nov 8, 2024
e069c11
qapi: fix device-sync-config since-version
Nov 8, 2024
13a4a6b
hw/acpi: Fix size of HID in build_append_srat_acpi_device_handle()
jic23 Nov 7, 2024
37a14f2
qapi/qom: Change Since entry for AcpiGenericPortProperties to 9.2
jic23 Nov 7, 2024
2cb7409
bios-tables-test: Allow for new acpihmat-generic-x test data.
jic23 Nov 7, 2024
18afed7
bios-tables-test: Add complex SRAT / HMAT test for GI GP
jic23 Nov 7, 2024
5d52529
bios-tables-test: Add data for complex numa test (GI, GP etc)
jic23 Nov 7, 2024
571bdc9
vhost: fail device start if iotlb update fails
Nov 7, 2024
7872e5f
Update version for v9.2.0-rc2 release
pm215 Nov 26, 2024
4a722d2
docs/devel/testing/functional: Clarify that we have to use the build …
huth Nov 12, 2024
16595bc
docs: Document that hvf on Arm is supported
akihikodaki Nov 27, 2024
8046759
tests/functional: Fix the running test case causes loongarch64 to hang
lixianglai Nov 27, 2024
4e03520
meson.build: Refuse XCode versions < v15.0
huth Nov 26, 2024
0218f6c
.gitlab-ci.d/cirrus: Remove the wrong CPU and RAM settings from the m…
huth Nov 25, 2024
c00989a
tests/functional: Remove sleep workarounds from sh4 test
legoater Nov 22, 2024
ef45f46
hw/pci: Remove unused pci_irq_pulse() method
philmd Nov 22, 2024
45069ea
Merge tag 'pull-request-2024-11-27' of https://gitlab.com/thuth/qemu …
pm215 Nov 27, 2024
24602b7
Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/m…
pm215 Nov 28, 2024
0266aef
amd_iommu: Fix kvm_enable_x2apic link error with clang in non-KVM builds
sarunkod Nov 14, 2024
654076b
hvf: complete 1G page support
agraf Apr 20, 2023
3abb673
scsi: megasas: Internal cdbs have 16-byte length
groeck Feb 28, 2023
f2db23e
9pfs: cleanup V9fsFidState
cschoenebeck Nov 21, 2024
462db8f
tests/9p: add 'use-after-unlink' test
cschoenebeck Feb 21, 2024
abf0f09
tests/9p: fix Rreaddir response name
cschoenebeck Nov 24, 2024
4ec9849
tests/9p: add missing Rgetattr response name
cschoenebeck Nov 24, 2024
3bc4db4
9pfs: remove obsolete comment in v9fs_getattr()
cschoenebeck Nov 24, 2024
c81e721
9pfs: fix 'Tgetattr' after unlink
cschoenebeck Nov 24, 2024
eaab44c
tests/9p: also check 'Tgetattr' in 'use-after-unlink' test
cschoenebeck Nov 24, 2024
95ee23e
Merge tag 'pull-9p-20241128' of https://github.com/cschoenebeck/qemu …
pm215 Nov 29, 2024
72b8890
Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging
pm215 Nov 29, 2024
188df56
chardev/char-mux: shift unsigned long to avoid 32-bit overflow
rouming Nov 29, 2024
e6214fd
chardev/char-mux: make boolean bit check instead of find_next_bit()
rouming Nov 29, 2024
412df55
Merge tag 'chr-pull-request' of https://gitlab.com/marcandre.lureau/q…
pm215 Dec 2, 2024
fe45526
tests/functional/test_acpi_bits: Turn the test into a QemuSystemTest
huth Nov 28, 2024
c78ba43
tests/functional/test_virtio_version: Check for the availability of t…
huth Nov 28, 2024
92ee59b
tests/functional: increase timeouts for arm sx1 test
berrange Nov 29, 2024
eb22a06
Merge tag 'pull-request-2024-12-02' of https://gitlab.com/thuth/qemu …
pm215 Dec 2, 2024
3b83e66
migration: correct multifd receive thread name
Nov 27, 2024
9162f10
hw/nvme: fix msix_uninit with exclusive bar
birkelund Nov 10, 2024
149f6e9
hw/nvme: fix use/unuse of msix vectors
birkelund Nov 10, 2024
e859877
hw/nvme: SR-IOV VFs must hardwire pci interrupt pin register to zero
birkelund Nov 11, 2024
6651f8f
hw/nvme: take a reference on the subsystem on vf realization
birkelund Nov 11, 2024
b2e64cb
Merge tag 'migration-20241202-pull-request' of https://gitlab.com/pet…
pm215 Dec 3, 2024
248f920
Merge tag 'pull-nvme-20241203' of https://gitlab.com/birkelund/qemu i…
pm215 Dec 3, 2024
26dcf2b
hw/openrisc/openrisc_sim: keep serial@90000000 as default
a3f Aug 22, 2024
3eb43ae
hw/openrisc: Fixed undercounting of TTCR in continuous mode
jhol Jun 7, 2024
79b38d6
hw/openrisc: Fixed undercounting of TTCR in continuous mode
jhol Jun 7, 2024
5d8a250
hw/openrisc/openrisc_sim: keep serial@90000000 as default
a3f Aug 22, 2024
9cf6e41
ui/cocoa: Temporarily ignore annoying deprecated declaration warnings
philmd Sep 17, 2024
9c3934b
MAINTAINERS: add myself as the maintainer for LoongArch VirtMachine
bibo-mao Nov 12, 2024
5162557
meson: Add missing SDL dependency to system/main.c
philmd Nov 20, 2024
2dfe936
MAINTAINERS: update email addr for Brian Cain
androm3da Nov 23, 2024
235560b
hw/core/machine: diagnose wrapping of maxmem
berrange Nov 27, 2024
5311599
target/riscv: Avoid bad shift in riscv_cpu_do_interrupt()
pm215 Nov 28, 2024
302075f
hw/display/vga: Do not reset 'big_endian_fb' in vga_common_reset()
philmd Nov 28, 2024
bff1050
hw/virtio: fix crash in processing balloon stats
berrange Nov 29, 2024
8460459
tests/qtest: drop 'fuzz-' prefix from virtio-balloon test
berrange Nov 29, 2024
d65c890
tests/qtest: add test for querying balloon guest stats
berrange Nov 29, 2024
964d2a0
system: Select HVF by default when no other accelerator is available
philmd Dec 3, 2024
651b386
chardev: Fix record/replay error path NULL deref in device creation
npiggin Aug 28, 2024
3c8ab23
chardev: Remove __-prefixed names
npiggin Aug 28, 2024
b733701
Merge tag 'pull-or1k-20241203' of https://github.com/stffrdhrn/qemu i…
pm215 Dec 3, 2024
712f715
Merge tag 'hw-misc-20241203' of https://github.com/philmd/qemu into s…
pm215 Dec 3, 2024
f07e0ad
Merge tag 'chr-pull-request' of https://gitlab.com/marcandre.lureau/q…
pm215 Dec 3, 2024
1cf9bc6
Update version for v9.2.0-rc3 release
pm215 Dec 3, 2024
ae35f03
Update version for v9.2.0 release
pm215 Dec 10, 2024
6223b19
revert test changes committed to a few files
VisualEhrmanntraut Dec 11, 2024
af03c1c
fix patches in t8030_patch_kernel
VisualEhrmanntraut Dec 11, 2024
58abfd9
device tree fixes
VisualEhrmanntraut Dec 11, 2024
1dfa9b6
device tree fixes v2, my bad
chris-pcguy Dec 11, 2024
ad5573f
misc cleanup, and clearing sepfw locations before use
chris-pcguy Dec 15, 2024
6ed57eb
Reduce hardcoded SMC addresses and map region
chris-pcguy Dec 15, 2024
a7a5a43
bluetooth and kernel patches
chris-pcguy Dec 15, 2024
a2a2969
fix: Switch resolution to the iPhone 11 one
VisualEhrmanntraut Dec 19, 2024
8ec613f
fix: Clean up files and fix compilation on macOS
VisualEhrmanntraut Dec 19, 2024
05c790d
refactor: Remove unused ECORE/PCORE definitions
VisualEhrmanntraut Dec 20, 2024
cb88a68
fix: Only create SPI controllers defined in the device tree
VisualEhrmanntraut Jan 2, 2025
37cc3de
refactor: General code refactoring and fixes
VisualEhrmanntraut Jan 3, 2025
ac40d37
refactor: More code cleanup and fixes
VisualEhrmanntraut Jan 3, 2025
9ee6ec4
feat: warn if Apple SPI is DMA capable but has no SIO
VisualEhrmanntraut Jan 3, 2025
3d20021
fix: don't crash emulator if using SEP sim
VisualEhrmanntraut Jan 3, 2025
7e50693
refactor: Reduce recasts of machine state
VisualEhrmanntraut Jan 3, 2025
2abfece
refactor: some more clean up
VisualEhrmanntraut Jan 3, 2025
194b941
refactor: more cleanup, silence some debugging
VisualEhrmanntraut Jan 3, 2025
59b235c
feat: add func to get ssi bus in apple spi
VisualEhrmanntraut Jan 3, 2025
fe27619
feat: unblacklist aop-gpio
VisualEhrmanntraut Jan 3, 2025
3791f56
fix: comment out set for debug-enabled
VisualEhrmanntraut Jan 3, 2025
9f37f93
refactor: move irq init for dpv2 to creation
VisualEhrmanntraut Jan 4, 2025
4863695
refactor: add vtop_slid
VisualEhrmanntraut Jan 4, 2025
d3b3f27
refactor: silence more debugging
VisualEhrmanntraut Jan 4, 2025
d16eb8d
fix: mark roswell non-user creatable
VisualEhrmanntraut Jan 4, 2025
105f2d1
refactor: sort file list in meson.build
VisualEhrmanntraut Jan 4, 2025
f338237
refactor: switch more code to vtop_slid
VisualEhrmanntraut Jan 4, 2025
78ff84f
misc: comment out set of research-enabled
VisualEhrmanntraut Jan 4, 2025
9e24cbd
refactor: Make the SEPROM patches readable
VisualEhrmanntraut Jan 4, 2025
4199e1e
misc: Disable cpu state dumps in SEP
VisualEhrmanntraut Jan 4, 2025
4a9f832
refactor: more cleanup
VisualEhrmanntraut Jan 4, 2025
8ce9dbb
misc: reduce debug prints even more
VisualEhrmanntraut Jan 4, 2025
5a65740
misc: reduce debug prints from sep, again
VisualEhrmanntraut Jan 4, 2025
e268012
SEP just please shut up
VisualEhrmanntraut Jan 5, 2025
1c96b80
fix: fix some things in gpio
VisualEhrmanntraut Jan 6, 2025
6d48ae6
fix: disable PAC because it's straight up broken. thanks QEMU.
VisualEhrmanntraut Jan 9, 2025
f4cd2a0
devtree backport from t8030 to s8000, and a sep register name change
chris-pcguy Jan 10, 2025
93a585d
fix: some usb-related bugs caused by Ntrung-isms.
chris-pcguy Jan 10, 2025
7e887fb
fix: fix/workaround for usb issues on high load
chris-pcguy Jan 10, 2025
0f5ff2c
fix: some mac addresses
chris-pcguy Jan 11, 2025
a5b81f7
refactor: misc t8030_patch_kernel cleanup
VisualEhrmanntraut Jan 11, 2025
23b2f0f
fix: fix compilation error
VisualEhrmanntraut Jan 11, 2025
f19ec28
feat: adding a proper software-behavior prop
chris-pcguy Jan 12, 2025
849eb4b
fix: the second copy and paste error today, argh
chris-pcguy Jan 12, 2025
aa9cad3
fix: create_roswell needs to be called with t8030_machine
VisualEhrmanntraut Jan 13, 2025
dee1a16
fix: strings with dollar signs in t8030 are wrong
VisualEhrmanntraut Jan 14, 2025
2623918
fix: strings with dollar signs in s8000 are wrong
VisualEhrmanntraut Jan 14, 2025
6e1c62b
refactor: remove a commented line in t8030
VisualEhrmanntraut Jan 14, 2025
8235aaf
fix: usb null-pointer access and ssc/lynx field limits. cmd 0x8 is sl…
chris-pcguy Jan 15, 2025
cca6ca1
fix: gcc shenanigans. good riddance, gcc. I switched to clang for thi…
chris-pcguy Jan 15, 2025
0a5b062
refactor: various fixes to the sep code
VisualEhrmanntraut Jan 15, 2025
b09fe9b
refactor: format sep.h
VisualEhrmanntraut Jan 15, 2025
f668e53
Merge tag 'v9.2.0' into feat-sep_emu
VisualEhrmanntraut Jan 15, 2025
5f1e28b
misc: Bump copyright dates
VisualEhrmanntraut Jan 16, 2025
0503896
refactor: Reduce s8000 machine casts
VisualEhrmanntraut Jan 16, 2025
6be68a1
fix: set_dtb_prop typo
VisualEhrmanntraut Jan 16, 2025
2b05d18
fix: revert nvme sqes change
VisualEhrmanntraut Jan 17, 2025
82365d1
refactor: change a set_prop call to set_prop_u32
VisualEhrmanntraut Jan 17, 2025
c9fdb8b
feat: clear fb on reset
VisualEhrmanntraut Jan 17, 2025
38d4ee9
feat: use hash table for dtb props instead of a list
VisualEhrmanntraut Jan 17, 2025
b25b94e
refactor: remove the B from DTB_PROP_NAME_LEN
VisualEhrmanntraut Jan 17, 2025
0319e60
refactor: remove dtb prop flags field
VisualEhrmanntraut Jan 17, 2025
2987462
refactor: rename dtb prop value to data
VisualEhrmanntraut Jan 17, 2025
b93aa7a
fix: remove stupid dt buffer alignment ntrungism
VisualEhrmanntraut Jan 17, 2025
40adf3e
fix: correct some device tree props
VisualEhrmanntraut Jan 17, 2025
bed10dd
fix: machine used before it's defined in s8000
VisualEhrmanntraut Jan 18, 2025
5ffe54c
feat: windows support fixes
VisualEhrmanntraut Jan 18, 2025
542f3bd
refactor: clean up dtb_get_serialised_node_size
VisualEhrmanntraut Jan 18, 2025
a9cf5ea
refactor: remove unused bit index functions
VisualEhrmanntraut Jan 18, 2025
77af660
fix: heap buffer overflow in dtb
VisualEhrmanntraut Jan 18, 2025
e54c061
fix: heap buffer overflow in gpio
VisualEhrmanntraut Jan 18, 2025
9ff3b68
refactor: deduplicate 16k round ups
VisualEhrmanntraut Jan 18, 2025
9392fa7
fix: correct fstab props according to osenvironment
VisualEhrmanntraut Jan 18, 2025
6105c35
fix: use snprintf instead of sprintf in sep
VisualEhrmanntraut Jan 18, 2025
8b9f305
refactor: use strconcat instead of asprintf for cmdline
VisualEhrmanntraut Jan 18, 2025
eb3d29c
refactor: some error message improvements
VisualEhrmanntraut Jan 18, 2025
802088f
feat: handle dtb placeholders
VisualEhrmanntraut Jan 18, 2025
e723774
fix: remove the bluetooth and wlan like before
VisualEhrmanntraut Jan 18, 2025
ab57071
refactor: improve error messages in boot.c
VisualEhrmanntraut Jan 18, 2025
1c97290
Merge branch 'master' into feat-sep_emu
VisualEhrmanntraut Jan 18, 2025
1e32b33
fix: compilation error from merge artefact
VisualEhrmanntraut Jan 18, 2025
b6bf4ae
build: attempt to fix build workflow
VisualEhrmanntraut Jan 18, 2025
bc1be1b
fix: recovery, first reboot and lynx.
chris-pcguy Jan 19, 2025
7b8d455
fix: fix further (re)boots as well
chris-pcguy Jan 19, 2025
20741a4
fix: replace get_node with find_node
VisualEhrmanntraut Jan 19, 2025
b7f3b5c
fix: don't use strlen in get_node, add missing break;
VisualEhrmanntraut Jan 19, 2025
d0a8521
fix: don't apply recovery osenvironment
VisualEhrmanntraut Jan 19, 2025
4f5a6d2
fix: don't change some pmgr reg if loading snapshot
VisualEhrmanntraut Jan 19, 2025
45b0009
refactor: remove extraneous qemu_fallthrough
VisualEhrmanntraut Jan 19, 2025
9975b6a
misc: remove program name from logs
VisualEhrmanntraut Jan 19, 2025
551d4f6
fix: pkg-config for local-built nettle, because Microsoft won't add a…
chris-pcguy Jan 19, 2025
358298f
build: use configure flags for cflags/ldflags
VisualEhrmanntraut Jan 19, 2025
8c08175
build: add steps to build binaries for x86 macOS
VisualEhrmanntraut Jan 19, 2025
ce754bc
feat: Multitouch stub
VisualEhrmanntraut Jan 19, 2025
df5bde1
feat: whitelist sacm
VisualEhrmanntraut Jan 19, 2025
7bce66d
refactor: unserialise -> deserialise
VisualEhrmanntraut Jan 19, 2025
0f550b5
fix: fullsize content on cocoa obstructs touch screen
VisualEhrmanntraut Jan 20, 2025
cdb4305
feat: display v-blank/v-sync
VisualEhrmanntraut Jan 21, 2025
8a8e704
refactor: remove xnu_header global
VisualEhrmanntraut Jan 22, 2025
f39da22
feat: Allow hactivation
VisualEhrmanntraut Jan 22, 2025
885fcc5
feat: functional touch controller
VisualEhrmanntraut Jan 22, 2025
5089000
docs: minor comment fixes in MT SPI
VisualEhrmanntraut Jan 22, 2025
f576dbc
fix: reduce refresh rate of mt to 20
VisualEhrmanntraut Jan 23, 2025
01141ad
fix: sep: some cleanup, copy and paste error, small memory leak
chris-pcguy Jan 23, 2025
41fe06d
refactor: clean up smc_result
VisualEhrmanntraut Jan 23, 2025
a47e125
refactor: remove some patches
VisualEhrmanntraut Jan 23, 2025
5ba9187
fix: usb regression
chris-pcguy Jan 23, 2025
a8f3d9f
fix: usb: hopefully fix regression caused by my last commit (notice t…
chris-pcguy Jan 23, 2025
5f025e6
fix: fix/workaround for ap aes
chris-pcguy Jan 25, 2025
4405efc
fix: multitouch positioning
chris-pcguy Jan 26, 2025
708f700
refactor: aes define cleanup
VisualEhrmanntraut Jan 26, 2025
a660127
fix: remove need for mt magic pos min/max constants
VisualEhrmanntraut Jan 26, 2025
ce1befc
fix: remove unnecessary amfi trust cache prop
VisualEhrmanntraut Jan 26, 2025
9ef157a
fix: mt path stage adjustments
VisualEhrmanntraut Jan 26, 2025
4a8fbfa
feat: Carveout allocator
VisualEhrmanntraut Jan 26, 2025
55e4cb2
fix: clean up sep shmbuf/ool mess
chris-pcguy Jan 27, 2025
e36e8bc
fix: typo fixes and cleanup
VisualEhrmanntraut Jan 27, 2025
6945aab
fix: deduplicate rtkit segment code and unhardcode smc sizes
VisualEhrmanntraut Jan 27, 2025
29cb753
refactor: don't pass sio msg by value
VisualEhrmanntraut Jan 27, 2025
ee97f63
fix: free original pointer
chris-pcguy Jan 27, 2025
d85747d
fix: remove unnecessary rounding
VisualEhrmanntraut Jan 27, 2025
38337b8
refactor: move roswell state to source file
VisualEhrmanntraut Jan 27, 2025
b1a7845
refactor: clean up variables in dtb_get_node
VisualEhrmanntraut Jan 27, 2025
46029cd
refactor: refactor the refactor of dtb_get_node
VisualEhrmanntraut Jan 27, 2025
c6be696
refactor: some more dtb cleanup
VisualEhrmanntraut Jan 27, 2025
0515b93
fix: add dummy tx function to roswell
VisualEhrmanntraut Jan 27, 2025
9d8da4e
feat: Add LM backlight dummy
VisualEhrmanntraut Jan 27, 2025
e029122
fix: I forgot the actual source file
VisualEhrmanntraut Jan 27, 2025
e5df94d
fix: fixup iOS 13 a bit, iOS 12 (< t8030) needs even more of this shit.
chris-pcguy Jan 27, 2025
8132dda
feat: Enable Roswell unconditionally
VisualEhrmanntraut Jan 27, 2025
5892bd3
fix: whitelist pearl when sep security is enabled
VisualEhrmanntraut Jan 28, 2025
e7bfa5c
fix: some sep unhardcoding, and some related and unrelated stuff
chris-pcguy Jan 30, 2025
3f19cf4
feat: adapt refresh rate to screen's
VisualEhrmanntraut Jan 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
*.h.inc diff=c
*.m diff=objc
*.py diff=python
*.rs diff=rust
*.rs.inc diff=rust
Cargo.lock diff=toml merge=binary

*.patch -text -whitespace
106 changes: 35 additions & 71 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,120 +6,84 @@ on:
pull_request:

jobs:
build_aarch64_softmmu_linux:
build_linux:
runs-on: ubuntu-24.04
steps:
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y bash bc bison bsdextrautils bzip2 ca-certificates ccache clang dbus debianutils diffutils exuberant-ctags findutils flex g++ gcc gcovr genisoimage gettext git hostname libaio-dev libasan5 libasound2-dev libattr1-dev libbpf-dev libbrlapi-dev libbz2-dev libc6-dev libcacard-dev libcap-ng-dev libcapstone-dev libcmocka-dev libcurl4-gnutls-dev libdaxctl-dev libdrm-dev libepoxy-dev libfdt-dev libffi-dev libgbm-dev libgcrypt20-dev libglib2.0-dev libglusterfs-dev libgnutls28-dev libgtk-3-dev libibumad-dev libibverbs-dev libiscsi-dev libjemalloc-dev libjpeg-turbo8-dev libjson-c-dev liblttng-ust-dev liblzo2-dev libncursesw5-dev libnfs-dev libnuma-dev libpam0g-dev libpcre2-dev libpixman-1-dev libpmem-dev libpng-dev libpulse-dev librbd-dev librdmacm-dev libsasl2-dev libsdl2-dev libsdl2-image-dev libseccomp-dev libslirp-dev libsnappy-dev libspice-protocol-dev libspice-server-dev libssh-dev libsystemd-dev libtasn1-6-dev libubsan1 libudev-dev liburing-dev libusb-1.0-0-dev libusbredirhost-dev libvdeplug-dev libvirglrenderer-dev libvte-2.91-dev libxen-dev libxml2-dev libzstd-dev llvm locales make meson multipath-tools ncat nettle-dev ninja-build openssh-client pkgconf python3 python3-numpy python3-opencv python3-pillow python3-pip python3-sphinx python3-sphinx-rtd-theme python3-venv python3-yaml rpm2cpio sed sparse systemtap-sdt-dev tar tesseract-ocr tesseract-ocr-eng texinfo xfslibs-dev zlib1g-dev libtasn1-6 libtasn1-6-dev lzfse liblzfse-dev

- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Build qemu
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential libtool meson ninja-build pkg-config libcapstone-dev device-tree-compiler libglib2.0-dev gnutls-bin libjpeg-turbo8-dev libpng-dev libslirp-dev libssh-dev libusb-1.0-0-dev liblzo2-dev libncurses5-dev libpixman-1-dev libsnappy-dev vde2 zstd libgnutls28-dev libgmp10 libgmp3-dev lzfse liblzfse-dev
- name: Build nettle 3.10.1
run: |
wget https://ftp.gnu.org/gnu/nettle/nettle-3.10.1.tar.gz
tar -xvf nettle-3.10.1.tar.gz
cd nettle-3.10.1
./configure
make -j$(nproc)
sudo make install
- name: Build
run: |
mkdir build
cd build
../configure --target-list=aarch64-softmmu --disable-capstone --disable-slirp --enable-lzfse --disable-werror
PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig ../configure --target-list=aarch64-softmmu,x86_64-softmmu --enable-capstone --enable-slirp --enable-lzfse --enable-nettle --enable-gnutls --disable-werror
make -j$(nproc)

- name: Install qemu
- name: Install
run: |
cd build
make DESTDIR=$GITHUB_WORKSPACE/bin/ install

- name: Publish binaries
uses: actions/upload-artifact@v4
with:
name: aarch64_softmmu_linux
name: linux
path: ${{ github.workspace }}/bin/

build_aarch64_softmmu_macos:
runs-on: macos-latest
build_macos:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install build dependencies
- name: Install dependencies
run: |
brew install ninja pixman lzfse

- name: Build qemu
brew install libtool meson ninja pkgconf capstone dtc glib gnutls jpeg-turbo libpng libslirp libssh libusb lzo ncurses nettle pixman snappy vde zstd lzfse nettle
- name: Build
run: |
mkdir build
cd build
CFLAGS="$CFLAGS -I/opt/homebrew/include" LDFLAGS="$LDFLAGS -L/opt/homebrew/lib" C_INCLUDE_PATH="$C_INCLUDE_PATH:/opt/homebrew/include" LIBRARY_PATH="$LIBRARY_PATH:/opt/homebrew/lib" LIBTOOL="glibtool" ../configure --target-list=aarch64-softmmu --disable-sdl --disable-gtk --enable-cocoa --enable-lzfse --disable-werror
mkdir build && cd build
LIBTOOL="glibtool" ../configure --target-list=aarch64-softmmu,x86_64-softmmu --disable-bsd-user --disable-guest-agent --enable-lzfse --enable-slirp --enable-capstone --enable-curses --enable-libssh --enable-virtfs --enable-zstd --extra-cflags=-DNCURSES_WIDECHAR=1 --disable-sdl --disable-gtk --enable-cocoa --enable-lzfse --enable-nettle --enable-gnutls --disable-werror --extra-cflags="-I/opt/homebrew/include" --extra-ldflags="-L/opt/homebrew/lib"
make -j$(sysctl -n hw.logicalcpu)

- name: Install qemu
- name: Install
run: |
cd build
make DESTDIR=$GITHUB_WORKSPACE/bin/ install

- name: Publish binaries
uses: actions/upload-artifact@v4
with:
name: aarch64_softmmu_macos
name: macos_aarch64
path: ${{ github.workspace }}/bin/

build_all_linux:
runs-on: ubuntu-24.04
build_macos_x86_64:
runs-on: macos-13
steps:
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y bash bc bison bsdextrautils bzip2 ca-certificates ccache clang dbus debianutils diffutils exuberant-ctags findutils flex g++ gcc gcovr genisoimage gettext git hostname libaio-dev libasan5 libasound2-dev libattr1-dev libbpf-dev libbrlapi-dev libbz2-dev libc6-dev libcacard-dev libcap-ng-dev libcapstone-dev libcmocka-dev libcurl4-gnutls-dev libdaxctl-dev libdrm-dev libepoxy-dev libfdt-dev libffi-dev libgbm-dev libgcrypt20-dev libglib2.0-dev libglusterfs-dev libgnutls28-dev libgtk-3-dev libibumad-dev libibverbs-dev libiscsi-dev libjemalloc-dev libjpeg-turbo8-dev libjson-c-dev liblttng-ust-dev liblzo2-dev libncursesw5-dev libnfs-dev libnuma-dev libpam0g-dev libpcre2-dev libpixman-1-dev libpmem-dev libpng-dev libpulse-dev librbd-dev librdmacm-dev libsasl2-dev libsdl2-dev libsdl2-image-dev libseccomp-dev libslirp-dev libsnappy-dev libspice-protocol-dev libspice-server-dev libssh-dev libsystemd-dev libtasn1-6-dev libubsan1 libudev-dev liburing-dev libusb-1.0-0-dev libusbredirhost-dev libvdeplug-dev libvirglrenderer-dev libvte-2.91-dev libxen-dev libxml2-dev libzstd-dev llvm locales make meson multipath-tools ncat nettle-dev ninja-build openssh-client pkgconf python3 python3-numpy python3-opencv python3-pillow python3-pip python3-sphinx python3-sphinx-rtd-theme python3-venv python3-yaml rpm2cpio sed sparse systemtap-sdt-dev tar tesseract-ocr tesseract-ocr-eng texinfo xfslibs-dev zlib1g-dev libtasn1-6 libtasn1-6-dev lzfse liblzfse-dev

- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Build qemu
- name: Install dependencies
run: |
mkdir build
cd build
../configure --enable-lzfse --disable-werror
make -j$(nproc)

- name: Install qemu
brew install libtool meson ninja pkgconf capstone dtc glib gnutls jpeg-turbo libpng libslirp libssh libusb lzo ncurses nettle pixman snappy vde zstd lzfse nettle
- name: Build
run: |
cd build
make DESTDIR=$GITHUB_WORKSPACE/bin/ install

- name: Publish binaries
uses: actions/upload-artifact@v4
with:
name: linux
path: ${{ github.workspace }}/bin/

build_all_macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install build dependencies
run: |
brew install ninja pixman lzfse

- name: Build qemu
run: |
mkdir build
cd build
CFLAGS="$CFLAGS -I/opt/homebrew/include" LDFLAGS="$LDFLAGS -L/opt/homebrew/lib" C_INCLUDE_PATH="$C_INCLUDE_PATH:/opt/homebrew/include" LIBRARY_PATH="$LIBRARY_PATH:/opt/homebrew/lib" LIBTOOL="glibtool" ../configure --disable-sdl --disable-gtk --enable-cocoa --enable-lzfse --disable-werror
mkdir build && cd build
LIBTOOL="glibtool" ../configure --target-list=aarch64-softmmu,x86_64-softmmu --disable-bsd-user --disable-guest-agent --enable-lzfse --enable-slirp --enable-capstone --enable-curses --enable-libssh --enable-virtfs --enable-zstd --extra-cflags=-DNCURSES_WIDECHAR=1 --disable-sdl --disable-gtk --enable-cocoa --enable-lzfse --enable-nettle --enable-gnutls --disable-werror --extra-cflags="-I/opt/homebrew/include" --extra-ldflags="-L/opt/homebrew/lib"
make -j$(sysctl -n hw.logicalcpu)

- name: Install qemu
- name: Install
run: |
cd build
make DESTDIR=$GITHUB_WORKSPACE/bin/ install

- name: Publish binaries
uses: actions/upload-artifact@v4
with:
name: macos
name: macos_x86_64
path: ${{ github.workspace }}/bin/
2 changes: 1 addition & 1 deletion .gitlab-ci.d/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ variables:
when: manual

# Jobs can run if any jobs they depend on were successful
- if: '$QEMU_JOB_SKIPPED && $CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_COMMIT_BRANCH =~ /staging-[[:digit:]]+\.[[:digit:]]/'
- if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_COMMIT_BRANCH =~ /staging-[[:digit:]]+\.[[:digit:]]/'
when: on_success
variables:
QEMU_CI_CONTAINER_TAG: $CI_COMMIT_REF_SLUG
Expand Down
33 changes: 27 additions & 6 deletions .gitlab-ci.d/buildtest-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
key: "$CI_JOB_NAME"
when: always
before_script:
- source scripts/ci/gitlab-ci-section
- section_start setup "Pre-script setup"
- JOBS=$(expr $(nproc) + 1)
- cat /packages.txt
- section_end setup
script:
- export CCACHE_BASEDIR="$(pwd)"
- export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
Expand All @@ -18,6 +22,7 @@
- mkdir build
- cd build
- ccache --zero-stats
- section_start configure "Running configure"
- ../configure --enable-werror --disable-docs --enable-fdt=system
${TARGETS:+--target-list="$TARGETS"}
$CONFIGURE_ARGS ||
Expand All @@ -26,11 +31,16 @@
then
pyvenv/bin/meson configure . -Dbackend_max_links="$LD_JOBS" ;
fi || exit 1;
- section_end configure
- section_start build "Building QEMU"
- $MAKE -j"$JOBS"
- section_end build
- section_start test "Running tests"
- if test -n "$MAKE_CHECK_ARGS";
then
$MAKE -j"$JOBS" $MAKE_CHECK_ARGS ;
fi
- section_end test
- ccache --show-stats

# We jump some hoops in common_test_job_template to avoid
Expand All @@ -45,22 +55,29 @@
exclude:
- build/**/*.p
- build/**/*.a.p
- build/**/*.fa.p
- build/**/*.c.o
- build/**/*.c.o.d
- build/**/*.fa

.common_test_job_template:
extends: .base_job_template
stage: test
image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:$QEMU_CI_CONTAINER_TAG
script:
- source scripts/ci/gitlab-ci-section
- section_start buildenv "Setting up to run tests"
- scripts/git-submodule.sh update roms/SLOF
- meson subprojects download $(cd build/subprojects && echo *)
- build/pyvenv/bin/meson subprojects download $(cd build/subprojects && echo *)
- cd build
- find . -type f -exec touch {} +
# Avoid recompiling by hiding ninja with NINJA=":"
# We also have to pre-cache the functional tests manually in this case
- if [ "x${QEMU_TEST_CACHE_DIR}" != "x" ]; then
$MAKE precache-functional ;
fi
- section_end buildenv
- section_start test "Running tests"
- $MAKE NINJA=":" $MAKE_CHECK_ARGS
- section_end test

.native_test_job_template:
extends: .common_test_job_template
Expand All @@ -73,12 +90,13 @@
reports:
junit: build/meson-logs/testlog.junit.xml

.avocado_test_job_template:
.functional_test_job_template:
extends: .common_test_job_template
cache:
key: "${CI_JOB_NAME}-cache"
paths:
- ${CI_PROJECT_DIR}/avocado-cache
- ${CI_PROJECT_DIR}/functional-cache
policy: pull-push
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
Expand All @@ -87,6 +105,7 @@
paths:
- build/tests/results/latest/results.xml
- build/tests/results/latest/test-results
- build/tests/functional/*/*/*.log
reports:
junit: build/tests/results/latest/results.xml
before_script:
Expand All @@ -97,11 +116,13 @@
- echo -e '[job.output.testlogs]\nstatuses = ["FAIL", "INTERRUPT"]'
>> ~/.config/avocado/avocado.conf
- if [ -d ${CI_PROJECT_DIR}/avocado-cache ]; then
du -chs ${CI_PROJECT_DIR}/avocado-cache ;
du -chs ${CI_PROJECT_DIR}/*-cache ;
fi
- export AVOCADO_ALLOW_UNTRUSTED_CODE=1
- export QEMU_TEST_ALLOW_UNTRUSTED_CODE=1
- export QEMU_TEST_CACHE_DIR=${CI_PROJECT_DIR}/functional-cache
after_script:
- cd build
- du -chs ${CI_PROJECT_DIR}/avocado-cache
- du -chs ${CI_PROJECT_DIR}/*-cache
variables:
QEMU_JOB_AVOCADO: 1
Loading
Loading