Re: [PATCH v3] vfio/pci: Introduce x-pci-class-code option

2025-07-14 Thread Cédric Le Goater
On 7/8/25 16:52, Tomita Moeko wrote: Introduce x-pci-class-code option to allow users to override PCI class code of a device, similar to the existing x-pci-vendor-id option. Only the lower 24 bits of this option are used, though a uint32 is used here for determining whether the value is valid and

Re: [PATCH v3] vfio/pci: Introduce x-pci-class-code option

2025-07-14 Thread Alex Williamson
On Tue, 8 Jul 2025 22:52:11 +0800 Tomita Moeko wrote: > Introduce x-pci-class-code option to allow users to override PCI class > code of a device, similar to the existing x-pci-vendor-id option. Only > the lower 24 bits of this option are used, though a uint32 is used here > for determining whet

[PATCH v3] vfio/pci: Introduce x-pci-class-code option

2025-07-08 Thread Tomita Moeko
Introduce x-pci-class-code option to allow users to override PCI class code of a device, similar to the existing x-pci-vendor-id option. Only the lower 24 bits of this option are used, though a uint32 is used here for determining whether the value is valid and set by user. Additionally, to ensure