You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/tests/unit
Stefan Hajnoczi 65cb7129f4 Accel & Exec patch queue
- Ignore writes to CNTP_CTL_EL0 on HVF ARM (Alexander)
 - Add '-d invalid_mem' logging option (Zoltan)
 - Create QOM containers explicitly (Peter)
 - Rename sysemu/ -> system/ (Philippe)
 - Re-orderning of include/exec/ headers (Philippe)
   Move a lot of declarations from these legacy mixed bag headers:
     . "exec/cpu-all.h"
     . "exec/cpu-common.h"
     . "exec/cpu-defs.h"
     . "exec/exec-all.h"
     . "exec/translate-all"
   to these more specific ones:
     . "exec/page-protection.h"
     . "exec/translation-block.h"
     . "user/cpu_loop.h"
     . "user/guest-host.h"
     . "user/page-protection.h"
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmdlnyAACgkQ4+MsLN6t
 wN6mBw//QFWi7CrU+bb8KMM53kOU9C507tjn99LLGFb5or73/umDsw6eo/b8DHBt
 KIwGLgATel42oojKfNKavtAzLK5rOrywpboPDpa3SNeF1onW+99NGJ52LQUqIX6K
 A6bS0fPdGG9ZzEuPpbjDXlp++0yhDcdSgZsS42fEsT7Dyj5gzJYlqpqhiXGqpsn8
 4Y0UMxSL21K3HEexlzw2hsoOBFA3tUm2ujNDhNkt8QASr85yQVLCypABJnuoe///
 5Ojl5wTBeDwhANET0rhwHK8eIYaNboiM9fHopJYhvyw1bz6yAu9jQwzF/MrL3s/r
 xa4OBHBy5mq2hQV9Shcl3UfCQdk/vDaYaWpgzJGX8stgMGYfnfej1SIl8haJIfcl
 VMX8/jEFdYbjhO4AeGRYcBzWjEJymkDJZoiSWp2NuEDi6jqIW+7yW1q0Rnlg9lay
 ShAqLK5Pv4zUw3t0Jy3qv9KSW8sbs6PQxtzXjk8p97rTf76BJ2pF8sv1tVzmsidP
 9L92Hv5O34IqzBu2oATOUZYJk89YGmTIUSLkpT7asJZpBLwNM2qLp5jO00WVU0Sd
 +kAn324guYPkko/TVnjC/AY7CMu55EOtD9NU35k3mUAnxXT9oDUeL4NlYtfgrJx6
 x1Nzr2FkS68+wlPAFKNSSU5lTjsjNaFM0bIJ4LCNtenJVP+SnRo=
 =cjz8
 -----END PGP SIGNATURE-----

Merge tag 'exec-20241220' of https://github.com/philmd/qemu into staging

Accel & Exec patch queue

- Ignore writes to CNTP_CTL_EL0 on HVF ARM (Alexander)
- Add '-d invalid_mem' logging option (Zoltan)
- Create QOM containers explicitly (Peter)
- Rename sysemu/ -> system/ (Philippe)
- Re-orderning of include/exec/ headers (Philippe)
  Move a lot of declarations from these legacy mixed bag headers:
    . "exec/cpu-all.h"
    . "exec/cpu-common.h"
    . "exec/cpu-defs.h"
    . "exec/exec-all.h"
    . "exec/translate-all"
  to these more specific ones:
    . "exec/page-protection.h"
    . "exec/translation-block.h"
    . "user/cpu_loop.h"
    . "user/guest-host.h"
    . "user/page-protection.h"

 # -----BEGIN PGP SIGNATURE-----
 #
 # iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmdlnyAACgkQ4+MsLN6t
 # wN6mBw//QFWi7CrU+bb8KMM53kOU9C507tjn99LLGFb5or73/umDsw6eo/b8DHBt
 # KIwGLgATel42oojKfNKavtAzLK5rOrywpboPDpa3SNeF1onW+99NGJ52LQUqIX6K
 # A6bS0fPdGG9ZzEuPpbjDXlp++0yhDcdSgZsS42fEsT7Dyj5gzJYlqpqhiXGqpsn8
 # 4Y0UMxSL21K3HEexlzw2hsoOBFA3tUm2ujNDhNkt8QASr85yQVLCypABJnuoe///
 # 5Ojl5wTBeDwhANET0rhwHK8eIYaNboiM9fHopJYhvyw1bz6yAu9jQwzF/MrL3s/r
 # xa4OBHBy5mq2hQV9Shcl3UfCQdk/vDaYaWpgzJGX8stgMGYfnfej1SIl8haJIfcl
 # VMX8/jEFdYbjhO4AeGRYcBzWjEJymkDJZoiSWp2NuEDi6jqIW+7yW1q0Rnlg9lay
 # ShAqLK5Pv4zUw3t0Jy3qv9KSW8sbs6PQxtzXjk8p97rTf76BJ2pF8sv1tVzmsidP
 # 9L92Hv5O34IqzBu2oATOUZYJk89YGmTIUSLkpT7asJZpBLwNM2qLp5jO00WVU0Sd
 # +kAn324guYPkko/TVnjC/AY7CMu55EOtD9NU35k3mUAnxXT9oDUeL4NlYtfgrJx6
 # x1Nzr2FkS68+wlPAFKNSSU5lTjsjNaFM0bIJ4LCNtenJVP+SnRo=
 # =cjz8
 # -----END PGP SIGNATURE-----
 # gpg: Signature made Fri 20 Dec 2024 11:45:20 EST
 # gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
 # gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" [unknown]
 # gpg: WARNING: This key is not certified with a trusted signature!
 # gpg:          There is no indication that the signature belongs to the owner.
 # Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE

* tag 'exec-20241220' of https://github.com/philmd/qemu: (59 commits)
  util/qemu-timer: fix indentation
  meson: Do not define CONFIG_DEVICES on user emulation
  system/accel-ops: Remove unnecessary 'exec/cpu-common.h' header
  system/numa: Remove unnecessary 'exec/cpu-common.h' header
  hw/xen: Remove unnecessary 'exec/cpu-common.h' header
  target/mips: Drop left-over comment about Jazz machine
  target/mips: Remove tswap() calls in semihosting uhi_fstat_cb()
  target/xtensa: Remove tswap() calls in semihosting simcall() helper
  accel/tcg: Un-inline translator_is_same_page()
  accel/tcg: Include missing 'exec/translation-block.h' header
  accel/tcg: Move tcg_cflags_has/set() to 'exec/translation-block.h'
  accel/tcg: Restrict curr_cflags() declaration to 'internal-common.h'
  qemu/coroutine: Include missing 'qemu/atomic.h' header
  exec/translation-block: Include missing 'qemu/atomic.h' header
  accel/tcg: Declare cpu_loop_exit_requested() in 'exec/cpu-common.h'
  exec/cpu-all: Include 'cpu.h' earlier so MMU_USER_IDX is always defined
  target/sparc: Move sparc_restore_state_to_opc() to cpu.c
  target/sparc: Uninline cpu_get_tb_cpu_state()
  target/loongarch: Declare loongarch_cpu_dump_state() locally
  user: Move various declarations out of 'exec/exec-all.h'
  ...

Conflicts:
	hw/char/riscv_htif.c
	hw/intc/riscv_aplic.c
	target/s390x/cpu.c

	Apply sysemu header path changes to not in the pull request.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
1 month ago
..
check-block-qdict.c tests: unit: add NULL-pointer check 2 years ago
check-qdict.c
check-qjson.c tests/: spelling fixes 1 year ago
check-qlist.c
check-qlit.c
check-qnull.c Remove qemu-common.h include from most units 3 years ago
check-qnum.c Remove qemu-common.h include from most units 3 years ago
check-qobject.c tests: remove block/qdict checks from check-qobject.c 3 years ago
check-qom-interface.c
check-qom-proplist.c tests: Explicitly create containers in test_qom_partial_path() 1 month ago
check-qstring.c Remove qemu-common.h include from most units 3 years ago
crypto-tls-psk-helpers.c crypto: Remove 'crypto-tls-x509-helpers.h' from crypto-tls-psk-helpers.c 6 months ago
crypto-tls-psk-helpers.h tests: add migration tests of TLS with PSK credentials 3 years ago
crypto-tls-x509-helpers.c tests/unit/crypto-tls-x509-helpers: deinit privkey in test_tls_cleanup 5 months ago
crypto-tls-x509-helpers.h tests/qtest/migration-test: Free QCRyptoTLSTestCertReq objects 5 months ago
io-channel-helpers.c tests/channel-helper: set blocking in main thread 2 years ago
io-channel-helpers.h
iothread.c async: the main AioContext is only "current" if under the BQL 4 years ago
iothread.h
meson.build tests/unit: remove block layer code from test-nested-aio-poll 4 months ago
pkix_asn1_tab.c.inc crypto: Restrict pkix_asn1_tab[] to crypto-tls-x509-helpers.c 6 months ago
ptimer-test-stubs.c async: Add an optional reentrancy guard to the BH API 2 years ago
ptimer-test.c hw/core/ptimer: fix timer zero period condition for freq > 1GHz 5 months ago
ptimer-test.h
rcutorture.c Updated the FSF address to <https://www.gnu.org/licenses/> 2 years ago
socket-helpers.c tests/unit/socket-helpers: Don't close(-1) 10 months ago
socket-helpers.h tests/unit: Update test-io-channel-socket.c for Windows 2 years ago
test-aio-multithread.c atomics: eliminate mb_read/mb_set 2 years ago
test-aio.c tests: remove aio_context_acquire() tests 1 year ago
test-authz-list.c
test-authz-listfile.c
test-authz-pam.c
test-authz-simple.c
test-base64.c
test-bdrv-drain.c include: Include missing 'qemu/clang-tsa.h' header 1 month ago
test-bdrv-graph-mod.c include: Rename sysemu/ -> system/ 1 month ago
test-bitcnt.c
test-bitmap.c
test-bitops.c
test-block-backend.c include: Rename sysemu/ -> system/ 1 month ago
test-block-iothread.c include: Include missing 'qemu/clang-tsa.h' header 1 month ago
test-blockjob-txn.c include: Rename sysemu/ -> system/ 1 month ago
test-blockjob.c include: Rename sysemu/ -> system/ 1 month ago
test-bufferiszero.c
test-char.c include: Rename sysemu/ -> system/ 1 month ago
test-clone-visitor.c Remove qemu-common.h include from most units 3 years ago
test-coroutine.c tests/coroutine: Clean up global variable shadowing 1 year ago
test-crypto-afsplit.c qapi/crypto: Rename QCryptoHashAlgorithm to *Algo, and drop prefix 4 months ago
test-crypto-akcipher.c qapi/crypto: Rename QCryptoRSAPaddingAlgorithm to *Algo, and drop prefix 4 months ago
test-crypto-block.c qapi/crypto: Rename QCryptoIVGenAlgorithm to *Algo, and drop prefix 4 months ago
test-crypto-cipher.c qapi/crypto: Rename QCryptoCipherAlgorithm to *Algo, and drop prefix 4 months ago
test-crypto-der.c crypto: Support DER encodings 2 years ago
test-crypto-hash.c crypto: Introduce SM3 hash hmac pbkdf algorithm 3 months ago
test-crypto-hmac.c crypto: Introduce SM3 hash hmac pbkdf algorithm 3 months ago
test-crypto-ivgen.c qapi/crypto: Rename QCryptoIVGenAlgorithm to *Algo, and drop prefix 4 months ago
test-crypto-pbkdf.c crypto: Introduce SM3 hash hmac pbkdf algorithm 3 months ago
test-crypto-secret.c tests/: spelling fixes 1 year ago
test-crypto-tlscredsx509.c tests: Use g_mkdir_with_parents() 2 years ago
test-crypto-tlssession.c crypto: propagate errors from TLS session I/O callbacks 6 months ago
test-crypto-xts.c
test-cutils.c cutils: Improve qemu_strtosz handling of fractions 2 years ago
test-div128.c host-utils: add unit tests for divu128/divs128 3 years ago
test-error-report.c error: add global &error_warn destination 2 years ago
test-fifo.c tests/unit: Comment FIFO8 tests 4 months ago
test-forward-visitor.c include: add qemu/keyval.h 3 years ago
test-hbitmap.c Use g_new() & friends where that makes obvious sense 3 years ago
test-image-locking.c include: Rename sysemu/ -> system/ 1 month ago
test-int128.c qemu/int128: add int128_urshift 3 years ago
test-interval-tree.c util: Add interval-tree.c 2 years ago
test-io-channel-buffer.c
test-io-channel-command.c tests: fix path separator, use g_build_filename() 2 years ago
test-io-channel-file.c tests: replace pipe() with g_unix_open_pipe(CLOEXEC) 3 years ago
test-io-channel-null.c io: add a QIOChannelNull equivalent to /dev/null 3 years ago
test-io-channel-socket.c tests/unit: Add a assert for test_io_channel_unix_listen_cleanup 3 months ago
test-io-channel-tls.c Call qemu_socketpair() instead of socketpair() when possible 2 years ago
test-io-task.c tests/unit/test-io-task: Rename "qemu:dummy" to avoid colon in the name 1 year ago
test-iov.c tests/unit/test-iov: Fix timeout problem on NetBSD and OpenBSD 1 year ago
test-keyval.c include: add qemu/keyval.h 3 years ago
test-logging.c util/log: Remove qemu_log_close 3 years ago
test-mul64.c
test-nested-aio-poll.c tests/unit: Remove debug statements in test-nested-aio-poll.c 9 months ago
test-opts-visitor.c
test-qapi-util.c
test-qdev-global-props.c Accel & Exec patch queue 1 month ago
test-qdist.c
test-qemu-opts.c qemu-option: remove now-dead code 4 years ago
test-qga.c tests/unit/test-qga: do not qualify executable paths 12 months ago
test-qgraph.c tests: Remove uses of deprecated raspi2/raspi3 machine names 3 years ago
test-qht.c
test-qmp-cmds.c tests: add G_GNUC_PRINTF for various functions 2 years ago
test-qmp-event.c tests/unit/test-qmp-event: Replace fixture by global variables 1 year ago
test-qobject-input-visitor.c tests/qapi-schema: Drop temporary 'prefix' 4 months ago
test-qobject-output-visitor.c tests/qapi-schema: Drop temporary 'prefix' 4 months ago
test-qtree.c util: import GTree as QTree 2 years ago
test-rcu-list.c replace TABs with spaces 2 years ago
test-rcu-simpleq.c
test-rcu-slist.c
test-rcu-tailq.c
test-replication.c include: Rename sysemu/ -> system/ 1 month ago
test-resv-mem.c test-resv-mem: Fix CID 1523911 1 year ago
test-seccomp.c include: Rename sysemu/ -> system/ 1 month ago
test-shift128.c
test-smp-parse.c tests/unit/test-smp-parse: Test the full 8-levels topology hierarchy 7 months ago
test-string-input-visitor.c Remove qemu-common.h include from most units 3 years ago
test-string-output-visitor.c Remove qemu-common.h include from most units 3 years ago
test-thread-pool.c tests: mark more coroutine_fns 2 years ago
test-throttle.c include: Rename sysemu/ -> system/ 1 month ago
test-timed-average.c include: Rename sysemu/ -> system/ 1 month ago
test-util-filemonitor.c test-util-filemonitor: Adapt to the FreeBSD inotify rename semantics 12 months ago
test-util-sockets.c tests/unit/test-util-sockets: Remove temporary file after test 11 months ago
test-uuid.c util/uuid: Add UUID_STR_LEN definition 1 year ago
test-virtio-dmabuf.c hw/display: introduce virtio-dmabuf 1 year ago
test-visitor-serialization.c qapi tests: Elide redundant has_FOO in generated C 2 years ago
test-vmstate.c migration: remove migration.h references 11 months ago
test-write-threshold.c write-threshold: deal with includes 4 years ago
test-x86-topo.c tests: Add test case of APIC ID for module level parsing 8 months ago
test-xbzrle.c migration/xbzrle: Use i386 host/cpuinfo.h 2 years ago
test-xs-node.c tests/unit: replace assert(0) with g_assert_not_reached() 4 months ago
test-yank.c include: Rename sysemu/ -> system/ 1 month ago