]> git.proxmox.com Git - mirror_qemu.git/commit
util: Make qemu_prealloc_mem() optionally consume a ThreadContext
authorDavid Hildenbrand <david@redhat.com>
Fri, 14 Oct 2022 13:47:18 +0000 (15:47 +0200)
committerDavid Hildenbrand <david@redhat.com>
Thu, 27 Oct 2022 09:00:56 +0000 (11:00 +0200)
commite04a34e55cf1911099e2d8a680f9bee4f6d90e4a
treea5bbbbb85c78a78baeb2e5d034fc4686b7258468
parent10218ae6d006f76410804cc4dc690085b3d008b5
util: Make qemu_prealloc_mem() optionally consume a ThreadContext

... and implement it under POSIX. When a ThreadContext is provided,
create new threads via the context such that these new threads obtain a
properly configured CPU affinity.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Message-Id: <20221014134720.168738-6-david@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
backends/hostmem.c
hw/virtio/virtio-mem.c
include/qemu/osdep.h
util/oslib-posix.c
util/oslib-win32.c