All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Privoznik <mprivozn@redhat.com>
To: qemu-devel@nongnu.org
Subject: [PATCH v4 0/5] backends/hostmem: Report more errors on failures
Date: Wed,  5 Jun 2024 12:44:53 +0200	[thread overview]
Message-ID: <cover.1717584048.git.mprivozn@redhat.com> (raw)

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



             reply	other threads:[~2024-06-05 10:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-05 10:44 Michal Privoznik [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1717584048.git.mprivozn@redhat.com \
    --to=mprivozn@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.