Re: [PATCH 15/24] exec: Restrict inclusion of 'user/guest-base.h'

2024-04-25 Thread Anton Johansson via
On 18/04/24, Philippe Mathieu-Daudé wrote: > Declare 'have_guest_base' in "user/guest-base.h". > > Very few files require this header, so explicitly include > it there instead of "exec/cpu-all.h" which is used in many > source files. > > Assert this user-specific header is only included from user

[PATCH 15/24] exec: Restrict inclusion of 'user/guest-base.h'

2024-04-18 Thread Philippe Mathieu-Daudé
Declare 'have_guest_base' in "user/guest-base.h". Very few files require this header, so explicitly include it there instead of "exec/cpu-all.h" which is used in many source files. Assert this user-specific header is only included from user emulation. Signed-off-by: Philippe Mathieu-Daudé Revie