[GIT PULL 0/8] Host Memory Backends and Memory devices patches

David Hildenbrand posted 8 patches 1 year, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20221028095225.86118-1-david@redhat.com
Maintainers: David Hildenbrand <david@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Xiao Guangrong <xiaoguangrong.eric@gmail.com>, "Michael S. Tsirkin" <mst@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Stefan Weil <sw@weilnetz.de>
backends/hostmem.c            |  13 +-
hw/mem/nvdimm.c               |   2 +-
hw/virtio/virtio-mem.c        |   2 +-
include/qemu/osdep.h          |  19 ++-
include/qemu/thread-context.h |  57 +++++++
include/qemu/thread.h         |   4 +
include/sysemu/hostmem.h      |   2 +
meson.build                   |  16 ++
qapi/qom.json                 |  28 ++++
softmmu/cpus.c                |   2 +-
softmmu/vl.c                  |  36 ++++-
util/meson.build              |   1 +
util/oslib-posix.c            |  39 +++--
util/oslib-win32.c            |   8 +-
util/qemu-thread-posix.c      |  70 ++++++++
util/qemu-thread-win32.c      |  12 ++
util/thread-context.c         | 362 ++++++++++++++++++++++++++++++++++++++++++
17 files changed, 642 insertions(+), 31 deletions(-)
create mode 100644 include/qemu/thread-context.h
create mode 100644 util/thread-context.c
[GIT PULL 0/8] Host Memory Backends and Memory devices patches
Posted by David Hildenbrand 1 year, 6 months ago
The following changes since commit 0529245488865038344d64fff7ee05864d3d17f6:

  Merge tag 'pull-target-arm-20221020' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2022-10-20 14:36:12 -0400)

are available in the Git repository at:

  https://github.com/davidhildenbrand/qemu.git tags/mem-2022-10-28

for you to fetch changes up to bd77c30df984faefa85e6a402939b485d6e05f05:

  vl: Allow ThreadContext objects to be created before the sandbox option (2022-10-27 11:01:09 +0200)

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

"Host Memory Backends" and "Memory devices" queue ("mem"):
- Fix NVDIMM error message
- Add ThreadContext user-creatable object and wire it up for NUMA-aware
  hostmem preallocation

----------------------------------------------------------------
David Hildenbrand (7):
      util: Cleanup and rename os_mem_prealloc()
      util: Introduce qemu_thread_set_affinity() and qemu_thread_get_affinity()
      util: Introduce ThreadContext user-creatable object
      util: Add write-only "node-affinity" property for ThreadContext
      util: Make qemu_prealloc_mem() optionally consume a ThreadContext
      hostmem: Allow for specifying a ThreadContext for preallocation
      vl: Allow ThreadContext objects to be created before the sandbox option

Julia Suvorova (1):
      hw/mem/nvdimm: fix error message for 'unarmed' flag

 backends/hostmem.c            |  13 +-
 hw/mem/nvdimm.c               |   2 +-
 hw/virtio/virtio-mem.c        |   2 +-
 include/qemu/osdep.h          |  19 ++-
 include/qemu/thread-context.h |  57 +++++++
 include/qemu/thread.h         |   4 +
 include/sysemu/hostmem.h      |   2 +
 meson.build                   |  16 ++
 qapi/qom.json                 |  28 ++++
 softmmu/cpus.c                |   2 +-
 softmmu/vl.c                  |  36 ++++-
 util/meson.build              |   1 +
 util/oslib-posix.c            |  39 +++--
 util/oslib-win32.c            |   8 +-
 util/qemu-thread-posix.c      |  70 ++++++++
 util/qemu-thread-win32.c      |  12 ++
 util/thread-context.c         | 362 ++++++++++++++++++++++++++++++++++++++++++
 17 files changed, 642 insertions(+), 31 deletions(-)
 create mode 100644 include/qemu/thread-context.h
 create mode 100644 util/thread-context.c

-- 
2.37.3
Re: [GIT PULL 0/8] Host Memory Backends and Memory devices patches
Posted by Stefan Hajnoczi 1 year, 6 months ago
Applied, thanks.

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