From patchwork Tue Nov 14 14:38:03 2023 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: 13455440 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A72DB4174A for ; Tue, 14 Nov 2023 14:39:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kkz1o2z2" Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8151A173B for ; Tue, 14 Nov 2023 06:39:08 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-9d2e7726d5bso856318166b.0 for ; Tue, 14 Nov 2023 06:39:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699972747; x=1700577547; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=oo2mmHUNt8cswMDm2G2tk7NYG50Leech1RMDbe0XTgw=; b=kkz1o2z2Itu6yTNcz2cpsDUKbOT1Oal2bSvG7/AoCCAxyUdTVoPrLs56ysvardQxgZ ILTV1GLLpNI4jwCcQuzwhbd7fTEqfzHX9OGBSxA0z3UQRLXqEDbIfqoxHjF9N7mNP4xh npKNFUedNQNTfJjA5SWFxYA2KTu3aqeAkqtsNnUy0qg3H94JJiTfBGU8lBoB6Xlu6tFI PZNMeWe3Kbkx7gKJ5bGEyNGBFwPAig8zNsh6FJmcrer4xqQJsJv3XUFtmzufQxuWXHXX tLm8oeT1yPGn9x+DBixfBLESLk5lO/S+vCgw9wJCcKXiWBhNOTIUEIpUD0a82Q0KE2Lq 7Yxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699972747; x=1700577547; 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=oo2mmHUNt8cswMDm2G2tk7NYG50Leech1RMDbe0XTgw=; b=Mx0wJ1AlDTpFYHF2MZbSRTbnZsQKDDaqoO8dGofKOgDVaJa5pWM6R1NdmaBcCbIv15 ovtVq8NEjZ3DxYrI3VK1vuve8FjbFHP4kspQj/bVk3XVMv903e0BUj2p776ugqG+Suq0 OpvAF22382xuQ3afe1Fqpnn3Wm6nfdYg4f27EWa81bU9vj1imL1f1T0v/4kbGqufO0Zd 9oDaTqobxdPSEEFAVg+O0spLhkXLtNEfIprL4fd13BwIJ05vMlr3UzjGfSEXBvpGqB6J ii5Pqoz1xoFlw/N4B2Dn/hCNXUVnBwljQfE3TcGUlNn5Q5JET8p0ofENRMXdU/o0JMC8 Cu7w== X-Gm-Message-State: AOJu0YwoAWh9REP+9AuEZAvYa7ZmFKeKZhLRWa8zp7ywWmfYKvm6htcC D7OapTlyRf01PnzFaZZxpWijIg== X-Google-Smtp-Source: AGHT+IFJHEre72B5jboKAaroDeSDmy2A+msHyepV3IUCtazYitevtMIyD1yfonucyI3qP3HjOGn0kg== X-Received: by 2002:a17:906:45a:b0:9c7:56ee:b6e5 with SMTP id e26-20020a170906045a00b009c756eeb6e5mr6778901eja.40.1699972747032; Tue, 14 Nov 2023 06:39:07 -0800 (PST) Received: from m1x-phil.lan (cac94-h02-176-184-25-155.dsl.sta.abo.bbox.fr. [176.184.25.155]) by smtp.gmail.com with ESMTPSA id m13-20020a170906234d00b00997e00e78e6sm5591697eja.112.2023.11.14.06.39.05 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 14 Nov 2023 06:39:06 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: David Woodhouse , qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Paul Durrant , qemu-arm@nongnu.org, Paolo Bonzini , David Woodhouse , Stefano Stabellini , Richard Henderson , xen-devel@lists.xenproject.org, qemu-block@nongnu.org, Anthony Perard , kvm@vger.kernel.org, Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH-for-9.0 v2 07/19] hw/xen: Remove unnecessary xen_hvm_inject_msi() stub Date: Tue, 14 Nov 2023 15:38:03 +0100 Message-ID: <20231114143816.71079-8-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231114143816.71079-1-philmd@linaro.org> References: <20231114143816.71079-1-philmd@linaro.org> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Since commit 04b0de0ee8 ("xen: factor out common functions") xen_hvm_inject_msi() stub is not required. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: David Woodhouse --- stubs/xen-hw-stub.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/stubs/xen-hw-stub.c b/stubs/xen-hw-stub.c index 7d7ffe83a9..6cf0e9a4c1 100644 --- a/stubs/xen-hw-stub.c +++ b/stubs/xen-hw-stub.c @@ -24,10 +24,6 @@ int xen_set_pci_link_route(uint8_t link, uint8_t irq) return -1; } -void xen_hvm_inject_msi(uint64_t addr, uint32_t data) -{ -} - int xen_is_pirq_msi(uint32_t msi_data) { return 0;