You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/contrib/vhost-user-gpu
Marc-André Lureau 8e3b0cbb72 Replace qemu_real_host_page variables with inlined functions
Replace the global variables with inlined helper functions. getpagesize() is very
likely annotated with a "const" function attribute (at least with glibc), and thus
optimization should apply even better.

This avoids the need for a constructor initialization too.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220323155743.1585078-12-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
3 years ago
..
50-qemu-gpu.json.in vhost-user-gpu: Drop trailing json comma 5 years ago
meson.build meson: refine check for whether to look for virglrenderer 3 years ago
vhost-user-gpu.c Use g_new() & friends where that makes obvious sense 3 years ago
virgl.c vhost-user-gpu: abstract vg_cleanup_mapping_iov 4 years ago
virgl.h Clean up a header guard symbols (again) 6 years ago
vugbm.c Replace qemu_real_host_page variables with inlined functions 3 years ago
vugbm.h vhost-user-gpu: fix vugbm_device_init fallback 4 years ago
vugpu.h vhost-user-gpu: abstract vg_cleanup_mapping_iov 4 years ago