From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-21.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94489C433DB for ; Mon, 21 Dec 2020 14:50:24 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3E2E622BEF for ; Mon, 21 Dec 2020 14:50:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3E2E622BEF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:52374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krMVz-0001nZ-62 for qemu-devel@archiver.kernel.org; Mon, 21 Dec 2020 09:50:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krMQf-0004h0-7A for qemu-devel@nongnu.org; Mon, 21 Dec 2020 09:44:53 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:44684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1krMQd-0007bo-2g for qemu-devel@nongnu.org; Mon, 21 Dec 2020 09:44:52 -0500 Received: by mail-wr1-x42b.google.com with SMTP id w5so11291146wrm.11 for ; Mon, 21 Dec 2020 06:44:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=aQ4l/a70MrwYHC3uZ7oFelzixlSWr1/zGaWsxYSNu5E=; b=XZaR2auJ0uCLk0aqaS6QILeavinQRBw/XondK+Y5ySAJ8vMpm5lDRZshOxRD10P7ju I8/xiVslrQ0UuDNegyMxlGPfa2o8DaQX5/2aYD4tunV/djZ5CPreZo4cF23nw4noXaUE UdTTS3ItKJ0tBRLJ5yTU+PAE+PKR/+n7r6CIWpONTmy9xJ51+XDK0LLl6WjWLImNVYb/ 12nOIcOtfYGZM0mOyBQnqHGd75XCtwzdjvkjHBn8uv8wBtg5R0wscLwMpKvKBJY27kfv OmyoDB7/s5LKll3WwdsQ52vfzi90m1RqkMgmhHdhRnGFXPT1WcolT7ukmaY+RS/TVy4V kWLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=aQ4l/a70MrwYHC3uZ7oFelzixlSWr1/zGaWsxYSNu5E=; b=bukywIjy5iMZcctAHVkeyiCRN7HEw0b6u+Gt2lBQ01186XzfDfkQ3ZUePbfRVh71AG y+eAxQEKxiClVrw/Jr7nQEdcx7gW7Ra1Q/1Bxnc+WxpBpzJqsc4nMVdDzjXSSme76KSM GH6XMItpQDz7bCXrQGENSu0U6f9zKwwR8NvZOQcjwLBWwzWREJljXFF0CGM0MooYxy8m ESUWsyyUtfEbNbHbVUZXWPTBW+kPXoaECJXq3DAwwiLpraZxIasjCXxtn7E45On1emGo hhEoc3BFbbdNlMBokQgKpBUMDybiS76Uc09AB0zx4OS2Hkr3h9FiqLkArPTww5tKxNTd nCRA== X-Gm-Message-State: AOAM532hpNELpguT5upFRE0KIvFIFho8IdwGGvOolvRdi5gWW9bZJcLg pMjIgCYq7jf2+a7WnqCZH4sZ/ug6gm4= X-Google-Smtp-Source: ABdhPJyJw711S5UlhvPQF4P7oyc2HLAkOrCMGDH9wPHA4YQTzPnYfiddgFuJjuammYjdcY3/zvFUVg== X-Received: by 2002:a5d:554e:: with SMTP id g14mr19320534wrw.264.1608561889217; Mon, 21 Dec 2020 06:44:49 -0800 (PST) Received: from avogadro.lan ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id l5sm27439627wrv.44.2020.12.21.06.44.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 06:44:48 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/55] Misc patches for 2020-12-21 Date: Mon, 21 Dec 2020 15:43:52 +0100 Message-Id: <20201221144447.26161-1-pbonzini@redhat.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=paolo.bonzini@gmail.com; helo=mail-wr1-x42b.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The following changes since commit a05f8ecd88f15273d033b6f044b850a8af84a5b8: Merge remote-tracking branch 'remotes/alistair/tags/pull-riscv-to-apply-20201217-1' into staging (2020-12-18 11:12:35 +0000) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 16efbeeb765944fdda71862b40d60f0abeb1e200: win32: drop fd registration to the main-loop on setting non-block (2020-12-21 13:53:24 +0100) ---------------------------------------------------------------- >From Alex's pull request: * improve cross-build KVM coverage * new --without-default-features configure flag * add __repr__ for ConsoleSocket for debugging * build tcg tests with -Werror * test 32 bit builds with fedora * remove last traces of debian9 * hotfix for centos8 powertools repo * Move lots of feature detection code to meson (Alex, myself) * CFI and LTO support (Daniele) * test-char dangling pointer (Eduardo) * Build system and win32 fixes (Marc-André) * Initialization fixes (myself) * TCG include cleanup (Richard, myself) * x86 'int N' fix (Peter) ---------------------------------------------------------------- Alex Bennée (7): gitlab: include aarch64-softmmu and ppc64-softmmu cross-system-build configure: move gettext detection to meson.build configure: add --without-default-features python: add __repr__ to ConsoleSocket to aid debugging gitlab: move --without-default-devices build from Travis gitlab: add --without-default-features build tests/tcg: build tests with -Werror Daniel P. Berrangé (1): tests: update for rename of CentOS8 PowerTools repo Daniele Buono (5): configure,meson: add option to enable LTO cfi: Initial support for cfi-icall in QEMU check-block: enable iotests with cfi-icall configure,meson: support Control-Flow Integrity docs: Add CFI Documentation Eduardo Habkost (2): test-char: Destroy chardev correctly at char_file_test_internal() qom: Assert that objects being destroyed have no parent Marc-André Lureau (2): build-sys: fix -static linking of libvhost-user win32: drop fd registration to the main-loop on setting non-block Paolo Bonzini (34): configure: document --without-default-{features,devices} vl: initialize displays _after_ exiting preconfiguration remove TCG includes from common code trace: do not include TCG helper tracepoints in no-TCG builds Makefile: add dummy target for build.ninja dependencies meson: update submodule to 0.56.0 meson: switch minimum meson version to 0.56.0 meson: fix detection of curses with pkgconfig meson: use pkg-config method for libudev meson: use dependency to gate block modules meson: cleanup Kconfig.host handling configure: remove useless code to check for Xen PCI passthrough configure: remove variable bogus_os configure: accept --enable-slirp configure: remove CONFIG_FILEVERSION and CONFIG_PRODUCTVERSION brlapi: convert to meson curl: remove compatibility code, require 7.29.0 curl: convert to meson glusterfs: convert to meson bzip2: convert to meson libiscsi: convert to meson libnfs: convert to meson libssh: convert to meson rbd: convert to meson lzo: convert to meson snappy: convert to meson lzfse: convert to meson zstd: convert to meson seccomp: convert to meson virtfs: convert to meson cap_ng: convert to meson libattr: convert to meson meson.build: convert --with-default-devices to meson configure: move tests/qemu-iotests/common.env generation to meson Peter Maydell (1): target/i386: Check privilege level for protected mode 'int N' task gate Richard Henderson (1): util: Extract flush_icache_range to cacheflush.c Thomas Huth (2): gitlab-CI: Test 32-bit builds with the fedora-i386-cross container tests/docker: Remove the remainders of debian9 containers from the Makefile .gitlab-ci.d/crossbuilds.yml | 22 +- .gitlab-ci.yml | 14 + .travis.yml | 8 - MAINTAINERS | 2 + Makefile | 1 + accel/Kconfig | 9 + accel/stubs/tcg-stub.c | 1 - accel/tcg/cpu-exec.c | 11 + accel/tcg/cputlb.c | 2 +- accel/tcg/translate-all.c | 2 +- accel/tcg/user-exec.c | 2 +- block/curl.c | 28 - block/meson.build | 22 +- chardev/meson.build | 2 +- configure | 805 +++++----------------- contrib/elf2dmp/meson.build | 2 +- contrib/vhost-user-scsi/meson.build | 2 +- cpu.c | 2 +- docs/devel/control-flow-integrity.rst | 137 ++++ docs/devel/index.rst | 5 +- docs/devel/kconfig.rst | 19 +- docs/meson.build | 12 +- hw/i386/kvmvapic.c | 1 - {accel/tcg => include/exec}/translate-all.h | 0 include/qemu/cacheflush.h | 24 + include/qemu/compiler.h | 12 + meson | 2 +- meson.build | 484 +++++++++---- meson_options.txt | 49 +- migration/meson.build | 2 +- monitor/misc.c | 1 - plugins/core.c | 37 + plugins/loader.c | 7 + plugins/meson.build | 4 +- po/meson.build | 2 +- python/qemu/console_socket.py | 7 + qom/object.c | 1 + softmmu/meson.build | 2 +- softmmu/physmem.c | 4 +- softmmu/qemu-seccomp.c | 2 - softmmu/vl.c | 2 +- target/i386/tcg/seg_helper.c | 35 +- tcg/aarch64/tcg-target.h | 5 - tcg/arm/tcg-target.h | 5 - tcg/i386/tcg-target.h | 4 - tcg/mips/tcg-target.h | 11 - tcg/ppc/tcg-target.c.inc | 22 - tcg/ppc/tcg-target.h | 1 - tcg/riscv/tcg-target.h | 5 - tcg/s390/tcg-target.h | 4 - tcg/sparc/tcg-target.h | 8 - tcg/tcg.c | 1 + tcg/tci.c | 7 + tcg/tci/tcg-target.h | 4 - tests/check-block.sh | 18 +- tests/docker/Makefile.include | 6 +- tests/docker/dockerfiles/centos8.docker | 5 +- tests/docker/dockerfiles/fedora-i386-cross.docker | 18 +- tests/meson.build | 2 +- tests/qapi-schema/meson.build | 4 +- tests/qemu-iotests/common.env.in | 3 + tests/qemu-iotests/meson.build | 3 + tests/qtest/meson.build | 2 +- tests/tcg/Makefile.target | 2 +- tests/test-char.c | 2 +- tools/meson.build | 6 +- trace/meson.build | 6 +- util/cacheflush.c | 71 ++ util/main-loop.c | 11 + util/meson.build | 2 +- util/oslib-posix.c | 11 + util/oslib-win32.c | 1 - version.rc | 4 +- 73 files changed, 1069 insertions(+), 973 deletions(-) create mode 100644 docs/devel/control-flow-integrity.rst rename {accel/tcg => include/exec}/translate-all.h (100%) create mode 100644 include/qemu/cacheflush.h create mode 100644 tests/qemu-iotests/common.env.in create mode 100644 util/cacheflush.c -- 2.29.2