Skip to content
  • Alex Williamson's avatar
    47985727
    vfio/pci: Fixup v0 PCIe capabilities · 47985727
    Alex Williamson authored
    
    
    Intel 82599 VFs report a PCIe capability version of 0, which is
    invalid.  The earliest version of the PCIe spec used version 1.  This
    causes Windows to fail startup on the device and it will be disabled
    with error code 10.  Our choices are either to drop the PCIe cap on
    such devices, which has the side effect of likely preventing the guest
    from discovering any extended capabilities, or performing a fixup to
    update the capability to the earliest valid version.  This implements
    the latter.
    
    Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
    47985727
    vfio/pci: Fixup v0 PCIe capabilities
    Alex Williamson authored
    
    
    Intel 82599 VFs report a PCIe capability version of 0, which is
    invalid.  The earliest version of the PCIe spec used version 1.  This
    causes Windows to fail startup on the device and it will be disabled
    with error code 10.  Our choices are either to drop the PCIe cap on
    such devices, which has the side effect of likely preventing the guest
    from discovering any extended capabilities, or performing a fixup to
    update the capability to the earliest valid version.  This implements
    the latter.
    
    Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
Loading