summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorAlexander Bulekov2020-02-20 05:10:58 +0100
committerStefan Hajnoczi2020-02-22 09:26:47 +0100
commit7b73386222626608f843ca4773426dce4ebcc73a (patch)
tree7022e65b90e98517f546c0b9b019c89a785f149f /MAINTAINERS
parentsoftmmu: move vl.c to softmmu/ (diff)
downloadqemu-7b73386222626608f843ca4773426dce4ebcc73a.tar.gz
qemu-7b73386222626608f843ca4773426dce4ebcc73a.tar.xz
qemu-7b73386222626608f843ca4773426dce4ebcc73a.zip
softmmu: split off vl.c:main() into main.c
A program might rely on functions implemented in vl.c, but implement its own main(). By placing main into a separate source file, there are no complaints about duplicate main()s when linking against vl.o. For example, the virtual-device fuzzer uses a main() provided by libfuzzer, and needs to perform some initialization before running the softmmu initialization. Now, main simply calls three vl.c functions which handle the guest initialization, main loop and cleanup. Signed-off-by: Alexander Bulekov <alxndr@bu.edu> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Darren Kenny <darren.kenny@oracle.com> Message-id: 20200220041118.23264-3-alxndr@bu.edu Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r--MAINTAINERS1
1 files changed, 1 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 6e26d2ec2a..969329f83e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2032,6 +2032,7 @@ F: include/sysemu/runstate.h
F: util/main-loop.c
F: util/qemu-timer.c
F: softmmu/vl.c
+F: softmmu/main.c
F: qapi/run-state.json
Human Monitor (HMP)