[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 5/5] vpci: add SR-IOV support for DomUs


  • To: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jason Andryuk <jason.andryuk@xxxxxxx>
  • Date: Mon, 19 Oct 2026 20:19:37 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=epam.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=S7LrlnJ/bLEiNsjpojKGtMT9OmPmnZ1EUDUytplQVGg=; b=cNV07n5pKBk6rI+qozrvPbru6Sz3BTJu3c4FR25YlhxnUqy7TxeF95fs4Natytdviy5jweujW9AvDOAE89fA3D0f4DEUbQtHqYroreSbqwu7TfJFED5xgHkMFUkcmQUSNEtPSQkQOP51G+cbPGj3b6hMPlcxjOCdFmcumhBaBKlUOWUaXsxJNWQqSsw37kU//rVjVmxB/XCVhyijC2DGBS8TGpCeaCnYQD33hs0fgK1a4LE/TaVwnm7jCyxHOT+TsnwlRgIhwed7IXQZsuI6LjHsDtrlfqWr6ejAIiCIDm4MQhMWJKguVsoEMnCCMHpwqnJQ6GWhM2dqAeaz7wCA8Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=bhyJcQd7+enHhmQexFsICoPyMGhkP9eGAA0MjVBoHaifNsy8sjD2qowTG/t5w/+2n1W6mDaJ9UEH6aaLnH5my1lKPwT9VRneLlU0vzIGNasD27kq+B8VTXY5R6VjNmguXqkBW0AxnR5zE4wsOqVgR0BqTjsHnTDXg3mRX8jBruSoSTCiiUknn9fZJTq3Mi0+1t4Hm/UeSV8p1f8YvKYiIWYGvJH/pfy9Akt/AqsO3SHE5zNf9TSdQLfb0+7PnibGa0upIR6Ah4KdYHBs0DiDbYrve5zf+6jm4WPyxr3BGVuRlRVznXGIHu0+3bz/5fPS+I6JFjaa0crSAnA1AjYI1w==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=amd.com header.i="@amd.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
  • Cc: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>, Roger Pau Monné <roger@xxxxxxxxxxxxxx>
  • Delivery-date: Tue, 20 Oct 2026 00:20:04 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 2026-10-15 10:08, Mykyta Poturai wrote:
From: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>

Emulate guest BAR register values based on PF BAR values for VFs.
This allows creating a guest view of the normal BAR registers and emulates
the size and properties as it is done during PCI device enumeration by
the guest.

Expose VID/DID and class/revision to the guest.

Note, that VFs ROM BAR is read-only and is all zeros, but VF may provide
access to the PFs ROM via emulation and is not implemented.

Note this only removes one of the gaps on the way to vPCI DomU support;
VFs are not usable in DomUs until the rest of it is upstream. The DomU
testing behind this patch used out-of-tree vPCI DomU patches.

Signed-off-by: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
Signed-off-by: Mykyta Poturai <mykyta_poturai@xxxxxxxx>
Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>

Thanks,
Jason



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.