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.
Changes since v1: - Change the CONFIG_MADVISE checks to not be platform-specific - Add the last commit removing util/osdep.c cruft Andrew Deason (3): util/osdep: Avoid madvise proto on modern Solaris hw/i386/acpi-build: Avoid 'sun' identifier util/osdep: Remove some early cruft hw/i386/acpi-build.c | 4 ++-- meson.build | 17 +++++++++++++++-- util/osdep.c | 5 +---- 3 files changed, 18 insertions(+), 8 deletions(-) -- 2.11.0