On 9/13/23 11:30, Philippe Mathieu-Daudé wrote:
Since v4: - Addressed Paolo's suggestions (clearly better) Too many system-specific code (and in particular KVM related) is pulled in user-only build. This led to adding unjustified stubs as kludge to unagressive linker non-optimizations. This series restrict x86 system-specific features to sysemu, so we don't require any stub, and remove all x86 KVM declarations from user emulation code (to trigger compile failure instead of link one).
I'm still not sure about patch 5, though I'd like to have something like patch 6. But fortunately patches 1-3 are enough to placate clang, so I have queued them.
Thanks Philippe! Paolo