Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12BDA606A31A for ; Tue, 1 Dec 2026 00:28:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Dvz/gyVC Received: from list by lists.xenproject.org with outflank-mailman.1508174.1701137 (Exim 4.92) (envelope-from ) id 1xYBjH-0006xy-G8; Tue, 01 Dec 2026 00:28:19 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1508174.1701137; Tue, 01 Dec 2026 00:28:19 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xYBjH-0006xq-DD; Tue, 01 Dec 2026 00:28:19 +0000 Received: by outflank-mailman (input) for mailman id 1508174; Tue, 01 Dec 2026 00:28:17 +0000 Received: from mx.expurgate.net ([194.145.224.20]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xYBjF-0006xk-D4 for xen-devel@lists.xenproject.org; Tue, 01 Dec 2026 00:28:17 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1xYBjE-003JV5-IX for xen-devel@lists.xenproject.org; Tue, 01 Dec 2026 01:28:16 +0100 Received: from [10.42.69.8] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6b0e147d-8faa-0a2a0a5109dd-0a2a4508c34e-28 for ; Tue, 01 Dec 2026 01:28:16 +0100 Received: from [172.105.4.254] (helo=tor.source.kernel.org) by tlsNG-c1860d.mxtls.expurgate.net with ESMTPS (eXpurgate 4.57.1) (envelope-from ) id 6b0e149f-f659-0a2a45080019-ac6904fe972e-3 for ; Tue, 01 Dec 2026 01:28:16 +0100 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id B4EAB600CF; Tue, 1 Dec 2026 00:28:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 859181F00893; Tue, 1 Dec 2026 00:28:13 +0000 (UTC) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Post: List-Help: List-Subscribe: , Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=k20260515 header.d=kernel.org header.i="@kernel.org" header.h="Date:From:To:cc:Subject:In-Reply-To:References" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796084894; bh=XM9dBzmtv/iOF4jKEZnedaXLlQ2VkU0vFrL5yICEvVQ=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=Dvz/gyVCCwxdvOSjA7lY9+hoajfBJscpLwznhcjLbWBeIFWqRZqHSYVje4okdIDNt Hh3989DSYBlJcd1qXUubLM27om1ZlcuTS7N48UArvpym/8vko8wn4WnFSbLf7UvOkX wwCwM1UxlSS4mmMRNZGQ7qUFKOlAuSGlNuK3CyWFFiqn1kllmbnT26efy9mn6kzKXH z7E7TTvqZk/AAStN6A4ps3rrdX54mtP8oVeCOmNhXn8uRBTyMEG2hm0BNXVMUIBJ+j UD0rWYPJIWYR/kQeSUUq2HmHVeZ4kCzZkj3wWKj0MTIlVzP7yl1IZ9+PLDsH0IX4D/ NXt7pt+4y6yHw== Date: Mon, 30 Nov 2026 16:28:12 -0800 (PST) From: Stefano Stabellini To: Thomas Huth cc: QEMU Developers , Stefano Stabellini , "Edgar E. Iglesias" , Anthony PERARD , "Daniel P. Berrange" , xen-devel@lists.xenproject.org Subject: Re: Can xenfv-4.2 be removed nowadays? In-Reply-To: <7b691889-f9a9-48bd-b671-af3f44cb97a7@redhat.com> Message-ID: <9649c8f9-0eec-a812-85d6-f858f5ac11b8@kernel.org> References: <7b691889-f9a9-48bd-b671-af3f44cb97a7@redhat.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-purgate-ID: tlsNG-c1860d/1796084896-CCB7187B-39770FBD/0/0 X-purgate-type: clean X-purgate-size: 1460 X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 +xen-devel On Fri, 27 Nov 2026, Thomas Huth wrote: > Hi! > > As you might know, since a couple of releases, QEMU has the policy to treat > all versioned machine types older than 6 years as obsolete and disables them > automatically. The code then can be removed. > > This week, I started looking into removing the code of the old pc-q35-4.2 and > pc-i440fx-4.2 machine types - but I got stuck with the "xenfv-4.2" machine > since this is still calling the pc_i440fx_machine_4_2_options() function. > > Being a Xen ignorant, this was quite confusing for me: Why is there this old > "xenfv-4.2" machine, but not a newer one? Is it still used, or could it be > removed nowadays, too? Or if it could not get removed completely, could it get > replaced by a newer variant or non-versioned machine type instead? Upstream Xen (libxl) does not use versioned machine types: it always passes "-machine xenfv". From that point of view, xenfv-4.2 as such could be removed. However, since the removal of xenfv-3.1, "xenfv" is an alias of xenfv-4.2 (see 6ccf1e73fc). If we remove xenfv-4.2, "xenfv" goes away with it and HVM guests started by libxl fail with: qemu-system-i386: unsupported machine type: "xenfv" So xenfv-4.2 cannot simply be dropped, but we could turn it into a non-versioned machine type. It would need to keep the current 4.2 properties so that live migration and save/restore of existing guests keep working.