From: "Philippe Mathieu-Daudé" <philmd@redhat.com> To: qemu-devel@nongnu.org Cc: "Peter Maydell" <peter.maydell@linaro.org>, qemu-riscv@nongnu.org, "Eduardo Habkost" <ehabkost@redhat.com>, "Sagar Karandikar" <sagark@eecs.berkeley.edu>, "David Hildenbrand" <david@redhat.com>, "Bastian Koppelmann" <kbastian@mail.uni-paderborn.de>, "Cornelia Huck" <cohuck@redhat.com>, "Laurent Vivier" <laurent@vivier.eu>, "Philippe Mathieu-Daudé" <philmd@redhat.com>, qemu-s390x@nongnu.org, qemu-arm@nongnu.org, qemu-ppc@nongnu.org, "Paolo Bonzini" <pbonzini@redhat.com>, "Alistair Francis" <Alistair.Francis@wdc.com>, "David Gibson" <david@gibson.dropbear.id.au>, "Alex Bennée" <alex.bennee@linaro.org>, "Palmer Dabbelt" <palmer@dabbelt.com>, "Richard Henderson" <rth@twiddle.net> Subject: [PATCH 00/14] user-mode: Prune build dependencies (part 1) Date: Fri, 13 Mar 2020 19:36:38 +0100 [thread overview] Message-ID: <20200313183652.10258-1-philmd@redhat.com> (raw) This is the first part of a series reducing user-mode dependencies. By stripping out unused code, the build and testing time is reduced (as is space used by objects). Part 1: - reduce user-mode object list - remove some migration code from user-mode - remove cpu_get_crash_info() Philippe Mathieu-Daudé (14): Makefile: Only build virtiofsd if system-mode is enabled configure: Avoid building TCG when not needed tests/Makefile: Only display TCG-related tests when TCG is available tests/Makefile: Restrict some softmmu-only tests stubs/Makefile: Reduce the user-mode object list util/Makefile: Reduce the user-mode object list target/riscv/cpu: Restrict CPU migration to system-mode exec: Assert CPU migration is not used on user-only build exec: Drop redundant #ifdeffery arch_init: Remove unused 'qapi-commands-misc.h' include target: Restrict write_elfXX_note() handlers to system-mode target/i386: Restrict CpuClass::get_crash_info() to system-mode target/s390x: Restrict CpuClass::get_crash_info() to system-mode hw/core: Restrict CpuClass::get_crash_info() to system-mode configure | 4 +++ Makefile | 4 +-- include/hw/core/cpu.h | 7 +++- target/arm/cpu.h | 10 +++--- target/i386/cpu.h | 18 +++++----- target/ppc/cpu.h | 2 -- target/s390x/internal.h | 3 +- arch_init.c | 1 - exec.c | 8 ++--- hw/core/cpu.c | 2 ++ target/i386/cpu.c | 6 +++- target/ppc/translate_init.inc.c | 2 -- target/riscv/cpu.c | 6 ++-- target/s390x/cpu.c | 12 +++---- stubs/Makefile.objs | 52 +++++++++++++++++------------ tests/Makefile.include | 18 +++++----- util/Makefile.objs | 59 +++++++++++++++++++++------------ 17 files changed, 125 insertions(+), 89 deletions(-) -- 2.21.1
WARNING: multiple messages have this Message-ID (diff)
From: "Philippe Mathieu-Daudé" <philmd@redhat.com> To: qemu-devel@nongnu.org Cc: "David Hildenbrand" <david@redhat.com>, "Laurent Vivier" <laurent@vivier.eu>, "Alistair Francis" <Alistair.Francis@wdc.com>, qemu-ppc@nongnu.org, "Cornelia Huck" <cohuck@redhat.com>, "Paolo Bonzini" <pbonzini@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, qemu-s390x@nongnu.org, "Bastian Koppelmann" <kbastian@mail.uni-paderborn.de>, "Richard Henderson" <rth@twiddle.net>, "David Gibson" <david@gibson.dropbear.id.au>, qemu-riscv@nongnu.org, "Marcel Apfelbaum" <marcel.apfelbaum@gmail.com>, "Palmer Dabbelt" <palmer@dabbelt.com>, qemu-arm@nongnu.org, "Sagar Karandikar" <sagark@eecs.berkeley.edu>, "Peter Maydell" <peter.maydell@linaro.org>, "Eduardo Habkost" <ehabkost@redhat.com>, "Philippe Mathieu-Daudé" <philmd@redhat.com> Subject: [PATCH 00/14] user-mode: Prune build dependencies (part 1) Date: Fri, 13 Mar 2020 19:36:38 +0100 [thread overview] Message-ID: <20200313183652.10258-1-philmd@redhat.com> (raw) This is the first part of a series reducing user-mode dependencies. By stripping out unused code, the build and testing time is reduced (as is space used by objects). Part 1: - reduce user-mode object list - remove some migration code from user-mode - remove cpu_get_crash_info() Philippe Mathieu-Daudé (14): Makefile: Only build virtiofsd if system-mode is enabled configure: Avoid building TCG when not needed tests/Makefile: Only display TCG-related tests when TCG is available tests/Makefile: Restrict some softmmu-only tests stubs/Makefile: Reduce the user-mode object list util/Makefile: Reduce the user-mode object list target/riscv/cpu: Restrict CPU migration to system-mode exec: Assert CPU migration is not used on user-only build exec: Drop redundant #ifdeffery arch_init: Remove unused 'qapi-commands-misc.h' include target: Restrict write_elfXX_note() handlers to system-mode target/i386: Restrict CpuClass::get_crash_info() to system-mode target/s390x: Restrict CpuClass::get_crash_info() to system-mode hw/core: Restrict CpuClass::get_crash_info() to system-mode configure | 4 +++ Makefile | 4 +-- include/hw/core/cpu.h | 7 +++- target/arm/cpu.h | 10 +++--- target/i386/cpu.h | 18 +++++----- target/ppc/cpu.h | 2 -- target/s390x/internal.h | 3 +- arch_init.c | 1 - exec.c | 8 ++--- hw/core/cpu.c | 2 ++ target/i386/cpu.c | 6 +++- target/ppc/translate_init.inc.c | 2 -- target/riscv/cpu.c | 6 ++-- target/s390x/cpu.c | 12 +++---- stubs/Makefile.objs | 52 +++++++++++++++++------------ tests/Makefile.include | 18 +++++----- util/Makefile.objs | 59 +++++++++++++++++++++------------ 17 files changed, 125 insertions(+), 89 deletions(-) -- 2.21.1
next reply other threads:[~2020-03-13 18:38 UTC|newest] Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-03-13 18:36 Philippe Mathieu-Daudé [this message] 2020-03-13 18:36 ` [PATCH 00/14] user-mode: Prune build dependencies (part 1) Philippe Mathieu-Daudé 2020-03-13 18:36 ` [PATCH 01/14] Makefile: Only build virtiofsd if system-mode is enabled Philippe Mathieu-Daudé 2020-03-13 18:36 ` Philippe Mathieu-Daudé 2020-03-13 22:28 ` Laurent Vivier 2020-03-13 22:28 ` Laurent Vivier 2020-03-15 19:40 ` Richard Henderson 2020-03-15 19:40 ` Richard Henderson 2020-03-15 22:16 ` Philippe Mathieu-Daudé 2020-03-15 22:16 ` Philippe Mathieu-Daudé 2020-03-15 22:33 ` Richard Henderson 2020-03-15 22:33 ` Richard Henderson 2020-03-13 18:36 ` [PATCH 02/14] configure: Avoid building TCG when not needed Philippe Mathieu-Daudé 2020-03-13 18:36 ` Philippe Mathieu-Daudé 2020-03-15 18:56 ` Richard Henderson 2020-03-15 18:56 ` Richard Henderson 2020-03-13 18:36 ` [PATCH 03/14] tests/Makefile: Only display TCG-related tests when TCG is available Philippe Mathieu-Daudé 2020-03-13 18:36 ` Philippe Mathieu-Daudé 2020-03-13 19:45 ` Alistair Francis 2020-03-13 19:45 ` Alistair Francis 2020-03-15 18:57 ` Richard Henderson 2020-03-15 18:57 ` Richard Henderson 2020-03-13 18:36 ` [PATCH 04/14] tests/Makefile: Restrict some softmmu-only tests Philippe Mathieu-Daudé 2020-03-13 18:36 ` Philippe Mathieu-Daudé 2020-03-15 20:07 ` Richard Henderson 2020-03-15 20:07 ` Richard Henderson 2020-03-15 20:17 ` Richard Henderson 2020-03-15 20:17 ` Richard Henderson 2020-03-13 18:36 ` [PATCH 05/14] stubs/Makefile: Reduce the user-mode object list Philippe Mathieu-Daudé 2020-03-13 18:36 ` Philippe Mathieu-Daudé 2020-03-15 20:17 ` Richard Henderson 2020-03-15 20:17 ` Richard Henderson 2020-03-13 18:36 ` [PATCH 06/14] util/Makefile: " Philippe Mathieu-Daudé 2020-03-13 18:36 ` Philippe Mathieu-Daudé 2020-03-15 20:18 ` Richard Henderson 2020-03-15 20:18 ` Richard Henderson 2020-03-13 18:36 ` [PATCH 07/14] target/riscv/cpu: Restrict CPU migration to system-mode Philippe Mathieu-Daudé 2020-03-13 18:36 ` Philippe Mathieu-Daudé 2020-03-13 20:01 ` Alistair Francis 2020-03-13 20:01 ` Alistair Francis 2020-03-15 20:18 ` Richard Henderson 2020-03-15 20:18 ` Richard Henderson 2020-03-13 18:36 ` [PATCH 08/14] exec: Assert CPU migration is not used on user-only build Philippe Mathieu-Daudé 2020-03-13 18:36 ` Philippe Mathieu-Daudé 2020-03-15 20:19 ` Richard Henderson 2020-03-15 20:19 ` Richard Henderson 2020-03-13 18:36 ` [PATCH 09/14] exec: Drop redundant #ifdeffery Philippe Mathieu-Daudé 2020-03-13 18:36 ` Philippe Mathieu-Daudé 2020-03-13 20:02 ` Alistair Francis 2020-03-13 20:02 ` Alistair Francis 2020-03-15 20:39 ` Richard Henderson 2020-03-15 20:39 ` Richard Henderson 2020-03-15 22:20 ` Philippe Mathieu-Daudé 2020-03-15 22:20 ` Philippe Mathieu-Daudé 2020-03-13 18:36 ` [PATCH 10/14] arch_init: Remove unused 'qapi-commands-misc.h' include Philippe Mathieu-Daudé 2020-03-13 18:36 ` Philippe Mathieu-Daudé 2020-03-13 20:02 ` Alistair Francis 2020-03-13 20:02 ` Alistair Francis 2020-03-15 20:41 ` Richard Henderson 2020-03-15 20:41 ` Richard Henderson 2020-03-13 18:36 ` [PATCH 11/14] target: Restrict write_elfXX_note() handlers to system-mode Philippe Mathieu-Daudé 2020-03-13 18:36 ` Philippe Mathieu-Daudé 2020-03-15 20:44 ` Richard Henderson 2020-03-15 20:44 ` Richard Henderson 2020-03-13 18:36 ` [PATCH 12/14] target/i386: Restrict CpuClass::get_crash_info() " Philippe Mathieu-Daudé 2020-03-13 18:36 ` Philippe Mathieu-Daudé 2020-03-15 20:46 ` Richard Henderson 2020-03-15 20:46 ` Richard Henderson 2020-03-13 18:36 ` [PATCH 13/14] target/s390x: " Philippe Mathieu-Daudé 2020-03-13 18:36 ` Philippe Mathieu-Daudé 2020-03-15 20:46 ` Richard Henderson 2020-03-15 20:46 ` Richard Henderson 2020-03-13 18:36 ` [PATCH 14/14] hw/core: " Philippe Mathieu-Daudé 2020-03-13 18:36 ` Philippe Mathieu-Daudé 2020-03-15 21:03 ` Richard Henderson 2020-03-15 21:03 ` Richard Henderson
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200313183652.10258-1-philmd@redhat.com \ --to=philmd@redhat.com \ --cc=Alistair.Francis@wdc.com \ --cc=alex.bennee@linaro.org \ --cc=cohuck@redhat.com \ --cc=david@gibson.dropbear.id.au \ --cc=david@redhat.com \ --cc=ehabkost@redhat.com \ --cc=kbastian@mail.uni-paderborn.de \ --cc=laurent@vivier.eu \ --cc=palmer@dabbelt.com \ --cc=pbonzini@redhat.com \ --cc=peter.maydell@linaro.org \ --cc=qemu-arm@nongnu.org \ --cc=qemu-devel@nongnu.org \ --cc=qemu-ppc@nongnu.org \ --cc=qemu-riscv@nongnu.org \ --cc=qemu-s390x@nongnu.org \ --cc=rth@twiddle.net \ --cc=sagark@eecs.berkeley.edu \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.