Skip to content
Snippets Groups Projects
Commit 6556aadc authored by David Hildenbrand's avatar David Hildenbrand
Browse files

util: Cleanup and rename os_mem_prealloc()


Let's
* give the function a "qemu_*" style name
* make sure the parameters in the implementation match the prototype
* rename smp_cpus to max_threads, which makes the semantics of that
  parameter clearer

... and add a function documentation.

Reviewed-by: default avatarMichal Privoznik <mprivozn@redhat.com>
Message-Id: <20221014134720.168738-2-david@redhat.com>
Signed-off-by: default avatarDavid Hildenbrand <david@redhat.com>
parent d0180f0a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment