aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierrick Bouvier <pierrick.bouvier@linaro.org>2025-04-24 16:28:24 -0700
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-05-08 14:22:12 +0200
commit4a695643a9e79d56c72c460ab0663303698931a6 (patch)
treea83c552646b4ad07312cbb98d20ae0cc7e966af8
parent690bc5f98ac3117407ce387b09f202eaea8223a6 (diff)
downloadqemu-4a695643a9e79d56c72c460ab0663303698931a6.zip
qemu-4a695643a9e79d56c72c460ab0663303698931a6.tar.gz
qemu-4a695643a9e79d56c72c460ab0663303698931a6.tar.bz2
hw/hyperv/vmbus: common compilation unit
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-ID: <20250424232829.141163-4-pierrick.bouvier@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
-rw-r--r--hw/hyperv/meson.build2
-rw-r--r--hw/hyperv/vmbus.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/hyperv/meson.build b/hw/hyperv/meson.build
index f4aa0a5..c855fdc 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 b147ea0..961406c 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 {