qemu/backends
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>
2022-04-06 10:50:38 +02:00
..
tpm configure, meson: move TPM check to meson 2022-02-21 10:35:53 +01:00
confidential-guest-support.c
cryptodev-builtin.c
cryptodev-vhost-user.c
cryptodev-vhost.c
cryptodev.c Use g_new() & friends where that makes obvious sense 2022-03-21 15:44:44 +01:00
dbus-vmstate.c
dbus-vmstate1.xml docs: move D-Bus VMState documentation to source XML 2021-12-21 10:50:21 +04:00
hostmem-epc.c hostmem: Add hostmem-epc as a backend for SGX EPC 2021-09-30 14:50:19 +02:00
hostmem-file.c include: Move qemu_madvise() and related #defines to new qemu/madvise.h 2022-02-21 13:30:20 +00:00
hostmem-memfd.c
hostmem-ram.c
hostmem.c Replace qemu_real_host_page variables with inlined functions 2022-04-06 10:50:38 +02:00
Kconfig
meson.build hostmem: Add hostmem-epc as a backend for SGX EPC 2021-09-30 14:50:19 +02:00
rng-builtin.c
rng-egd.c
rng-random.c
rng.c
trace-events
trace.h
vhost-user.c