[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 8/8] util/async-teardown.c: move to softmmu/, only build it when
From: |
Michael Tokarev |
Subject: |
[PATCH 8/8] util/async-teardown.c: move to softmmu/, only build it when system build is requested |
Date: |
Fri, 1 Sep 2023 13:13:02 +0300 |
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Eric Blake <eblake@redhat.com>
---
{util => softmmu}/async-teardown.c | 0
softmmu/meson.build | 1 +
util/meson.build | 1 -
3 files changed, 1 insertion(+), 1 deletion(-)
rename {util => softmmu}/async-teardown.c (100%)
diff --git a/util/async-teardown.c b/softmmu/async-teardown.c
similarity index 100%
rename from util/async-teardown.c
rename to softmmu/async-teardown.c
diff --git a/softmmu/meson.build b/softmmu/meson.build
index ea5603f021..c18b7ad738 100644
--- a/softmmu/meson.build
+++ b/softmmu/meson.build
@@ -37,3 +37,4 @@ endif
system_ss.add(when: seccomp, if_true: files('qemu-seccomp.c'))
system_ss.add(when: fdt, if_true: files('device_tree.c'))
+system_ss.add(when: 'CONFIG_LINUX', if_true: files('async-teardown.c'))
diff --git a/util/meson.build b/util/meson.build
index a375160286..c4827fd70a 100644
--- a/util/meson.build
+++ b/util/meson.build
@@ -3,7 +3,6 @@ util_ss.add(files('thread-context.c'), numa)
if not config_host_data.get('CONFIG_ATOMIC64')
util_ss.add(files('atomic64.c'))
endif
-util_ss.add(when: 'CONFIG_LINUX', if_true: files('async-teardown.c'))
util_ss.add(when: 'CONFIG_POSIX', if_true: files('aio-posix.c'))
util_ss.add(when: 'CONFIG_POSIX', if_true: files('fdmon-poll.c'))
if config_host_data.get('CONFIG_EPOLL_CREATE1')
--
2.39.2
- [PATCH 0/8] move softmmu options processing from os-posix.c to vl.c, Michael Tokarev, 2023/09/01
- [PATCH 1/8] include/sysemu/os-posix.h: move *daemonize* declarations together, Michael Tokarev, 2023/09/01
- [PATCH 2/8] os-posix: create and export os_set_runas(), Michael Tokarev, 2023/09/01
- [PATCH 3/8] os-posix.c: create and export os_set_chroot(), Michael Tokarev, 2023/09/01
- [PATCH 6/8] os-posix.c: remove unneeded #includes, Michael Tokarev, 2023/09/01
- [PATCH 8/8] util/async-teardown.c: move to softmmu/, only build it when system build is requested,
Michael Tokarev <=
- [PATCH 4/8] os-posix.c, softmmu/vl.c: move os_parse_cmd_args() into qemu_init(), Michael Tokarev, 2023/09/01
- [PATCH 5/8] os-posix.c: move code around, Michael Tokarev, 2023/09/01
- [PATCH 7/8] softmmu/vl.c: inline include/qemu/qemu-options.h into vl.c, Michael Tokarev, 2023/09/01
- Re: [PATCH 0/8] move softmmu options processing from os-posix.c to vl.c, Paolo Bonzini, 2023/09/01