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

2025-05-27 Thread Alex Williamson
On Sat, 24 May 2025 23:31:02 +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

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

2025-05-24 Thread Tomita Moeko
On 5/24/25 23:31, 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 va

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

2025-05-24 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. This is mainly intended