public inbox for qemu-devel@nongnu.org
 help / color / mirror / Atom feed
* [PATCH 0/3] plugins: fix endianness for qemu_plugin_mem_get_value()
@ 2026-03-25  2:42 Pierrick Bouvier
  2026-03-25  2:42 ` [PATCH 1/3] tcg: Pass host-endian values to plugin_gen_mem_callbacks_* Pierrick Bouvier
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Pierrick Bouvier @ 2026-03-25  2:42 UTC (permalink / raw)
  To: qemu-devel
  Cc: Richard Henderson, Mahmoud Mandour, Alex Bennée,
	Pierrick Bouvier, Alexandre Iooss

This series fixes qemu_plugin_mem_get_value() endianness on non x64 hosts.
As well, it updates documentation to make clear that value returned is in
host-endian order. Finally, it fixes tests/tcg/plugins/mem.c.

Pierrick Bouvier (2):
  include/plugins/qemu-plugin.h: add note about endianness of value
    returned by qemu_plugin_mem_get_value
  tests/tcg/plugins/mem.c: fix endian swap in update_region_info

Richard Henderson (1):
  tcg: Pass host-endian values to plugin_gen_mem_callbacks_*

 include/plugins/qemu-plugin.h |  5 ++--
 tcg/tcg-op-ldst.c             | 52 ++++++++++++++++++-----------------
 tests/tcg/plugins/mem.c       | 12 ++++----
 3 files changed, 36 insertions(+), 33 deletions(-)

-- 
2.47.3



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-03-25 21:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-25  2:42 [PATCH 0/3] plugins: fix endianness for qemu_plugin_mem_get_value() Pierrick Bouvier
2026-03-25  2:42 ` [PATCH 1/3] tcg: Pass host-endian values to plugin_gen_mem_callbacks_* Pierrick Bouvier
2026-03-25  2:42 ` [PATCH 2/3] include/plugins/qemu-plugin.h: add note about endianness of value returned by qemu_plugin_mem_get_value Pierrick Bouvier
2026-03-25 15:17   ` Alex Bennée
2026-03-25 15:23     ` Pierrick Bouvier
2026-03-25  2:42 ` [PATCH 3/3] tests/tcg/plugins/mem.c: fix endian swap in update_region_info Pierrick Bouvier
2026-03-25 15:20   ` Alex Bennée
2026-03-25 15:25     ` Pierrick Bouvier
2026-03-25 21:53 ` [PATCH 0/3] plugins: fix endianness for qemu_plugin_mem_get_value() Pierrick Bouvier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox