Re: [PATCH-for-9.1 2/7] yank: Restrict to system emulation
On Thu, Apr 4, 2024 at 9:48 PM Philippe Mathieu-Daudé wrote: > > The yank feature is not used in user emulation. But it is used in block layer tools. The simplest thing here is probably to move it under have_block instead. Paolo > Signed-off-by: Philippe Mathieu-Daudé > --- > util/meson.build | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/util/meson.build b/util/meson.build > index 0ef9886be0..247f55a80d 100644 > --- a/util/meson.build > +++ b/util/meson.build > @@ -60,7 +60,6 @@ util_ss.add(files('stats64.c')) > util_ss.add(files('systemd.c')) > util_ss.add(files('transactions.c')) > util_ss.add(files('guest-random.c')) > -util_ss.add(files('yank.c')) > util_ss.add(files('int128.c')) > util_ss.add(files('memalign.c')) > util_ss.add(files('interval-tree.c')) > @@ -76,6 +75,7 @@ if have_system >if host_os == 'linux' > util_ss.add(files('userfaultfd.c')) >endif > + util_ss.add(files('yank.c')) > endif > > if have_block or have_ga > -- > 2.41.0 >
Re: [PATCH-for-9.1 2/7] yank: Restrict to system emulation
On 4/4/24 09:47, Philippe Mathieu-Daudé wrote: The yank feature is not used in user emulation. Signed-off-by: Philippe Mathieu-Daudé --- util/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Richard Henderson r~
[PATCH-for-9.1 2/7] yank: Restrict to system emulation
The yank feature is not used in user emulation. Signed-off-by: Philippe Mathieu-Daudé --- util/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/meson.build b/util/meson.build index 0ef9886be0..247f55a80d 100644 --- a/util/meson.build +++ b/util/meson.build @@ -60,7 +60,6 @@ util_ss.add(files('stats64.c')) util_ss.add(files('systemd.c')) util_ss.add(files('transactions.c')) util_ss.add(files('guest-random.c')) -util_ss.add(files('yank.c')) util_ss.add(files('int128.c')) util_ss.add(files('memalign.c')) util_ss.add(files('interval-tree.c')) @@ -76,6 +75,7 @@ if have_system if host_os == 'linux' util_ss.add(files('userfaultfd.c')) endif + util_ss.add(files('yank.c')) endif if have_block or have_ga -- 2.41.0