Skip to content

Commit 514c296

Browse files
philmdlegoater
authored andcommitted
hw/vfio/common: Include missing 'system/tcg.h' header
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 : | ^~~~~~~~~~~ Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Pierrick Bouvier <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Reviewed-by: Cédric Le Goater <[email protected]> Reviewed-by: Eric Auger <[email protected]> Message-Id: <[email protected]> Link: https://lore.kernel.org/qemu-devel/[email protected] Signed-off-by: Cédric Le Goater <[email protected]>
1 parent a19ce97 commit 514c296

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hw/vfio/common.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
#include "migration/misc.h"
4343
#include "migration/blocker.h"
4444
#include "migration/qemu-file.h"
45+
#include "system/tcg.h"
4546
#include "system/tpm.h"
4647

4748
VFIODeviceList vfio_device_list =

0 commit comments

Comments
 (0)