[PATCH v2 0/4] backends/hostmem: Report more errors on failures

Michal Privoznik posted 4 patches 5 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1717140354.git.mprivozn@redhat.com
Maintainers: David Hildenbrand <david@redhat.com>, Igor Mammedov <imammedo@redhat.com>
There is a newer version of this series
backends/hostmem.c | 44 ++++++++++++++++++++++++++++++++++++--------
util/osdep.c       |  9 +++++++--
2 files changed, 43 insertions(+), 10 deletions(-)
[PATCH v2 0/4] backends/hostmem: Report more errors on failures
Posted by Michal Privoznik 5 months, 3 weeks ago
v2 of:

https://lists.gnu.org/archive/html/qemu-devel/2024-05/msg05659.html

diff to v1:
- patch 2/4 is new
- Errors are reported instead of warnings on failed qemu_madvise()
- Instead of rounding up value passed to qemu_madvise()/mbind() an error
  is reported

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 | 44 ++++++++++++++++++++++++++++++++++++--------
 util/osdep.c       |  9 +++++++--
 2 files changed, 43 insertions(+), 10 deletions(-)

-- 
2.44.1