Re: [libvirt] [REPOST PATCHv2 1/2] qemu: Check for existing hostdev address for cold attach device

2018-07-13 Thread Michal Privoznik
On 07/13/2018 02:50 PM, John Ferlan wrote: > > > On 07/09/2018 10:32 AM, Michal Privoznik wrote: >> On 07/06/2018 08:50 PM, John Ferlan wrote: >>> Prior to the hostdev being inserted in the hostdevs list, >>> add a check during qemuDomainAttachDeviceConfig to determine >>> whether the

Re: [libvirt] [REPOST PATCHv2 1/2] qemu: Check for existing hostdev address for cold attach device

2018-07-13 Thread John Ferlan
On 07/09/2018 10:32 AM, Michal Privoznik wrote: > On 07/06/2018 08:50 PM, John Ferlan wrote: >> Prior to the hostdev being inserted in the hostdevs list, >> add a check during qemuDomainAttachDeviceConfig to determine >> whether the new/incoming device is providing >> the same as some

Re: [libvirt] [REPOST PATCHv2 1/2] qemu: Check for existing hostdev address for cold attach device

2018-07-09 Thread Michal Privoznik
On 07/06/2018 08:50 PM, John Ferlan wrote: > Prior to the hostdev being inserted in the hostdevs list, > add a check during qemuDomainAttachDeviceConfig to determine > whether the new/incoming device is providing > the same as some existing hostdev on the list > and if so fail the cold attach. >

[libvirt] [REPOST PATCHv2 1/2] qemu: Check for existing hostdev address for cold attach device

2018-07-06 Thread John Ferlan
Prior to the hostdev being inserted in the hostdevs list, add a check during qemuDomainAttachDeviceConfig to determine whether the new/incoming device is providing the same as some existing hostdev on the list and if so fail the cold attach. This cannot be done during