From: Pierrick Bouvier Date: Thu, 24 Apr 2025 23:28:24 +0000 (-0700) Subject: hw/hyperv/vmbus: common compilation unit X-Git-Tag: v10.1.0-rc0~97^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a695643a9e79d56c72c460ab0663303698931a6;p=thirdparty%2Fqemu.git hw/hyperv/vmbus: common compilation unit Reviewed-by: Richard Henderson Signed-off-by: Pierrick Bouvier Message-ID: <20250424232829.141163-4-pierrick.bouvier@linaro.org> Signed-off-by: Philippe Mathieu-Daudé --- diff --git a/hw/hyperv/meson.build b/hw/hyperv/meson.build index f4aa0a5ada9..c855fdcf04c 100644 --- a/hw/hyperv/meson.build +++ b/hw/hyperv/meson.build @@ -1,6 +1,6 @@ specific_ss.add(when: 'CONFIG_HYPERV', if_true: files('hyperv.c')) specific_ss.add(when: 'CONFIG_HYPERV_TESTDEV', if_true: files('hyperv_testdev.c')) -specific_ss.add(when: 'CONFIG_VMBUS', if_true: files('vmbus.c')) +system_ss.add(when: 'CONFIG_VMBUS', if_true: files('vmbus.c')) specific_ss.add(when: 'CONFIG_SYNDBG', if_true: files('syndbg.c')) specific_ss.add(when: 'CONFIG_HV_BALLOON', if_true: files('hv-balloon.c', 'hv-balloon-page_range_tree.c', 'hv-balloon-our_range_memslots.c')) system_ss.add(when: 'CONFIG_HV_BALLOON', if_false: files('hv-balloon-stub.c')) diff --git a/hw/hyperv/vmbus.c b/hw/hyperv/vmbus.c index b147ea06d87..961406cdd6a 100644 --- a/hw/hyperv/vmbus.c +++ b/hw/hyperv/vmbus.c @@ -19,7 +19,7 @@ #include "hw/hyperv/vmbus.h" #include "hw/hyperv/vmbus-bridge.h" #include "hw/sysbus.h" -#include "cpu.h" +#include "exec/target_page.h" #include "trace.h" enum {