From nobody Sun Feb 8 14:52:51 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1592391874; cv=none; d=zohomail.com; s=zohoarc; b=iofZtD4v7au8xo4fudOmN7kxZEmie0zHyE4Ny+5yViGN6aJ/xunoLf7YmTvE7dTgYZlYN28nGkERpOZfsjYv+stm+2M6tme7sioR2DrQwHBiW1MwbJb/zJFQT9T8kbvOKBgJkcCX2E6UsUsgbfr/2Y2SS3iaLokaH2SzRf7lwxg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592391874; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=aWndGdqKa1SXKyQPqVUUIP7N2TD8jiKpi3mQeXOmyP4=; b=KZ68s6gHHMjg79c535XVK62pshVfGDeHyVvRm4/mxZgW87ItPqO7ONmSEDVzc2pGZBwn++yap2UdjrNpt78u87sWI8PLKOh/Ku87nEFGSHQO2slI5nRM/pL2CdGScZUwinX22jBm6PiDpNz1uDV1qN7omvr/Kk+opYK5qYnp7ZI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1592391874590917.4860776070038; Wed, 17 Jun 2020 04:04:34 -0700 (PDT) Received: from localhost ([::1]:43912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlVrr-0006Z8-B5 for importer@patchew.org; Wed, 17 Jun 2020 07:04:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlVqn-0005hu-3f for qemu-devel@nongnu.org; Wed, 17 Jun 2020 07:03:25 -0400 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]:43330) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jlVqj-0005K1-6d for qemu-devel@nongnu.org; Wed, 17 Jun 2020 07:03:24 -0400 Received: by mail-ej1-x632.google.com with SMTP id l12so1825748ejn.10 for ; Wed, 17 Jun 2020 04:03:20 -0700 (PDT) Received: from jondnuc.lan (IGLD-84-229-154-20.inter.net.il. [84.229.154.20]) by smtp.gmail.com with ESMTPSA id dc8sm11835806edb.10.2020.06.17.04.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2020 04:03:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aWndGdqKa1SXKyQPqVUUIP7N2TD8jiKpi3mQeXOmyP4=; b=AQ2GPuzsHTqzdWni5s5QrcH5jcix2loohMgEFs0s1hFEh1HXwnjeoH2yhVbVwaYWP3 YUMUjySxlhwxfh7XDfhnDnplpJKHJTexVIy118Ol9uwp5mkpCHFaqD0/NNACz2Y25JUb 1SLR7BGnoxG72fTKnBl813L1KFC54Y45oEO/+Ju0a5kA2U07ZGZghOWCRhObrujkDrlG whyybPbuTbRsjDorQWfPl5XOjPQx0d4EqYtqdvo9waN2epuASPMexzy16X3i2G+vrIr4 S4XTJ3kY8UoduKmh7Zqd6RkPGdo+yzsyVdpuPIIyf/ixo5Kfw9WFa9o1th78NUM/qGpQ W/5w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=aWndGdqKa1SXKyQPqVUUIP7N2TD8jiKpi3mQeXOmyP4=; b=L90AyhktcyfeyfBbW81CK0W3Xcx29BUn++0qDuKj6Yj1FdOv7YjyW9YlTlmXScPBrN k9XmwbJVtkHj4CmdSbC5eVbBBbXuv7pPN+L7MhiCjj3l9txw6ogV9+BI5sGpaZgY2quG R198yza3haM0/7WukJkONDtcqUtiqbSh6gsHNDEBf1CwePafF9BD/dzfQl9ggHnfROsR dBprCD8+ZVxoZpGXULVf9rXHXUaNFDHL1KnBlXz0aBzhijYwlhX7JuB2WmrokKwfE9cu 5HbjA2OyYLzNakSgl4XNqO9iTT9jK73IyEcZgDBjyDRWq7d2PBf9Reb+b6lRdh9X3/ei uaCA== X-Gm-Message-State: AOAM530p/qcFDqHdkuOTe4rzz0LhjVhPT8bzhaidTh8k6if4OF/K6bg4 +6BVpL1OGN4TJDZ6e6KUDwbibu8r X-Google-Smtp-Source: ABdhPJwuciFZHnxFyuULjk3xpPQhZHmQZXHFQ2Xse4FreETfV68NLUuTZZHMXxyiAOxSUhwCnjFreg== X-Received: by 2002:a17:906:3499:: with SMTP id g25mr6813904ejb.518.1592391799100; Wed, 17 Jun 2020 04:03:19 -0700 (PDT) From: Jon Doron To: qemu-devel@nongnu.org Subject: [PATCH v1 1/3] hyperv: vmbus: Remove the 2nd IRQ Date: Wed, 17 Jun 2020 14:03:02 +0300 Message-Id: <20200617110304.636666-2-arilou@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617110304.636666-1-arilou@gmail.com> References: <20200617110304.636666-1-arilou@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=arilou@gmail.com; helo=mail-ej1-x632.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN 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: , Cc: mail@maciej.szmigiero.name, Jon Doron , rvkagan@yandex-team.ru, imammedo@redhat.com, pbonzini@redhat.com, vkuznets@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" It seems like Windows does not really require 2 IRQs to have a functioning VMBus. Signed-off-by: Jon Doron --- hw/hyperv/vmbus.c | 1 - hw/i386/acpi-build.c | 2 -- include/hw/hyperv/vmbus-bridge.h | 1 - 3 files changed, 4 deletions(-) diff --git a/hw/hyperv/vmbus.c b/hw/hyperv/vmbus.c index f371240176..1a3738a03b 100644 --- a/hw/hyperv/vmbus.c +++ b/hw/hyperv/vmbus.c @@ -2742,7 +2742,6 @@ static const VMStateDescription vmstate_vmbus_bridge = =3D { =20 static Property vmbus_bridge_props[] =3D { DEFINE_PROP_UINT8("irq0", VMBusBridge, irq0, 7), - DEFINE_PROP_UINT8("irq1", VMBusBridge, irq1, 13), DEFINE_PROP_END_OF_LIST() }; =20 diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 900f786d08..dce680e97c 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -1083,8 +1083,6 @@ static Aml *build_vmbus_device_aml(VMBusBridge *vmbus= _bridge) =20 crs =3D aml_resource_template(); aml_append(crs, aml_irq_no_flags(vmbus_bridge->irq0)); - /* FIXME: newer HyperV gets by with only one IRQ */ - aml_append(crs, aml_irq_no_flags(vmbus_bridge->irq1)); aml_append(dev, aml_name_decl("_CRS", crs)); =20 return dev; diff --git a/include/hw/hyperv/vmbus-bridge.h b/include/hw/hyperv/vmbus-bri= dge.h index c0a06d832c..0369dabc03 100644 --- a/include/hw/hyperv/vmbus-bridge.h +++ b/include/hw/hyperv/vmbus-bridge.h @@ -20,7 +20,6 @@ typedef struct VMBusBridge { SysBusDevice parent_obj; =20 uint8_t irq0; - uint8_t irq1; =20 VMBus *bus; } VMBusBridge; --=20 2.24.1