[libvirt] [PATCH] qemu: Check for existing hostdev address for cold attach device

2018-06-06 Thread John Ferlan
https://bugzilla.redhat.com/show_bug.cgi?id=1559867 Add a check if the incoming with specified already exists and if so fail the attach. Signed-off-by: John Ferlan --- src/qemu/qemu_driver.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_drive

Re: [libvirt] [PATCH] qemu: Check for existing hostdev address for cold attach device

2018-06-11 Thread Ján Tomko
On Wed, Jun 06, 2018 at 10:44:10AM -0400, John Ferlan wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1559867 Add a check if the incoming with specified already exists and if so fail the attach. Looking at the reproducer steps, the bug talks about libvirt auto-generating a duplicate addr

Re: [libvirt] [PATCH] qemu: Check for existing hostdev address for cold attach device

2018-06-12 Thread John Ferlan
On 06/11/2018 10:42 AM, Ján Tomko wrote: > On Wed, Jun 06, 2018 at 10:44:10AM -0400, John Ferlan wrote: >> https://bugzilla.redhat.com/show_bug.cgi?id=1559867 >> >> Add a check if the incoming with specified >> already exists and if so fail the attach. >> > > Looking at the reproducer steps,