From patchwork Mon Jan 11 15:20:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 12010943 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=-19.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,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 05518C433E0 for ; Mon, 11 Jan 2021 15:20:59 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 A07BF225AC for ; Mon, 11 Jan 2021 15:20:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A07BF225AC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.64948.114882 (Exim 4.92) (envelope-from ) id 1kyyzg-0003dx-Tx; Mon, 11 Jan 2021 15:20:32 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 64948.114882; Mon, 11 Jan 2021 15:20:32 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kyyzg-0003dq-QV; Mon, 11 Jan 2021 15:20:32 +0000 Received: by outflank-mailman (input) for mailman id 64948; Mon, 11 Jan 2021 15:20:31 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kyyzf-0003dl-6H for xen-devel@lists.xenproject.org; Mon, 11 Jan 2021 15:20:31 +0000 Received: from us-smtp-delivery-124.mimecast.com (unknown [216.205.24.124]) by us1-rack-iad1.inumbo.com (Halon) with ESMTP id c35c0fa3-74b8-4a94-89fa-4708d838c4c6; Mon, 11 Jan 2021 15:20:29 +0000 (UTC) Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-285-wb_J_ZdHMcCabYFR_w4mJA-1; Mon, 11 Jan 2021 10:20:25 -0500 Received: by mail-ej1-f70.google.com with SMTP id m11so24969ejr.20 for ; Mon, 11 Jan 2021 07:20:25 -0800 (PST) Received: from x1w.redhat.com (129.red-88-21-205.staticip.rima-tde.net. [88.21.205.129]) by smtp.gmail.com with ESMTPSA id y17sm7157263ejj.84.2021.01.11.07.20.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 07:20:23 -0800 (PST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: c35c0fa3-74b8-4a94-89fa-4708d838c4c6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610378429; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LM7AeLfQEqrU558zvQoXSQweJ4vkeUX1kaefzrhoJho=; b=YkxYGwGWOYWNGfrisMetuHVhx16PugXSCwnmAKLWECv7I5Db5amGX9G4uRIUxmWLNFob2O nlLcbkXXop51mSD7Euk/y56iL2CTxGAQkrWBi7I2/vIvpoy6qZJE+WXcEXb52O6No9vOIi 3hV6dTsl8N81WeTn7wisiJ1oC854wvI= X-MC-Unique: wb_J_ZdHMcCabYFR_w4mJA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ucd06r2eJPcCIqt9QCTk/uw4j4Vi5AVfWPojlXh2MWo=; b=llkQM5S/D8a/cVHFJr6vkg358/oS8RMmLd8EZCLBJnv/RmcONaUzqTTdKvEfIEmpN7 cd3zfXOkR6zN5+a8Q48+k5xzyRg+klAbcdIQ2QSRdaggd0DQzWcVV0d4WVBvHeKHDsEw Cjhc11X/XTsqaeeFA5Dzho2ElSwSvxM2i0X/IAgNHBL2t+m8d2fVmjyIYtlZWZ+ZD8MW K3HBE8TiVIuCtaFF3ngCyRDnQ1HKwSteFwtBSJBpD/erU8uijYWS+SJMZ3H8mQruTmZX +3YkKOvZBvWRfDqFOTlhgYT4EeIJxKClpwFzUbLnZLxvZbMpKbX43LbSAC87vNUOWeJp BWow== X-Gm-Message-State: AOAM533/vgalUVhiAgz0DBlgJCF9d0BH9HDzuT+/rBxPfSVcG3TSRZqs W6h8cBZ45dNyTBVqyIx2S4BFR6yEorqyYT1H6oJwdFZYkxiT+yahcm5pfT6Uf5RS1sKWfitV/FQ CrxG0DStopRd/hVQ58o++vIUGbkU= X-Received: by 2002:a17:907:e9e:: with SMTP id ho30mr11282837ejc.529.1610378424338; Mon, 11 Jan 2021 07:20:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJywxJElqigN/5jUO+VSUtxZXH9MfGPzYtOFdIcNPFnX2mDokjoLqsfHorN2m3Haq800FJrUjA== X-Received: by 2002:a17:907:e9e:: with SMTP id ho30mr11282789ejc.529.1610378424080; Mon, 11 Jan 2021 07:20:24 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Huacai Chen , Greg Kurz , "Michael S. Tsirkin" , qemu-trivial@nongnu.org, Amit Shah , Dmitry Fleytman , qemu-arm@nongnu.org, John Snow , qemu-s390x@nongnu.org, Paul Durrant , Anthony Perard , Eduardo Habkost , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Gerd Hoffmann , Kevin Wolf , Marcelo Tosatti , Max Reitz , Alex Williamson , Aurelien Jarno , Aleksandar Rikalo , Marcel Apfelbaum , Jason Wang , Peter Maydell , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Halil Pasic , Fam Zheng , qemu-ppc@nongnu.org, Paolo Bonzini , kvm@vger.kernel.org, Stefano Stabellini , xen-devel@lists.xenproject.org, Cornelia Huck , David Hildenbrand , qemu-block@nongnu.org, Christian Borntraeger , Sunil Muthuswamy , David Gibson , Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= , Laurent Vivier , Thomas Huth , Stefan Hajnoczi , Jiaxun Yang Subject: [PATCH 0/2] sysemu: Let VMChangeStateHandler take boolean 'running' argument Date: Mon, 11 Jan 2021 16:20:18 +0100 Message-Id: <20210111152020.1422021-1-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Trivial prototype change to clarify the use of the 'running' argument of VMChangeStateHandler. Green CI: https://gitlab.com/philmd/qemu/-/pipelines/239497352 Philippe Mathieu-Daudé (2): sysemu/runstate: Let runstate_is_running() return bool sysemu: Let VMChangeStateHandler take boolean 'running' argument include/sysemu/runstate.h | 12 +++++++++--- target/arm/kvm_arm.h | 2 +- target/ppc/cpu-qom.h | 2 +- accel/xen/xen-all.c | 2 +- audio/audio.c | 2 +- block/block-backend.c | 2 +- gdbstub.c | 2 +- hw/block/pflash_cfi01.c | 2 +- hw/block/virtio-blk.c | 2 +- hw/display/qxl.c | 2 +- hw/i386/kvm/clock.c | 2 +- hw/i386/kvm/i8254.c | 2 +- hw/i386/kvmvapic.c | 2 +- hw/i386/xen/xen-hvm.c | 2 +- hw/ide/core.c | 2 +- hw/intc/arm_gicv3_its_kvm.c | 2 +- hw/intc/arm_gicv3_kvm.c | 2 +- hw/intc/spapr_xive_kvm.c | 2 +- hw/misc/mac_via.c | 2 +- hw/net/e1000e_core.c | 2 +- hw/nvram/spapr_nvram.c | 2 +- hw/ppc/ppc.c | 2 +- hw/ppc/ppc_booke.c | 2 +- hw/s390x/tod-kvm.c | 2 +- hw/scsi/scsi-bus.c | 2 +- hw/usb/hcd-ehci.c | 2 +- hw/usb/host-libusb.c | 2 +- hw/usb/redirect.c | 2 +- hw/vfio/migration.c | 2 +- hw/virtio/virtio-rng.c | 2 +- hw/virtio/virtio.c | 2 +- net/net.c | 2 +- softmmu/memory.c | 2 +- softmmu/runstate.c | 4 ++-- target/arm/kvm.c | 2 +- target/i386/kvm/kvm.c | 2 +- target/i386/sev.c | 2 +- target/i386/whpx/whpx-all.c | 2 +- target/mips/kvm.c | 4 ++-- ui/gtk.c | 2 +- ui/spice-core.c | 2 +- 41 files changed, 51 insertions(+), 45 deletions(-) Reviewed-by: Stefan Hajnoczi