From patchwork Mon Apr 9 14:59:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 896326 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="tCM2cplU"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40KYQC1zDPz9s25 for ; Tue, 10 Apr 2018 01:00:34 +1000 (AEST) Received: from localhost ([::1]:44716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5YHX-00006F-6p for incoming@patchwork.ozlabs.org; Mon, 09 Apr 2018 11:00:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5YH0-00005L-Ve for qemu-devel@nongnu.org; Mon, 09 Apr 2018 11:00:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5YGx-0003dp-Ry for qemu-devel@nongnu.org; Mon, 09 Apr 2018 10:59:59 -0400 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:35632) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f5YGx-0003dQ-KP for qemu-devel@nongnu.org; Mon, 09 Apr 2018 10:59:55 -0400 Received: by mail-wm0-x233.google.com with SMTP id r82so17527998wme.0 for ; Mon, 09 Apr 2018 07:59:55 -0700 (PDT) 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=900x3mo0zc5G1Qe5b0PP0msDrU4/IgYCj9YW5AR3sd4=; b=tCM2cplUYuDUFwbAgHMElgK6V3PnGX+3xCHRDmJY0RWpwaQUyoVToc0JggdBo6bH0g WENOwj+AUqYX2r5i37V7jn2UaoWPHB7hqxRT/10enQklQCWcK7vujsrN6TVBktfF6QiT u40mAizgoW+2byDMFMWOMVX459EaH/82QxMdNQ9wBOr2gEGtAXSy8Eprle7lSdJERpRF eM9W6Jcj41BocaA8mbrqP7E939+Rm9JE7BljELc09RdrxAw7lwIFYqEoTiKYB4jr1286 B1tZjTpVatAE9eGdfDf0TcgrAt632W3N9e6/NYfaOlVtQGK0IU/u6dPEp0vh28/7lwcM l0fg== 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=900x3mo0zc5G1Qe5b0PP0msDrU4/IgYCj9YW5AR3sd4=; b=IfjRrtlrDfVOX4YSfcurmf60EIQiPgT5gcCt5yTMtRrq/5eOZ+AbCORYClVHE/fgAu bd6+xh8hZp8uMEZez4Qj0xAV5iZ4SEcRt8M4BMjt0TJh+Hz93V1nC6I0I9nY9Isjpkic wT/ydo2X9YZApgYj9skwagti7qbIu/lZbTyN6vuS/HWq/3d+IvH8Qvt+G7A8PSHHXAli Ia1P7C1RL46MNOjAmMQMwerNsqKn7Mep87a8h+toEzZ9/5vDuBV02Gu/ChbwKpOa7PVz HtH2+DswNqdJ/ojSY43e8oHBKoiAzevie31MbdxNQoIWY5RHQo7Q5DQGMllzUswQqYPF D8GQ== X-Gm-Message-State: ALQs6tB09P5+o1d5iuLlMV7I79/pT0pCk82PK2qsQ3MUSbvyB6yXid/P pBqX0was1ZKx08hqBblPT5ZVi7tN X-Google-Smtp-Source: AIpwx48L7mnnhfxzwUAg4bRihSVtU/Tt4kiR0b4JZtePJx517jWt4pZiIkXXrfEs7EjLhADC1HTV+A== X-Received: by 10.28.213.12 with SMTP id m12mr234037wmg.98.1523285993899; Mon, 09 Apr 2018 07:59:53 -0700 (PDT) Received: from 640k.lan (94-36-194-48.adsl-ull.clienti.tiscali.it. [94.36.194.48]) by smtp.gmail.com with ESMTPSA id 134sm1195166wmt.29.2018.04.09.07.59.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Apr 2018 07:59:53 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Mon, 9 Apr 2018 16:59:50 +0200 Message-Id: <1523285990-37457-1-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::233 Subject: [Qemu-devel] [PULL v2 00/20] Miscellaneous patches for QEMU 2.12-rc X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The following changes since commit 0e87fdc966d05f4e5ad868034fcd8ee2a08ca62d: Update version for v2.12.0-rc2 release (2018-04-04 20:37:20 +0100) are available in the git repository at: git://github.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to e0014d4b3a955cfd8d517674703bfa87f340290a: Add missing bit for SSE instr in VEX decoding (2018-04-09 16:36:40 +0200) ---------------------------------------------------------------- Miscellaneous bugfixes, including crash fixes from Alexey, Peter M. and Thomas. ---------------------------------------------------------------- Alexandro Sanchez Bach (1): target/i386: Fix andn instruction Bruce Rogers (1): sys_membarrier: fix up include directives Daniel Henrique Barboza (1): hw/scsi: support SCSI-2 passthrough without PI Eric Blake (2): dump: Fix build with newer gcc maint: Add .mailmap entries for patches claiming list authorship Eugene Minibaev (1): Add missing bit for SSE instr in VEX decoding Fam Zheng (1): scsi-disk: Don't enlarge min_io_size to max_io_size Justin Terry (VM) (1): target/i386: WHPX: set CPUID_EXT_HYPERVISOR bit Marc-André Lureau (1): memfd: fix vhost-user-test on non-memfd capable host Michael Chapman (1): kvmclock: fix clock_is_reliable on migration from QEMU < 2.9 Michal Privoznik (2): qemu-pr-helper: Daemonize before dropping privileges qemu-pr-helper: Write pidfile more often Paolo Bonzini (1): scsi-disk: allow customizing the SCSI version Philippe Mathieu-Daudé (1): hw/dma/i82374: Avoid double creation of the 82374 controller Roman Kagan (2): i386/hyperv: add hv-frequencies cpu property i386/hyperv: error out if features requested but unsupported Su Hang (1): scripts/checkpatch.pl: Bug fix Thomas Huth (2): configure: Add missing configure options to help text device-crash-test: Remove fixed isa-fdc entry linzhecheng (1): virtio-serial: fix heapover-flow .mailmap | 18 ++++++++--- configure | 3 ++ dump.c | 4 +-- hw/char/virtio-serial-bus.c | 7 ++-- hw/dma/i82374.c | 9 +++++- hw/i386/kvm/clock.c | 14 ++++++++ hw/scsi/scsi-disk.c | 39 ++++++++++++++++------ hw/scsi/scsi-generic.c | 48 ++++++++++++++++++++------- hw/virtio/vhost.c | 2 +- include/hw/scsi/scsi.h | 2 ++ include/qemu/memfd.h | 1 + scripts/checkpatch.pl | 15 +++++++-- scripts/device-crash-test | 1 - scsi/qemu-pr-helper.c | 18 +++++++---- target/i386/cpu.c | 1 + target/i386/cpu.h | 1 + target/i386/kvm.c | 56 ++++++++++++++++++++++++-------- target/i386/translate.c | 6 ++-- target/i386/whpx-all.c | 79 ++++++++++++++++++++++++++++++++++++++++++++- util/memfd.c | 34 ++++++++++++++++++- util/sys_membarrier.c | 6 ++-- 21 files changed, 304 insertions(+), 60 deletions(-) diff --git a/util/memfd.c b/util/memfd.c index 277f721..b3ecbac 100644 --- a/util/memfd.c +++ b/util/memfd.c @@ -202,6 +202,7 @@ bool qemu_memfd_alloc_check(void) */ bool qemu_memfd_check(void) { +#ifdef CONFIG_LINUX static int memfd_check = MEMFD_TODO; if (memfd_check == MEMFD_TODO) { @@ -215,4 +216,7 @@ bool qemu_memfd_check(void) } return memfd_check == MEMFD_OK; +#else + return false; +#endif }