Message ID | 20221018133042.856368-5-pbonzini@redhat.com |
---|---|
State | Accepted |
Commit | 8b5335e381e7fd7554a65c6d591875ade1cea062 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp2637771pvb; Tue, 18 Oct 2022 06:42:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7TzemadoHkT6b2kggHkM0D60VO5y5QeQlHjK1+9B9C+JmfcztAEJdZ3VmYdo0bgTjDWKKS X-Received: by 2002:ae9:ea07:0:b0:6cb:be2e:a183 with SMTP id f7-20020ae9ea07000000b006cbbe2ea183mr1846814qkg.586.1666100547332; Tue, 18 Oct 2022 06:42:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666100547; cv=none; d=google.com; s=arc-20160816; b=XcgvHV/66erdGbA8H5DRSmrMnB0NN0hxMF0HWlaZ9qx59kgZAcYxIou63NhiinUch5 Ke00Aio+basF4aWJ8+WaiKIJ5nabd3ZnSQBhehzZUVl9pFQEtxPdLq4PXeHpeoNqG9TH rKISKbYI43d9Ie++lf7e5NngM3wglCT24lVMMZk1DOHC9b/7ExW55r1F3bdkzMd8EM2o POWEuOxLy7x0ftJho/VzrtDqg1U9p9mlUhqg6Ib/UA/AUemCrWu9K/yuFGe9PpH1f7zr VrnpGOqTiLJcloTt8oJHGT2CplmM/aeq3TOGMouh9TEJYrtRnsFvvCzgMS0YHRE3+0OP j5Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=SoCij7i/9X4juBWaniX6jsRov2N8yHMFa3Jfri+4JLA=; b=Vh1XKSsydvHvloh0BiuqiQCsaNAahISkYP/YOQJ3FrukUcGZ/JZDh3b+/v9CyTItRb fEfGtN5quzLgsepB+QGIjL8rrl3k4JWYFgTI6b2KawWQ/UtGfR2D5MdObQp0IHOWuioS XIKhruefeGkyxSNgsQnGsDAwnNMbiPXtskThFjPxGw0cFKyAkdlppsSU11t8c7dLPgKH bqbSdroIqphUXJOpo3oCZmgkirimDX3grwZSCvEfUFSYC1ag49qRQ6tzRnmcaK2SPuNc 5xWx+ImbCohPW7Bkixs9L8anADbj2LHFqfZDnmN4A5WcVizKxmIgev6mc0nrrJTazXoG Jy9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Y59DM32P; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id cd13-20020a05622a418d00b0039ce1d56329si5342659qtb.88.2022.10.18.06.42.27 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Oct 2022 06:42:27 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Y59DM32P; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:43570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1okmrS-0002UG-IV for patch@linaro.org; Tue, 18 Oct 2022 09:42:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <pbonzini@redhat.com>) id 1okmge-0002K6-NS for qemu-devel@nongnu.org; Tue, 18 Oct 2022 09:31:23 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:60043) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <pbonzini@redhat.com>) id 1okmgV-0004z2-DB for qemu-devel@nongnu.org; Tue, 18 Oct 2022 09:31:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666099866; 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: in-reply-to:in-reply-to:references:references; bh=SoCij7i/9X4juBWaniX6jsRov2N8yHMFa3Jfri+4JLA=; b=Y59DM32PnwEp+D8JIoFK+Task/ECAFXDsJOS8DmcotZzB9zTorW3dZhQGWYcnP8vDhntRi m+o+bDPOK5g7Zpq9HdN7DANu2LFcz9Flc7qQNXBOMXpUbY84tzWtoZlbAID8pz2yyf5cAL DiKq1i0/NYbGFv+72l5dPez7huG2i6k= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-498-ff6AnEJHN6SbRmjXwgU5Vw-1; Tue, 18 Oct 2022 09:31:04 -0400 X-MC-Unique: ff6AnEJHN6SbRmjXwgU5Vw-1 Received: by mail-ed1-f71.google.com with SMTP id z20-20020a05640240d400b0045cec07c3dcso11493953edb.3 for <qemu-devel@nongnu.org>; Tue, 18 Oct 2022 06:31:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SoCij7i/9X4juBWaniX6jsRov2N8yHMFa3Jfri+4JLA=; b=VgKRNTcw+Z7MJM7kMRyQwb7eW1npgtO4rJWhFTLi9yN+qMDy9amu/ZmE5iUcNqOje7 DEeF3vQSXuLn8kmOsD7V3rNdW9Dl/vNuzyBd1SU09dEQPTdpLOuNSTLTh4JirfZta85v 4e55mmW//wqFn+zdtnLTaF0cDRUePIEQAYiTn/dxhlSb7sJEgpgPoy1Ux5fB3culjyum v44AeoelpnkmWM2vA2aV6zqMuS9titC0z7nX6tCVv2MjNk1fw5eJkXNMCQp5DaR/QNO9 zF/rJvIy5tU5HOz0dXUTGuKoJopvJC0c53wE7nkNEQYb3UPm60PEs8Iy2mZrCXHLlAnp qpzQ== X-Gm-Message-State: ACrzQf0fzYQSbj94TMecSeF8vaF1HJVjQjpWf4S14etzdUvAtz5zyQan kYlQ6D2y/FNbtm1uEZDKvB/KjTJAJsBHkopeLtBjOwAicOUyvun5KAafBGWVtNHFhlc1FpQB5cg pZaYcvJe+DI/QvaiAb6mJ0aSbDX7Bzwyg13zUbrjvbfo6mnIODeLj8jZIc2x9UnMBFfk= X-Received: by 2002:a17:906:8b81:b0:78e:1cb:e411 with SMTP id nr1-20020a1709068b8100b0078e01cbe411mr2346758ejc.681.1666099861844; Tue, 18 Oct 2022 06:31:01 -0700 (PDT) X-Received: by 2002:a17:906:8b81:b0:78e:1cb:e411 with SMTP id nr1-20020a1709068b8100b0078e01cbe411mr2346735ejc.681.1666099861519; Tue, 18 Oct 2022 06:31:01 -0700 (PDT) Received: from avogadro.local ([2001:b07:6468:f312:2f4b:62da:3159:e077]) by smtp.gmail.com with ESMTPSA id k13-20020a17090627cd00b0077826b92d99sm7587315ejc.12.2022.10.18.06.30.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 06:31:00 -0700 (PDT) From: Paolo Bonzini <pbonzini@redhat.com> To: qemu-devel@nongnu.org Cc: Peter Maydell <peter.maydell@linaro.org> Subject: [PULL 04/53] hw/scsi/vmw_pvscsi.c: Use device_cold_reset() to reset SCSI devices Date: Tue, 18 Oct 2022 15:29:53 +0200 Message-Id: <20221018133042.856368-5-pbonzini@redhat.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221018133042.856368-1-pbonzini@redhat.com> References: <20221018133042.856368-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.256, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
None
|
expand
|
diff --git a/hw/scsi/vmw_pvscsi.c b/hw/scsi/vmw_pvscsi.c index 3ea2c8c9f2..fa76696855 100644 --- a/hw/scsi/vmw_pvscsi.c +++ b/hw/scsi/vmw_pvscsi.c @@ -880,7 +880,7 @@ pvscsi_on_cmd_reset_device(PVSCSIState *s) if (sdev != NULL) { s->resetting++; - device_legacy_reset(&sdev->qdev); + device_cold_reset(&sdev->qdev); s->resetting--; return PVSCSI_COMMAND_PROCESSING_SUCCEEDED; }