Michal Privoznik 210b7b2b3c osdep: Make qemu_madvise() return ENOSYS on unsupported OSes
Not every OS is capable of madvise() or posix_madvise() even. In
that case, errno should be set to ENOSYS as it reflects the cause
better.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-ID: <b381c23bd8f413f1453a2c1a66e0979beaf27433.1717584048.git.mprivozn@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-06-08 10:33:38 +02:00
..
2023-03-20 12:43:50 +01:00
2023-12-19 19:03:38 +01:00
2023-05-23 15:20:15 +08:00
2023-03-20 12:43:50 +01:00
2024-01-10 06:58:50 +00:00
2023-09-07 20:32:11 -05:00
2022-04-21 17:03:51 +04:00
2023-04-24 11:29:00 +02:00
2023-08-31 19:47:43 +02:00
2022-06-29 10:56:12 +03:00
2023-02-02 11:48:20 +00:00
2023-03-28 15:23:10 -07:00
2023-11-15 12:06:05 +03:00
2023-04-27 16:39:43 +02:00
2024-01-30 21:20:20 +03:00
2023-11-03 09:20:31 +01:00