Message ID | 20250502185652.67370-9-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:430f:0:b0:38f:210b:807b with SMTP id h15csp963584wrq; Fri, 2 May 2025 12:03:19 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWVzJcJWtk+t3kZGJtEXcLtnoMoCIUoqC9EHuiZ00nDp3SZsq8kOOWxa8EzeJMSl3TetVRGpA==@linaro.org X-Google-Smtp-Source: AGHT+IG7brGRoykdskUxQzVYoDphwizTDNOuIaHeFY7O0EXsam2SSdfjuJvr8JUc9fgdSf8EtNPs X-Received: by 2002:ad4:5ced:0:b0:6e4:6ee1:a282 with SMTP id 6a1803df08f44-6f51574cd88mr77036476d6.18.1746212599668; Fri, 02 May 2025 12:03:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746212599; cv=none; d=google.com; s=arc-20240605; b=ZotvfStkGXNe6i5AdezuUROkvAhMpV8Ubnv7C9j2/e8NstC0L8PbffoAkoI8p0wvCA Ce59rDw2FD75g11Va9fL0FGUC5AftcJA4GTggxbnvZU+ctjPrPimeQQ6uGRS4wZKyXuh TR7zDtLHgRDqun7dqjMH3NdLp+Afaee99Eu7Ib5TMEHWHue4J2LqkdJC7JhgUFhbKVBR AkKC/Z+AgJP10pYrOC6kN1+U4GFfyivoAyuObuate6RmvM/ycKzgloSArdrdae2FaeE/ TGn/F98qtwdWOAUbPWPFOHrwxoZonfj+embPA7QVv8udV8IfTHhB4gdDuGsNUiW0tK3j ezGw== 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=bJup76xViPoYlcZ6DgY2Il03anUYcrocSLmxC3mshks=; fh=zA7MiWWYdZ7nPYzFPsisQ1XfjLk8wRfRNbrxI2kr3EE=; b=h/oOk8Bw/qPZlZHhTVmPU0TFUVq8A2tP7bYU9gcoagTCax05friHw+rddGmpewY1Kv 00hQExicd/wEqDaJ5CV2W1XOAEuecCFiGHWhQMDBxDA/sCe7iBAV/uWsrjPn34TneokY LmVAETSL14eIg9+rA6WYAAqMY78y0cpTLVW6yxpy9PDhBeuQy2gJCfVsq8jhyLRKVn8n XAR5t4481daz5nszKf6+GJX/AE/Y4mm4oYgudS1tyHgFF0IfgiVBWtF8PvHURmsxK729 GrdcXa8eOxNr80r0t43Pa3RPvF8O5OVxnAXKpv1Dh80DptthkcLhJn1ly8HE3Svi1zeV F3GA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hnakHWOL; 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 6a1803df08f44-6f50f3ae219si35139976d6.38.2025.05.02.12.03.19 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 02 May 2025 12:03:19 -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=@linaro.org header.s=google header.b=hnakHWOL; 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 1uAvZz-0005Sp-3u; Fri, 02 May 2025 14:57:47 -0400 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 1uAvZx-0005PZ-JQ for qemu-devel@nongnu.org; Fri, 02 May 2025 14:57:45 -0400 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) 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 1uAvZv-0005UW-Um for qemu-devel@nongnu.org; Fri, 02 May 2025 14:57:45 -0400 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-5f624291db6so3623086a12.3 for <qemu-devel@nongnu.org>; Fri, 02 May 2025 11:57:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746212262; x=1746817062; 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=bJup76xViPoYlcZ6DgY2Il03anUYcrocSLmxC3mshks=; b=hnakHWOLYk2WSEY+1dgT1PIWStT/daysp4VTectjn05QDT0j3ShXb0gkt2TBvyQ9Q1 ZFDfEtua/d+iOKC67pIXfJK5buU93OtqbV86fMkEC9V6bFaH/VgK8hYk+S3Tpc/U3Q2/ kagaVo12QVyofsYrKyxoOVnDv7DPvKY4vVBx+zLRVppKTrIRpf6YaoR5FhU8iQXBx+sa zN98NcFqhOmW+b6nuX1S4OB1cP0KXbcSsdjOFjgccMBdPwSJKcHg9rTDvKYzsHKdgrht BOff37dGrhXGuom4f/ygevuKXqZrq0RqA25QJTglHdOuGDmLA7GEtKE2XQ476ocPzv6o Dfog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746212262; x=1746817062; 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=bJup76xViPoYlcZ6DgY2Il03anUYcrocSLmxC3mshks=; b=IIb5/97HgqSC6j9N16NYYPYbNXoYw0QXGrjbZ+INs9edfaItoN5s6HVyooAGVtVpg3 qNT6lKLZHVxuzLWL/ZPgx6/hjC8GlXWT5hqRRAPcRucXrwmDdeuYblUPFP0qDpzYsGK2 wqQu2gTzsLLt3jTf4+N872+C1/yWshbrMfqcb3GjJKnOqv45Qs/uZOfKJgofrXhPVoXA tEl5HncSz4bDGdyzrPj7YwuQDDcA8ihPIQM6pABfm0HUdg3F8FAiNe0CChVu6YBXLpNA 6pPSJUpgFR5dRmuHOfRi/EEMx2UmmKxEF66R9PeYPHOGsIOFLTfKT7amDT+kDWF5730Q 94mw== X-Gm-Message-State: AOJu0YzPA5tIW3zV4rnCu75+fC24eOHdKt91YC0pujhfSNAJG+HITRdy x1pZ/SWET0LYCBOxkCjYMi75EwTgKtJeM7zMSIdec3IGOZxSF3Nl26xjw2KXpKtSDyNAEopRByq 9 X-Gm-Gg: ASbGnctdreAbYKNE+SxEa9KUQm6JtSSGakTq16HWHliv2ZZOlrFne4M/cFh9Aj4kaxS 10pmnW9U8x7xQP+Lneu0TpU6iNEJMXVPVBYgo7A+5OD1yl1rOPFQW88B1s3dgJ3ia9xbblB1+p6 VvM2+ynDfLegvzc5ILSbQX0tsg4j0AuW2al7Qa2opTYAbMrX0QC5nW1BghnMp633sveZMWT2BbC 7lSo+aD0agTB/orwAyTCXE7xQefGpc+1tC0HUtmU6nO1I5m2xKVeZHxD8dc9T3zs4oD8t/70t4v Z/PCRzp1rUx7cnpqLA05jeQzFNIZNoQeXnsONaM9eksmvZhqVsVSaKQDZd7vjcLdBzjYUrf0zep uMQjYVqGB1V2uJoOqKULMGn5MSLUb4Sg= X-Received: by 2002:a05:6402:270b:b0:5f6:ace4:9fa6 with SMTP id 4fb4d7f45d1cf-5fa7804467bmr3246373a12.16.1746212261963; Fri, 02 May 2025 11:57:41 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5fa777561basm1617455a12.9.2025.05.02.11.57.40 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 02 May 2025 11:57:41 -0700 (PDT) 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>, Laurent Vivier <lvivier@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Huacai Chen <chenhuacai@kernel.org>, Amit Shah <amit@kernel.org>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Sergio Lopez <slp@redhat.com>, Ani Sinha <anisinha@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Jason Wang <jasowang@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Gerd Hoffmann <kraxel@redhat.com>, =?utf-8?q?Cl=C3=A9ment_Mathieu--Drif?= <clement.mathieu--drif@eviden.com>, Zhao Liu <zhao1.liu@intel.com>, =?utf-8?q?Marc-Andr=C3=A9_Lureau?= <marcandre.lureau@redhat.com>, Yi Liu <yi.l.liu@intel.com>, "Michael S. Tsirkin" <mst@redhat.com>, Mark Cave-Ayland <mark.caveayland@nutanix.com> Subject: [PATCH v3 08/19] hw/intc/apic: Remove APICCommonState::legacy_instance_id field Date: Fri, 2 May 2025 20:56:40 +0200 Message-ID: <20250502185652.67370-9-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250502185652.67370-1-philmd@linaro.org> References: <20250502185652.67370-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::52f; envelope-from=philmd@linaro.org; helo=mail-ed1-x52f.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 |
hw/i386/pc: Remove deprecated 2.6 and 2.7 PC machines
|
expand
|
diff --git a/include/hw/i386/apic_internal.h b/include/hw/i386/apic_internal.h index 429278da618..db6a9101530 100644 --- a/include/hw/i386/apic_internal.h +++ b/include/hw/i386/apic_internal.h @@ -188,7 +188,6 @@ struct APICCommonState { uint32_t vapic_control; DeviceState *vapic; hwaddr vapic_paddr; /* note: persistence via kvmvapic */ - bool legacy_instance_id; uint32_t extended_log_dest; }; diff --git a/hw/intc/apic_common.c b/hw/intc/apic_common.c index 37a7a7019d3..1d259b97e63 100644 --- a/hw/intc/apic_common.c +++ b/hw/intc/apic_common.c @@ -294,9 +294,6 @@ static void apic_common_realize(DeviceState *dev, Error **errp) info->enable_tpr_reporting(s, true); } - if (s->legacy_instance_id) { - instance_id = VMSTATE_INSTANCE_ID_ANY; - } vmstate_register_with_alias_id(NULL, instance_id, &vmstate_apic_common, s, -1, 0, NULL); @@ -412,8 +409,6 @@ static const Property apic_properties_common[] = { DEFINE_PROP_UINT8("version", APICCommonState, version, 0x14), DEFINE_PROP_BIT("vapic", APICCommonState, vapic_control, VAPIC_ENABLE_BIT, true), - DEFINE_PROP_BOOL("legacy-instance-id", APICCommonState, legacy_instance_id, - false), }; static void apic_common_get_id(Object *obj, Visitor *v, const char *name,