Re: [libvirt] [RFC] handling hostdev save/load net config for non SR-IOV devices

2019-07-18 Thread Alex Williamson
On Thu, 18 Jul 2019 17:08:23 -0400 Laine Stump wrote: > On 7/18/19 2:58 PM, Daniel Henrique Barboza wrote: > > > > On 7/18/19 2:18 PM, Laine Stump wrote: > > > >> But to back up a bit - what is it about managed='yes' that makes you > >> want to do it that way instead of managed='no'? Do you

Re: [libvirt] [RFC] handling hostdev save/load net config for non SR-IOV devices

2019-07-18 Thread Laine Stump
On 7/18/19 2:58 PM, Daniel Henrique Barboza wrote: On 7/18/19 2:18 PM, Laine Stump wrote: But to back up a bit - what is it about managed='yes' that makes you want to do it that way instead of managed='no'? Do you really ever need the devices to be binded to the host driver? Or are you just

Re: [libvirt] [RFC] handling hostdev save/load net config for non SR-IOV devices

2019-07-18 Thread Daniel Henrique Barboza
On 7/18/19 2:18 PM, Laine Stump wrote: On 7/18/19 11:56 AM, Daniel Henrique Barboza wrote: On 7/18/19 12:29 PM, Laine Stump wrote: On 7/18/19 10:29 AM, Daniel Henrique Barboza wrote: Hi, I have a PoC that enables partial coldplug assignment of multifunction PCI devices with managed mode.

Re: [libvirt] [RFC] handling hostdev save/load net config for non SR-IOV devices

2019-07-18 Thread Laine Stump
On 7/18/19 11:56 AM, Daniel Henrique Barboza wrote: On 7/18/19 12:29 PM, Laine Stump wrote: On 7/18/19 10:29 AM, Daniel Henrique Barboza wrote: Hi, I have a PoC that enables partial coldplug assignment of multifunction PCI devices with managed mode. At this moment, Libvirt can't handle this

Re: [libvirt] [RFC] handling hostdev save/load net config for non SR-IOV devices

2019-07-18 Thread Daniel Henrique Barboza
On 7/18/19 12:29 PM, Laine Stump wrote: On 7/18/19 10:29 AM, Daniel Henrique Barboza wrote: Hi, I have a PoC that enables partial coldplug assignment of multifunction PCI devices with managed mode. At this moment, Libvirt can't handle this scenario - the code will detach only the hostdevs

Re: [libvirt] [RFC] handling hostdev save/load net config for non SR-IOV devices

2019-07-18 Thread Laine Stump
On 7/18/19 10:29 AM, Daniel Henrique Barboza wrote: Hi, I have a PoC that enables partial coldplug assignment of multifunction PCI devices with managed mode. At this moment, Libvirt can't handle this scenario - the code will detach only the hostdevs from the XML, when in fact the whole IOMMU