[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can xenfv-4.2 be removed nowadays?
- To: Daniel P. Berrangé <berrange@xxxxxxxxxx>
- From: Philippe Mathieu-Daudé <philmd@xxxxxxxxxxxxxxxx>
- Date: Thu, 3 Dec 2026 08:32:56 +0100
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=qcppdkim1 header.d=qualcomm.com header.i="@qualcomm.com" header.h="Cc:Content-Transfer-Encoding:Content-Type:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=google header.d=oss.qualcomm.com header.i="@oss.qualcomm.com" header.h="Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:Cc:To:Content-Language:Subject:User-Agent:MIME-Version:Date:Message-ID"
- Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Thomas Huth <thuth@xxxxxxxxxx>, QEMU Developers <qemu-devel@xxxxxxxxxx>, "Edgar E. Iglesias" <edgar.iglesias@xxxxxxxxx>, Anthony PERARD <anthony@xxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Thu, 03 Dec 2026 07:33:09 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 3/12/26 00:27, Stefano Stabellini wrote:
On Tue, 1 Dec 2026, Daniel P. Berrangé wrote:
On Mon, Nov 30, 2026 at 04:28:12PM -0800, Stefano Stabellini wrote:
Compared to the regular i440fx machine type the only differences
appear to be
m->max_cpus = HVM_MAX_VCPUS;
m->default_machine_opts = "accel=xen,suppress-vmdesc=on";
The default_machine_opts are just syntax sugar, iow, from an machine
ABI point of view
-M xenfv-4.2
would be functionally identical to
-M pc-i440fx-4.2,suppress-vmdesc=on -accel xen
The 'max_cpus' field is used to provide error checking on the -smp
value, and I would have thought the Xen mgmt tools would already
sanity check the CPU count before launching QEMU.
Unless I'm missing something else that's significant about 'xenfv',
it feels like it is redundant and the Xen tools could be updated
to use the standard pc-i440fx machine types, allowing us to phase
out 'xenfv', after a suitable time has passed to allow updated
Xen tools to deploy across the ecosystem.
- TYPE_IGD_PASSTHROUGH_I440FX_PCI_DEVICE is used when
xen_igd_gfx_pt_enabled() is true,
- xen_igd_reserve_slot(pcms->pcibus) called,
- pci_create_simple(pcms->pcibus, -1, "xen-platform") called.
We need to add "-device xen-platform" to the new command line.
No clue how to setup the IGD passthrough host bridge / slot reservation.
|