diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-11 09:57:38 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-03-11 17:01:14 +0100 |
commit | 514c29678715c6b27e09fef8e3594dc1dba6820b (patch) | |
tree | a3b2fb31bade94f89a1532fd5938a9ffe074f010 | |
parent | a19ce97ed16c2892c6340fb46e693aa934ab7ebd (diff) | |
download | qemu-514c29678715c6b27e09fef8e3594dc1dba6820b.zip qemu-514c29678715c6b27e09fef8e3594dc1dba6820b.tar.gz qemu-514c29678715c6b27e09fef8e3594dc1dba6820b.tar.bz2 |
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é <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20250307180337.14811-2-philmd@linaro.org>
Link: https://lore.kernel.org/qemu-devel/20250311085743.21724-4-philmd@linaro.org
Signed-off-by: Cédric Le Goater <clg@redhat.com>
-rw-r--r-- | hw/vfio/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vfio/common.c b/hw/vfio/common.c index 7a4010e..b1596b6 100644 --- a/hw/vfio/common.c +++ b/hw/vfio/common.c @@ -42,6 +42,7 @@ #include "migration/misc.h" #include "migration/blocker.h" #include "migration/qemu-file.h" +#include "system/tcg.h" #include "system/tpm.h" VFIODeviceList vfio_device_list = |