qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/5] backends/hostmem: Report more errors on failures
@ 2024-06-05 10:44 Michal Privoznik
  2024-06-05 10:44 ` [PATCH v4 1/5] meson: Don't even detect posix_madvise() on Darwin Michal Privoznik
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Michal Privoznik @ 2024-06-05 10:44 UTC (permalink / raw)
  To: qemu-devel

v4 of:

https://mail.gnu.org/archive/html/qemu-devel/2024-05/msg06511.html

diff to v3:
- In 2/5 instead of fixing up posix_madvise() retval at runtime, just
  don't use posix_madvise() on Darwin at all (resulted in new patch 1/5).
  Since 2/5 is now the same as 1/4 from v2 I'm including David's
  Reviewed-by line.
- The last patch was tested by Mario, so I've included his Tested-by
  line. Thanks!

Michal Privoznik (5):
  meson: Don't even detect posix_madvise() on Darwin
  osdep: Make qemu_madvise() to set errno in all cases
  osdep: Make qemu_madvise() return ENOSYS on unsupported OSes
  backends/hostmem: Report error on qemu_madvise() failures
  backends/hostmem: Report error when memory size is unaligned

 backends/hostmem.c | 46 ++++++++++++++++++++++++++++++++++++++--------
 meson.build        | 14 ++++++++++----
 util/osdep.c       |  9 +++++++--
 3 files changed, 55 insertions(+), 14 deletions(-)

-- 
2.44.1



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

end of thread, other threads:[~2024-06-06  7:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-05 10:44 [PATCH v4 0/5] backends/hostmem: Report more errors on failures Michal Privoznik
2024-06-05 10:44 ` [PATCH v4 1/5] meson: Don't even detect posix_madvise() on Darwin Michal Privoznik
2024-06-05 10:44 ` [PATCH v4 2/5] osdep: Make qemu_madvise() to set errno in all cases Michal Privoznik
2024-06-05 10:44 ` [PATCH v4 3/5] osdep: Make qemu_madvise() return ENOSYS on unsupported OSes Michal Privoznik
2024-06-05 10:44 ` [PATCH v4 4/5] backends/hostmem: Report error on qemu_madvise() failures Michal Privoznik
2024-06-05 10:44 ` [PATCH v4 5/5] backends/hostmem: Report error when memory size is unaligned Michal Privoznik
2024-06-06  5:54   ` Mario Casquero
2024-06-06  7:36 ` [PATCH v4 0/5] backends/hostmem: Report more errors on failures Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).