softmmu: move vl.c to softmmu/

Move vl.c to a separate directory, similar to linux-user/
Update the chechpatch and get_maintainer scripts, since they relied on
/vl.c for top_of_tree checks.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Message-id: 20200220041118.23264-2-alxndr@bu.edu
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
Alexander Bulekov 2020-02-19 23:10:57 -05:00 committed by Stefan Hajnoczi
parent 7391d34c3c
commit bac068e064
7 changed files with 7 additions and 5 deletions

View file

@ -462,7 +462,7 @@ sub top_of_kernel_tree {
my @tree_check = (
"COPYING", "MAINTAINERS", "Makefile",
"README.rst", "docs", "VERSION",
"vl.c"
"linux-user", "softmmu"
);
foreach my $check (@tree_check) {

View file

@ -795,7 +795,8 @@ sub top_of_tree {
&& (-f "${lk_path}Makefile")
&& (-d "${lk_path}docs")
&& (-f "${lk_path}VERSION")
&& (-f "${lk_path}vl.c")) {
&& (-d "${lk_path}linux-user/")
&& (-d "${lk_path}softmmu/")) {
return 1;
}
return 0;