qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] backends/hostmem: Report more errors on failures
@ 2024-05-31 15:10 Michal Privoznik
  2024-05-31 15:10 ` [PATCH v3 1/4] osdep: Make qemu_madvise() to set errno in all cases Michal Privoznik
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Michal Privoznik @ 2024-05-31 15:10 UTC (permalink / raw)
  To: qemu-devel

v3 of:

diff to v2:
- In 1/4 I've reworked setting errno because of how posix_madvise()
  behaves on Darwin,
- In 4/4 I'm now using size_to_str() to print the page size, oh, and the
  error message now contains the backend name too.

Michal Privoznik (4):
  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 ++++++++++++++++++++++++++++++++++++++--------
 util/osdep.c       | 16 ++++++++++++++--
 2 files changed, 52 insertions(+), 10 deletions(-)

-- 
2.44.1



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

end of thread, other threads:[~2024-06-03 11:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-31 15:10 [PATCH v3 0/4] backends/hostmem: Report more errors on failures Michal Privoznik
2024-05-31 15:10 ` [PATCH v3 1/4] osdep: Make qemu_madvise() to set errno in all cases Michal Privoznik
2024-05-31 15:46   ` Philippe Mathieu-Daudé
2024-06-02  6:26     ` Akihiko Odaki
2024-06-03  7:56       ` Michal Prívozník
2024-06-03  8:50         ` Akihiko Odaki
2024-06-03 10:07           ` Michal Prívozník
2024-06-03 11:17             ` Akihiko Odaki
2024-06-03  7:50     ` Michal Prívozník
2024-05-31 15:10 ` [PATCH v3 2/4] osdep: Make qemu_madvise() return ENOSYS on unsupported OSes Michal Privoznik
2024-05-31 15:10 ` [PATCH v3 3/4] backends/hostmem: Report error on qemu_madvise() failures Michal Privoznik
2024-05-31 15:10 ` [PATCH v3 4/4] backends/hostmem: Report error when memory size is unaligned Michal Privoznik
2024-05-31 15:39   ` Philippe Mathieu-Daudé

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).