From: Pierrick Bouvier Date: Thu, 24 Apr 2025 23:28:29 +0000 (-0700) Subject: hw/hyperv/hyperv: common compilation unit X-Git-Tag: v10.1.0-rc0~97^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=40316f9536cb62a05916ae5eff91e736c468b053;p=thirdparty%2Fqemu.git hw/hyperv/hyperv: common compilation unit Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Message-ID: <20250424232829.141163-9-pierrick.bouvier@linaro.org> Signed-off-by: Philippe Mathieu-Daudé --- diff --git a/hw/hyperv/hyperv.c b/hw/hyperv/hyperv.c index 0271cfd2719..e4d0688dbfa 100644 --- a/hw/hyperv/hyperv.c +++ b/hw/hyperv/hyperv.c @@ -13,6 +13,8 @@ #include "qapi/error.h" #include "system/address-spaces.h" #include "system/memory.h" +#include "exec/target_page.h" +#include "linux/kvm.h" #include "system/kvm.h" #include "qemu/bitops.h" #include "qemu/error-report.h" @@ -23,7 +25,6 @@ #include "hw/hyperv/hyperv.h" #include "qom/object.h" #include "target/i386/kvm/hyperv-proto.h" -#include "target/i386/cpu.h" #include "exec/target_page.h" struct SynICState { diff --git a/hw/hyperv/meson.build b/hw/hyperv/meson.build index ef5a596c8ab..d1cf781f049 100644 --- a/hw/hyperv/meson.build +++ b/hw/hyperv/meson.build @@ -1,4 +1,4 @@ -specific_ss.add(when: 'CONFIG_HYPERV', if_true: files('hyperv.c')) +system_ss.add(when: 'CONFIG_HYPERV', if_true: files('hyperv.c')) system_ss.add(when: 'CONFIG_HYPERV_TESTDEV', if_true: files('hyperv_testdev.c')) system_ss.add(when: 'CONFIG_VMBUS', if_true: files('vmbus.c')) system_ss.add(when: 'CONFIG_SYNDBG', if_true: files('syndbg.c'))