qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 04/15] accel: Only use TCG when building user-mode emulat


From: Richard Henderson
Subject: Re: [RFC PATCH 04/15] accel: Only use TCG when building user-mode emulation
Date: Wed, 26 May 2021 11:52:12 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 5/17/21 4:55 AM, Philippe Mathieu-Daudé wrote:
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
  accel/meson.build | 10 ++++++----
  1 file changed, 6 insertions(+), 4 deletions(-)

I think the description should be clearer, since the restriction being applied is for system emulation. How about

meson: Only build hw virtualization with system emulation


diff --git a/accel/meson.build b/accel/meson.build
index b44ba30c864..0e296911aea 100644
--- a/accel/meson.build
+++ b/accel/meson.build
@@ -2,11 +2,13 @@
  softmmu_ss.add(files('accel-softmmu.c'))
  user_ss.add(files('accel-user.c'))
-subdir('qtest')
-subdir('kvm')
  subdir('tcg')
-subdir('xen')
-subdir('stubs')
+if have_system
+  subdir('kvm')
+  subdir('qtest')
+  subdir('stubs')
+  subdir('xen')
+endif

The patch itself looks fine.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]