Re: [PATCH 3/9] util: Unify implementations of qemu_memalign()

2022-02-26 Thread Richard Henderson
On 2/26/22 08:07, Peter Maydell wrote: We implement qemu_memalign() in both oslib-posix.c and oslib-win32.c, but the two versions are essentially the same: they call qemu_try_memalign(), and abort() after printing an error message if it fails. The only difference is that the win32 version prints

[PATCH 3/9] util: Unify implementations of qemu_memalign()

2022-02-26 Thread Peter Maydell
We implement qemu_memalign() in both oslib-posix.c and oslib-win32.c, but the two versions are essentially the same: they call qemu_try_memalign(), and abort() after printing an error message if it fails. The only difference is that the win32 version prints the GetLastError() value whereas the POS