qemu/accel/hvf
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
..
entitlements.plist hvf: Add hypervisor entitlement to output binaries 2021-01-29 10:47:28 +00:00
hvf-accel-ops.c Replace qemu_real_host_page variables with inlined functions 2022-04-06 10:50:38 +02:00
hvf-all.c hvf: Move assert_hvf_ok() into common directory 2021-06-03 16:43:26 +01:00
meson.build hvf: Move vcpu thread functions into common directory 2021-06-03 16:43:26 +01:00