Message ID | 20241231202228.28819-19-philmd@linaro.org |
---|---|
State | Accepted |
Commit | 924e1be17571968f81ef0bde87729678c201df21 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp7090109wrq; Tue, 31 Dec 2024 12:25:56 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXGmwf/6/ZnlZLAMw3XVkM/Z8I2QjCvvjIWu+GCsMWlV81mhJw/RuewkdI1psg3oMKBzyM5Hg==@linaro.org X-Google-Smtp-Source: AGHT+IFzEeq4YuWaYvbeV8ZCekhH5UZQXOD+cmFIrjiTfD/07s9ATKL1OZiKcrgLylVrBCa8v7Y7 X-Received: by 2002:a05:620a:4104:b0:7ac:bc66:5efb with SMTP id af79cd13be357-7b9aaad5e1fmr6880287485a.27.1735676756427; Tue, 31 Dec 2024 12:25:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735676756; cv=none; d=google.com; s=arc-20240605; b=bcBYTsCVxSqIS7fvoRXmlRp6XjUDAOC9JBbPh2zh024ugJf30xMhj0TOqmpS8AY6jB b8zQ8A5r+U6g83ckY+K4dNhP3bofc0tDOskKkjEfIPBZwaqGkkcA4ZhlDn/jut4ILeAp cSz7MgEkBWIJHgIdIwEZzG1fT5NGaybO4hPa6+EruwcwbMxAy6R/itE+0eM/NBa44F1M FTqJjzu6nnieVE5y+kOtrfxHZ5PX9MOmO23s8Shr+lqi4qZ/5uNvDJgq4YXgiwtMTxzA KxfAcjLRWo/RGsukIEU8kxp5OhUv7zNABLHXOrvQcu2bdnZbWWybVJscHYVz0LqxsXSa lafg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=qFV9r81Ea/Fg1ZQ98Ka7pViQ6qvJe57bkPT4B6LFdHo=; fh=9WRnyL38aYsp8aAc4GCnnt6DPSS3ieJwiF5wkNbWJXc=; b=NchAt2OqX3f1/8xuYiSdZnRpiAifAXASPJLNibaSKQbIXN8pmpWso+SImhCh6Ns2SF VzI/aeDBX1ANpiVdtmribEWBZvE7Hf1oUfnJgisxzLe9X4RUQ1Zo8pefrC2KEqqmKqrE +YQSBf+iW28o6kaDl3VkgLwS6kpT2cB1e805H7XEuctx8mPqT/hJRQr19bT4NtSIBnWB aT/q7kYtE+PUZIumBP4vtwR0P/hPHVepMFEcT9357wYyrXHefDmE+xGXf7vqlxMn2nkd KaIsxottuEDG2vsOFr1O73JfZUJ3JSpJLMUfkViNBgy3dpV2eFK3byGV16MOyqmfkdPn nxIw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rRJQ3mOv; 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=linaro.org; dara=neutral header.i=@linaro.org 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 af79cd13be357-7b9ac53e6e1si3038417085a.645.2024.12.31.12.25.56 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 31 Dec 2024 12:25:56 -0800 (PST) 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=@linaro.org header.s=google header.b=rRJQ3mOv; 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=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tSimZ-0005Oc-Im; Tue, 31 Dec 2024 15:24:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tSimX-0005Av-9v for qemu-devel@nongnu.org; Tue, 31 Dec 2024 15:24:01 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tSimV-0000vv-K5 for qemu-devel@nongnu.org; Tue, 31 Dec 2024 15:24:00 -0500 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-38a25d4b9d4so3523092f8f.0 for <qemu-devel@nongnu.org>; Tue, 31 Dec 2024 12:23:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735676637; x=1736281437; darn=nongnu.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=qFV9r81Ea/Fg1ZQ98Ka7pViQ6qvJe57bkPT4B6LFdHo=; b=rRJQ3mOvb9k+6p+Joh5Xec44VhFiRyuTPV3v+PFy7eW0Sk8WNHVrlBQ6eLiRSFrXzi u2lcCjCDaimXi44vlFWUXwvo8DX9ay9Vb6Vmx2e6kApStbQSJ8jJb3FMpJniZhZzyYSG tTA4M6NU6eIvfwAfHM2No+O/VyfM57TaZVg6a8kD3Lxx5HqUvfcToKlIjAfNvhNASEuW jkbahCHs5r3dZElmdxTj+r3JfNlycsCEzvYUerN7YIKSWla33ta1BcpcOWdbKSj6Tqjg e4q7OO8qrcD8zOVZUyw5Sh5VR7yBfyHk/9wLIn+hxmohK3CJnYu/XE11WUfqLg0QkfN0 P8Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735676637; x=1736281437; 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=qFV9r81Ea/Fg1ZQ98Ka7pViQ6qvJe57bkPT4B6LFdHo=; b=mkz75J4o+w/qqnVuAchEZRtbAFI8+ZWgbuBgRvCx2JEsvCYLdiN44ftdYsQV5pK5t3 xzE75n2OAW8TunTTWnQ6W4pF7HWbSVnBybq84CkdXVvtj4p7PaxdB4Z52FCe1lLuLPVj CEX8xUfGRmL7brHq/HpCV9OesRKMSZPbHERCRJh3meKLE7E0DdMCwtAyc7nLbZdLOWV3 OLubkJpiAYB0XHjIIJrIkAwXwYCawBjTLIT9EU5UP9KqWUEOFpiilwAvwM9tn4WGXyAb 1LTGkOyoZeQ6tRjvFILSrHMfX/Gox+WlV9RYHKLMS/wzikndSbWuT0y2ie7jMDLP3HKz xFkw== X-Gm-Message-State: AOJu0YwIEkuMAr76WKlsQF3eszjj+pSsRpHBQGZEZoZbT/5DfAIFuUnj 82c609So+DnbNmPgAwvH3kVQiUG37j1czgXhMs5gXg9XaNh/Ff5ve1L9xuFMZr+4ZN/DretaHlf 7Qkw= X-Gm-Gg: ASbGncuVsyI2k5vM2BJWfRiKeyWce951nrx/9p04HAp/rOpuCKyYgYgWq6dcXoiZypp sQwZlQxrC63+HknrrUj9lXh8tHWTwaOUoiOag/ZM+IDTtxAjqtEfess6OaczKkTyYbEt49pv6ix CLqC+pEpwe5RxyJLxK7ZbY7abq7nK83+5FN2IDbTBR66aWVtZFhxr4uP733unjnXUS9UBV+5ze6 Tr2DtbujMwdA8mTz7mOB6mkJZtYbGbYCIzpOfD8LeWEMaY1Lxh4ykhP1KjTnUwyHQHUuR5nrnBM IYucsMRu8AKjDWx+wtJ2+CM5uw1OcFM= X-Received: by 2002:a5d:6da1:0:b0:386:4a0c:fe17 with SMTP id ffacd0b85a97d-38a2220039fmr33339788f8f.27.1735676637556; Tue, 31 Dec 2024 12:23:57 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8a6ca5sm34389184f8f.86.2024.12.31.12.23.56 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 31 Dec 2024 12:23:56 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, =?utf-8?q?D?= =?utf-8?q?aniel_P=2E_Berrang=C3=A9?= <berrange@redhat.com> Subject: [PULL 18/29] hw/misc/vmcoreinfo: Rename opaque pointer as 'opaque' Date: Tue, 31 Dec 2024 21:22:17 +0100 Message-ID: <20241231202228.28819-19-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241231202228.28819-1-philmd@linaro.org> References: <20241231202228.28819-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=philmd@linaro.org; helo=mail-wr1-x42e.google.com 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, RCVD_IN_DNSWL_NONE=-0.0001, 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-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/29] hw/pci-host/gpex: Allow more than 4 legacy IRQs
|
expand
|
diff --git a/hw/misc/vmcoreinfo.c b/hw/misc/vmcoreinfo.c index 31073c8de2a..b1fcc22e92b 100644 --- a/hw/misc/vmcoreinfo.c +++ b/hw/misc/vmcoreinfo.c @@ -18,17 +18,17 @@ #include "migration/vmstate.h" #include "hw/misc/vmcoreinfo.h" -static void fw_cfg_vmci_write(void *dev, off_t offset, size_t len) +static void fw_cfg_vmci_write(void *opaque, off_t offset, size_t len) { - VMCoreInfoState *s = VMCOREINFO(dev); + VMCoreInfoState *s = opaque; s->has_vmcoreinfo = offset == 0 && len == sizeof(s->vmcoreinfo) && s->vmcoreinfo.guest_format != FW_CFG_VMCOREINFO_FORMAT_NONE; } -static void vmcoreinfo_reset(void *dev) +static void vmcoreinfo_reset(void *opaque) { - VMCoreInfoState *s = VMCOREINFO(dev); + VMCoreInfoState *s = opaque; s->has_vmcoreinfo = false; memset(&s->vmcoreinfo, 0, sizeof(s->vmcoreinfo)); @@ -65,7 +65,7 @@ static void vmcoreinfo_realize(DeviceState *dev, Error **errp) * This device requires to register a global reset because it is * not plugged to a bus (which, as its QOM parent, would reset it). */ - qemu_register_reset(vmcoreinfo_reset, dev); + qemu_register_reset(vmcoreinfo_reset, s); vmcoreinfo_state = s; }