From nobody Mon Feb 9 09:34:53 2026 Delivered-To: importer@patchew.org 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; 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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578486893; cv=none; d=zohomail.com; s=zohoarc; b=X84+e6hRDeiEjmpLT7olf1D8owQtZI0Ds8MNF4ChRrH5RYuwNc6gVcRFIJUATPZcWD06lZTVCq4cIPP/vbbKCzFzEBZwj6Um9UU830pt0pbUk75xByCQYjl/fw1XcV0pkqH3C8M6uhPHnofVVANv+v5IiHcUtQBr+v4emPDx0Fc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578486893; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=UqcGASlTCMJvprrArRFDwqMRetNCkLLbCVZeMkPWPJg=; b=SGcOSiMPTo/M/eUi6679sqXpdy7yCEUuHj34kLKjn2p2aOqLyRsO5C5htt50jf17N93eLPpY0Ec+PIybdrgTk1z4CsUDZrhKU8mihwEdKZVSYfPSrYktqceScnsayINvzmA1oE0Jy0LW/8Kmtge8MQM8ys1yZZ+frPVswZfVlhg= 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 1578486893143716.1266939987241; Wed, 8 Jan 2020 04:34:53 -0800 (PST) Received: from localhost ([::1]:42806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipAXz-0005SQ-UI for importer@patchew.org; Wed, 08 Jan 2020 07:34:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60208) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipAWE-0003ZT-Ha for qemu-devel@nongnu.org; Wed, 08 Jan 2020 07:33:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipAWD-0004Cu-Fc for qemu-devel@nongnu.org; Wed, 08 Jan 2020 07:33:02 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:54053) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipAWD-0004CT-A5 for qemu-devel@nongnu.org; Wed, 08 Jan 2020 07:33:01 -0500 Received: by mail-wm1-x32f.google.com with SMTP id m24so2289955wmc.3 for ; Wed, 08 Jan 2020 04:33:01 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id o4sm4037750wrw.97.2020.01.08.04.32.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jan 2020 04:32:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=UqcGASlTCMJvprrArRFDwqMRetNCkLLbCVZeMkPWPJg=; b=RdP17KFj2BiPki7Bf5fmZctgh+lPGAjGZEPJvapioRSAPV6h28o/7eSDbSqXDoTJq/ ftKdNYpL5FXE9XFQ5TTVAAdu2WRedc0mmGkoPYS/eKX8FbOiX3vNs81yJ0SBKHpGV57K 7LPIaUtyCVih9nv4t9r6M79EWWCGmhLObIoVSciECgprZxjzUB5NZSzT59n9YXtYZraL ONVOMj2d6GUOAP7DCnnuHdCNrQpRzPS1tRj5H5GL+EgKPrgf5bcWffCFBU61dg0CddJ+ wGoXBl3TLCtAcVXJxuW+kQpaWazo04AspqqblzeKGlVvDuePxC+6TsbZds0c0naVe+VM YqZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=UqcGASlTCMJvprrArRFDwqMRetNCkLLbCVZeMkPWPJg=; b=fBck4D3UkEDOW+QCDNx9KmXs3dimwml5y8HTMJjSGCfqvnNCaqeaSGVWl+IRONIT61 EqPp7VBCbb7H9YblG2mC8yLnsTYQqS/O3jeN/Q9Ru7VNcadfHK2ctoICoqvfbzCSGHUY riRDib7Fr3QodbMNX69SROqSdsHb0bEOSeOTdr+UdLGjg2Ge28l+QLvQQDUAQu5lnoHK M2SJW8lsb3Cda+nsNLUhJtvF4fos9OqDJ4Rzs8zzRgBmU/EcCl0kaj7j/Li2BcmGcX+K Y4XLAZ4zjg+Tv0wpT+mcPaAehQSMFuVTd8IU1VNC0KZ4+kx+XLf+lJ0SbgYkZH3jOxt/ JAJQ== X-Gm-Message-State: APjAAAWRZDZGbkPQ27aOw9w3/6CY0PZuPgc5NS9yqh07uY3f/+AC29Ou 52e3wSUBKoeJtJs2upLGJQpSljAr X-Google-Smtp-Source: APXvYqxmicQnUXWkSI7oXTTYVPD73FLc7DvpqSJtd9QpksqCGH5Mew0avrk3DwUrRj+s16tw1KLYRA== X-Received: by 2002:a1c:720a:: with SMTP id n10mr3522271wmc.74.1578486780149; Wed, 08 Jan 2020 04:33:00 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 03/38] hw: fix using 4.2 compat in 5.0 machine types for i440fx/q35 Date: Wed, 8 Jan 2020 13:32:20 +0100 Message-Id: <1578486775-52247-4-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1578486775-52247-1-git-send-email-pbonzini@redhat.com> References: <1578486775-52247-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32f 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: Denis Plotnikov Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Denis Plotnikov 5.0 machine type uses 4.2 compats. This seems to be incorrect, since the latests machine type by now is 5.0 and it should use its own compat or shouldn't use any relying on the defaults. Seems, like this appeared because of some problems on merge/rebase. Signed-off-by: Denis Plotnikov Reviewed-by: Cornelia Huck Reviewed-by: Igor Mammedov Message-Id: <20191223072856.5369-1-dplotnikov@virtuozzo.com> Signed-off-by: Paolo Bonzini --- hw/i386/pc_piix.c | 1 - hw/i386/pc_q35.c | 1 - 2 files changed, 2 deletions(-) diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 721c7aa..fa12203 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -425,7 +425,6 @@ static void pc_i440fx_5_0_machine_options(MachineClass = *m) m->alias =3D "pc"; m->is_default =3D 1; pcmc->default_cpu_version =3D 1; - compat_props_add(m->compat_props, hw_compat_4_2, hw_compat_4_2_len); } =20 DEFINE_I440FX_MACHINE(v5_0, "pc-i440fx-5.0", NULL, diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 52f4573..84cf925 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -354,7 +354,6 @@ static void pc_q35_5_0_machine_options(MachineClass *m) pc_q35_machine_options(m); m->alias =3D "q35"; pcmc->default_cpu_version =3D 1; - compat_props_add(m->compat_props, hw_compat_4_2, hw_compat_4_2_len); } =20 DEFINE_Q35_MACHINE(v5_0, "pc-q35-5.0", NULL, --=20 1.8.3.1