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/hw/core
Stefan Hajnoczi 7389992c84 Memory pull request for 10.0
v2 changelog:
 
 - Fix Mac (and possibly some other) build issues for two patches
   - os: add an ability to lock memory on_fault
   - memory: pass MemTxAttrs to memory_access_is_direct()
 
 List of features:
 
 - William's fix on ram hole punching when with file offset
 - Daniil's patchset to introduce mem-lock=on-fault
 - William's hugetlb hwpoison fix for size report & remap
 - David's series to allow qemu debug writes to MMIOs
 -----BEGIN PGP SIGNATURE-----
 
 iIgEABYKADAWIQS5GE3CDMRX2s990ak7X8zN86vXBgUCZ6zcQBIccGV0ZXJ4QHJl
 ZGhhdC5jb20ACgkQO1/MzfOr1wbL3wEAqx94NpB/tEEBj6WXE3uV9LqQ0GCTYmV+
 MbM51Vep8ksA/35yFn3ltM2yoSnUf9WJW6LXEEKhQlwswI0vChQERgkE
 =++O1
 -----END PGP SIGNATURE-----

Merge tag 'mem-next-pull-request' of https://gitlab.com/peterx/qemu into staging

Memory pull request for 10.0

v2 changelog:

- Fix Mac (and possibly some other) build issues for two patches
  - os: add an ability to lock memory on_fault
  - memory: pass MemTxAttrs to memory_access_is_direct()

List of features:

- William's fix on ram hole punching when with file offset
- Daniil's patchset to introduce mem-lock=on-fault
- William's hugetlb hwpoison fix for size report & remap
- David's series to allow qemu debug writes to MMIOs

# -----BEGIN PGP SIGNATURE-----
#
# iIgEABYKADAWIQS5GE3CDMRX2s990ak7X8zN86vXBgUCZ6zcQBIccGV0ZXJ4QHJl
# ZGhhdC5jb20ACgkQO1/MzfOr1wbL3wEAqx94NpB/tEEBj6WXE3uV9LqQ0GCTYmV+
# MbM51Vep8ksA/35yFn3ltM2yoSnUf9WJW6LXEEKhQlwswI0vChQERgkE
# =++O1
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 13 Feb 2025 01:37:04 HKT
# gpg:                using EDDSA key B9184DC20CC457DACF7DD1A93B5FCCCDF3ABD706
# gpg:                issuer "peterx@redhat.com"
# gpg: Good signature from "Peter Xu <xzpeter@gmail.com>" [full]
# gpg:                 aka "Peter Xu <peterx@redhat.com>" [full]
# Primary key fingerprint: B918 4DC2 0CC4 57DA CF7D  D1A9 3B5F CCCD F3AB D706

* tag 'mem-next-pull-request' of https://gitlab.com/peterx/qemu:
  overcommit: introduce mem-lock=on-fault
  system: introduce a new MlockState enum
  system/vl: extract overcommit option parsing into a helper
  os: add an ability to lock memory on_fault
  system/physmem: poisoned memory discard on reboot
  system/physmem: handle hugetlb correctly in qemu_ram_remap()
  physmem: teach cpu_memory_rw_debug() to write to more memory regions
  hmp: use cpu_get_phys_page_debug() in hmp_gva2gpa()
  memory: pass MemTxAttrs to memory_access_is_direct()
  physmem: disallow direct access to RAM DEVICE in address_space_write_rom()
  physmem: factor out direct access check into memory_region_supports_direct_access()
  physmem: factor out RAM/ROMD check in memory_access_is_direct()
  physmem: factor out memory_region_is_ram_device() check in memory_access_is_direct()
  system/physmem: take into account fd_offset for file fallocate

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
4 days ago
..
Kconfig hw/core: Add Enclave Image Format (EIF) related helpers 4 months ago
bus.c hw/core: Remove transitional infrastructure from BusClass 1 year ago
clock-vmstate.c hw/core: Constify VMState 1 year ago
clock.c include: Rename sysemu/ -> system/ 2 months ago
cpu-common.c cpu: Remove nr_cores from struct CPUState 1 month ago
cpu-system.c physmem: teach cpu_memory_rw_debug() to write to more memory regions 1 week ago
eif.c hw/core/eif: Use stateful qcrypto apis 2 months ago
eif.h hw/core: Add Enclave Image Format (EIF) related helpers 4 months ago
fw-path-provider.c
generic-loader.c hw/loader: Pass ELFDATA endian order argument to load_elf_as() 3 weeks ago
gpio.c qdev: Use machine_get_container() 1 month ago
guest-loader.c Accel & Exec patch queue 2 months ago
guest-loader.h hw/core: implement a guest-loader to support static hypervisor guests 4 years ago
hotplug.c
irq.c hw/irq: Introduce qemu_init_irqs() helper 3 weeks ago
loader-fit.c include: Rename sysemu/ -> system/ 2 months ago
loader.c memory: pass MemTxAttrs to memory_access_is_direct() 1 week ago
machine-hmp-cmds.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
machine-qmp-cmds.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
machine-smp.c hw/core/machine: Reject thread level cache 6 days ago
machine.c migration/multifd: Add a compat property for TLS termination 1 week ago
meson.build qdev: Implement qdev_create_fake_machine() for user emulation 1 month ago
nmi.c hw/core: Improve error message when machine doesn't provide NMIs 2 years ago
null-machine.c hw/boards: Rename no_sdcard -> auto_create_sdcard 6 days ago
numa.c include: Rename sysemu/ -> system/ 2 months ago
or-irq.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
platform-bus.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
ptimer.c include: Rename sysemu/ -> system/ 2 months ago
qdev-clock.c clock: inline most of qdev_init_clocklist 2 months ago
qdev-fw.c
qdev-hotplug.c hw/qdev: Check machine_hotplug_handler in hotplug_unplug_allowed_common 1 month ago
qdev-prop-internal.h qdev: Make qdev_propinfo_get_uint16() static 4 years ago
qdev-properties-system.c hw/qdev-properties-system: Introduce EndianMode QAPI enum 6 days ago
qdev-properties.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
qdev-user.c qdev: Implement qdev_create_fake_machine() for user emulation 1 month ago
qdev.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
register.c hw/core/register: Add more 64-bit utilities 4 years ago
reset.c include: Rename sysemu/ -> system/ 2 months ago
resetcontainer.c hw/core: Add ResetContainer which holds objects implementing Resettable 1 year ago
resettable.c hw/core/resettable: Remove transitional_function machinery 5 months ago
split-irq.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
stream.c hw/core/stream: Rename StreamSlave as StreamSink 4 years ago
sysbus-fdt.c include: Rename sysemu/ -> system/ 2 months ago
sysbus.c hw/sysbus: Introduce TYPE_DYNAMIC_SYS_BUS_DEVICE 6 days ago
trace-events trace-events: remove the remaining vcpu trace events 2 years ago
trace.h trace: switch position of headers to what Meson requires 5 years ago
uboot_image.h license: Update deprecated SPDX tag GPL-2.0+ to GPL-2.0-or-later 5 months ago
vm-change-state-handler.c include: Rename sysemu/ -> system/ 2 months ago
vmstate-if.c