Re: [libvirt] [PATCH 15/15] conf: nodedev: Update PCI mdev capabilities dynamically

2018-01-26 Thread Michal Privoznik
On 01/25/2018 10:24 AM, Erik Skultety wrote: > Just like SRIOV, a PCI device is only capable of the mediated devices > framework when it's bound to the vendor native driver, thus if a driver > change occurs, e.g. vendor_native->vfio, we need to refresh some of the > device's capabilities to reflect

[libvirt] [PATCH 15/15] conf: nodedev: Update PCI mdev capabilities dynamically

2018-01-25 Thread Erik Skultety
Just like SRIOV, a PCI device is only capable of the mediated devices framework when it's bound to the vendor native driver, thus if a driver change occurs, e.g. vendor_native->vfio, we need to refresh some of the device's capabilities to reflect the reality, mdev included. Signed-off-by: Erik Sku