Commit bac068e0 authored by Alexander Bulekov's avatar Alexander Bulekov Committed by Stefan Hajnoczi
Browse files

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: default avatarAlexander Bulekov <alxndr@bu.edu>
Reviewed-by: default avatarDarren Kenny <darren.kenny@oracle.com>
Message-id: 20200220041118.23264-2-alxndr@bu.edu
Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
parent 7391d34c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2031,7 +2031,7 @@ F: include/qemu/main-loop.h
F: include/sysemu/runstate.h
F: util/main-loop.c
F: util/qemu-timer.c
F: vl.c
F: softmmu/vl.c
F: qapi/run-state.json

Human Monitor (HMP)
+0 −2
Original line number Diff line number Diff line
@@ -58,8 +58,6 @@ common-obj-y += ui/
common-obj-m += ui/

common-obj-y += dma-helpers.o
common-obj-y += vl.o
vl.o-cflags := $(GPROF_CFLAGS) $(SDL_CFLAGS)
common-obj-$(CONFIG_TPM) += tpm.o

common-obj-y += backends/
+1 −0
Original line number Diff line number Diff line
@@ -160,6 +160,7 @@ obj-y += qapi/
obj-y += memory.o
obj-y += memory_mapping.o
obj-y += migration/ram.o
obj-y += softmmu/
LIBS := $(libs_softmmu) $(LIBS)

# Hardware support
+1 −1
Original line number Diff line number Diff line
@@ -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) {
+2 −1
Original line number Diff line number Diff line
@@ -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;
Loading