Move the qemu-nbd sources into the tools/ subdirectory.
Signed-off-by: Peter Maydell <[email protected]>
---
MAINTAINERS | 2 +-
meson.build | 2 +-
qemu-nbd.c => tools/qemu-nbd.c | 0
3 files changed, 2 insertions(+), 2 deletions(-)
rename qemu-nbd.c => tools/qemu-nbd.c (100%)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0f89bf2642..f2c66d7cc3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4227,7 +4227,7 @@ S: Maintained
F: block/nbd*
F: nbd/
F: include/block/nbd*
-F: qemu-nbd.*
+F: tools/qemu-nbd.*
F: blockdev-nbd.c
F: docs/interop/nbd.rst
F: docs/tools/qemu-nbd.rst
diff --git a/meson.build b/meson.build
index 1f34ed71ab..63eb4031a4 100644
--- a/meson.build
+++ b/meson.build
@@ -4529,7 +4529,7 @@ if have_tools
qemu_io = executable('qemu-io', files('tools/qemu-io.c'),
link_args: tools_link_args, link_depends: block_syms,
dependencies: [block, qemuutil], install: true)
- qemu_nbd = executable('qemu-nbd', files('qemu-nbd.c'),
+ qemu_nbd = executable('qemu-nbd', files('tools/qemu-nbd.c'),
link_args: tools_link_args, link_depends: block_syms,
dependencies: [blockdev, qemuutil, selinux],
install: true)
diff --git a/qemu-nbd.c b/tools/qemu-nbd.c
similarity index 100%
rename from qemu-nbd.c
rename to tools/qemu-nbd.c
--
2.43.0