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

David Hildenbrand posted 12 patches 7 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230919103029.235736-1-david@redhat.com
Maintainers: David Hildenbrand <david@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Elena Ufimtseva <elena.ufimtseva@oracle.com>, Jagannathan Raman <jag.raman@oracle.com>, "Michael S. Tsirkin" <mst@redhat.com>, Ani Sinha <anisinha@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Xiao Guangrong <xiaoguangrong.eric@gmail.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, "Cédric Le Goater" <clg@kaod.org>, David Gibson <david@gibson.dropbear.id.au>, Greg Kurz <groug@kaod.org>, Harsh Prateek Bora <harshpb@linux.ibm.com>, Paolo Bonzini <pbonzini@redhat.com>, Peter Xu <peterx@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>
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
[GIT PULL 00/12] Host Memory Backends and Memory devices queue 2023-09-19
Posted by David Hildenbrand 7 months, 2 weeks ago
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

-- 
2.41.0
Re: [GIT PULL 00/12] Host Memory Backends and Memory devices queue 2023-09-19
Posted by Stefan Hajnoczi 7 months, 2 weeks ago
Applied, thanks.

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