Re: [PATCH 01/14] hw/vfio/common: Include missing 'system/tcg.h' header

2025-03-08 Thread Cédric Le Goater
On 3/7/25 19:03, Philippe Mathieu-Daudé wrote: Always include necessary headers explicitly, to avoid when refactoring unrelated ones: hw/vfio/common.c:1176:45: error: implicit declaration of function ‘tcg_enabled’; 1176 | tcg_enabled() ? DIRTY

Re: [PATCH 01/14] hw/vfio/common: Include missing 'system/tcg.h' header

2025-03-07 Thread Richard Henderson
On 3/7/25 10:03, Philippe Mathieu-Daudé wrote: Always include necessary headers explicitly, to avoid when refactoring unrelated ones: hw/vfio/common.c:1176:45: error: implicit declaration of function ‘tcg_enabled’; 1176 | tcg_enabled() ? DIRTY

Re: [PATCH 01/14] hw/vfio/common: Include missing 'system/tcg.h' header

2025-03-07 Thread Pierrick Bouvier
On 3/7/25 10:03, Philippe Mathieu-Daudé wrote: Always include necessary headers explicitly, to avoid when refactoring unrelated ones: hw/vfio/common.c:1176:45: error: implicit declaration of function ‘tcg_enabled’; 1176 | tcg_enabled() ? DIRTY

[PATCH 01/14] hw/vfio/common: Include missing 'system/tcg.h' header

2025-03-07 Thread Philippe Mathieu-Daudé
Always include necessary headers explicitly, to avoid when refactoring unrelated ones: hw/vfio/common.c:1176:45: error: implicit declaration of function ‘tcg_enabled’; 1176 | tcg_enabled() ? DIRTY_CLIENTS_ALL : |