mbox

[GIT,PULL,00/12] Host Memory Backends and Memory devices queue 2023-09-19

Message ID 20230919103029.235736-1-david@redhat.com
State New
Headers show

Pull-request

https://github.com/davidhildenbrand/qemu.git tags/mem-2023-09-19

Message

David Hildenbrand Sept. 19, 2023, 10:30 a.m. UTC
The following changes since commit 13d6b1608160de40ec65ae4c32419e56714bbadf:

  Merge tag 'pull-crypto-20230915' of https://gitlab.com/rth7680/qemu into staging (2023-09-18 11:04:21 -0400)

are available in the Git repository at:

  https://github.com/davidhildenbrand/qemu.git tags/mem-2023-09-19

for you to fetch changes up to 544cff46c018036cd66e98ffb224dd9f098065c8:

  memory: avoid updating ioeventfds for some address_space (2023-09-19 10:44:44 +0200)

----------------------------------------------------------------
Hi,

"Host Memory Backends" and "Memory devices" queue ("mem"):
- Support and document VM templating with R/O files using a new "rom"
  parameter for memory-backend-file
- Some cleanups and fixes around NVDIMMs and R/O file handling for guest
  RAM
- Optimize ioeventfd updates by skipping address spaces that are not
  applicable

----------------------------------------------------------------
David Hildenbrand (11):
  nvdimm: Reject writing label data to ROM instead of crashing QEMU
  softmmu/physmem: Distinguish between file access mode and mmap
    protection
  backends/hostmem-file: Add "rom" property to support VM templating
    with R/O files
  softmmu/physmem: Remap with proper protection in qemu_ram_remap()
  softmmu/physmem: Bail out early in ram_block_discard_range() with
    readonly files
  softmmu/physmem: Fail creation of new files in file_ram_open() with
    readonly=true
  softmmu/physmem: Never return directories from file_ram_open()
  docs: Don't mention "-mem-path" in multi-process.rst
  docs: Start documenting VM templating
  softmmu/physmem: Hint that "readonly=on,rom=off" exists when opening
    file R/W for private mapping fails
  machine: Improve error message when using default RAM backend id

hongmianquan (1):
  memory: avoid updating ioeventfds for some address_space

 MAINTAINERS                   |   1 +
 backends/hostmem-file.c       |  61 ++++++++++++++++-
 docs/devel/multi-process.rst  |   5 +-
 docs/system/index.rst         |   1 +
 docs/system/vm-templating.rst | 125 ++++++++++++++++++++++++++++++++++
 hw/acpi/nvdimm.c              |  11 ++-
 hw/core/machine.c             |  11 ++-
 hw/mem/nvdimm.c               |  10 ++-
 hw/ppc/spapr_nvdimm.c         |   3 +-
 include/exec/memory.h         |  15 ++--
 include/exec/ram_addr.h       |   8 +--
 include/hw/mem/nvdimm.h       |   6 ++
 qapi/qom.json                 |  17 ++++-
 qemu-options.hx               |  16 ++++-
 softmmu/memory.c              |  20 ++++--
 softmmu/physmem.c             |  93 +++++++++++++++++++------
 16 files changed, 354 insertions(+), 49 deletions(-)
 create mode 100644 docs/system/vm-templating.rst

Comments

Stefan Hajnoczi Sept. 19, 2023, 7:13 p.m. UTC | #1
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/8.2 for any user-visible changes.