qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] meson.build: fix building of Xen support for aarch64
@ 2020-10-28 17:44 Alex Bennée
  2020-10-28 21:17 ` Stefano Stabellini
  2020-10-29  2:11 ` Masami Hiramatsu
  0 siblings, 2 replies; 7+ messages in thread
From: Alex Bennée @ 2020-10-28 17:44 UTC (permalink / raw)
  To: qemu-devel
  Cc: Stefano Stabellini, Masami Hiramatsu, Paul Durrant,
	Anthony Perard, xen-devel, Alex Bennée

Xen is supported on aarch64 although weirdly using the i386-softmmu
model. Checking based on the host CPU meant we never enabled Xen
support. It would be nice to enable CONFIG_XEN for aarch64-softmmu to
make it not seem weird but that will require further build surgery.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Anthony Perard <anthony.perard@citrix.com>
Cc: Paul Durrant <paul@xen.org>
Fixes: 8a19980e3f ("configure: move accelerator logic to meson")
---
 meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meson.build b/meson.build
index 835424999d..f1fcbfed4c 100644
--- a/meson.build
+++ b/meson.build
@@ -81,6 +81,8 @@ if cpu in ['x86', 'x86_64']
     'CONFIG_HVF': ['x86_64-softmmu'],
     'CONFIG_WHPX': ['i386-softmmu', 'x86_64-softmmu'],
   }
+elif cpu in [ 'arm', 'aarch64' ]
+  accelerator_targets += { 'CONFIG_XEN': ['i386-softmmu'] }
 endif
 
 ##################
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-10-29 20:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-28 17:44 [PATCH] meson.build: fix building of Xen support for aarch64 Alex Bennée
2020-10-28 21:17 ` Stefano Stabellini
2020-10-29 10:01   ` Alex Bennée
2020-10-29 13:37     ` Jason Andryuk
2020-10-29 20:00       ` Stefano Stabellini
2020-10-29 20:06     ` Stefano Stabellini
2020-10-29  2:11 ` Masami Hiramatsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).