On 2024/08/03 1:54, Michael S. Tsirkin wrote:
On Fri, Aug 02, 2024 at 02:17:56PM +0900, Akihiko Odaki wrote:
Disable SR-IOV VF devices by reusing code to power down PCI devices
instead of removing them when the guest requests to disable VFs. This
allows to realize devices and report VF realization errors at PF
realization time.
What kind of errors do you have in mind?
The type of errors common for any SR-IOV device would be the conflict of
PCI function numbers; all function numbers that will be used by VFs
should be reserved when realizing the PF. With the SR-IOV support of
virtio-net-pci I'm adding, a user may specify invalid netdev for VFs.
Regards,
Akihiko Odaki