With these minor fixes, I can build qemu on Solaris 11.4.42 CBE (Oracle's new rolling release thing), using '--disable-rdma --enable-modules --disable-dbus-display --target-list=x86_64-softmmu'. I'm just interested in the guest agent right now, so that's all I've tested (briefly), but the rest of the build wasn't hard to get working. With this, the guest agent runs fine using isa-serial.
Andrew Deason (2): util/osdep: Avoid madvise proto on modern Solaris hw/i386/acpi-build: Avoid 'sun' identifier hw/i386/acpi-build.c | 4 ++-- meson.build | 3 +++ util/osdep.c | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) -- 2.11.0