qemu/monitor
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
..
hmp-cmds.c qapi/monitor: allow VNC display id in set/expire_password 2022-03-02 18:12:40 +00:00
hmp.c Replace GCC_FMT_ATTR with G_GNUC_PRINTF 2022-03-22 14:40:51 +04:00
meson.build meson: add spice_headers dependency. 2020-10-15 11:14:40 +02:00
misc.c Replace qemu_real_host_page variables with inlined functions 2022-04-06 10:50:38 +02:00
monitor-internal.h monitor/hmp: add support for flag argument with value 2022-03-02 18:12:40 +00:00
monitor.c monitor: Rate-limit MEMORY_DEVICE_SIZE_CHANGE qapi events per device 2021-10-02 08:43:21 +02:00
qmp-cmds-control.c qapi: Implement deprecated-output=hide for QMP introspection 2021-03-19 16:05:11 +01:00
qmp-cmds.c Use g_new() & friends where that makes obvious sense 2022-03-21 15:44:44 +01:00
qmp.c monitor/qmp: fix race on CHR_EVENT_CLOSED without OOB 2021-05-12 17:29:11 +02:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00