[libvirt] [PATCH] conf: reject controllers with duplicate indexes

2013-04-25 Thread Ján Tomko
Reject multiple controllers with the same index, except for USB controllers. Multi-function USB controllers can have the same index. --- src/conf/domain_conf.c | 59 ++ 1 file changed, 59 insertions(+) diff --git a/src/conf/domain_conf.c

Re: [libvirt] [PATCH] conf: reject controllers with duplicate indexes

2013-04-25 Thread Eric Blake
On 04/25/2013 05:41 AM, Ján Tomko wrote: Reject multiple controllers with the same index, except for USB controllers. Multi-function USB controllers can have the same index. --- Compared to the earlier version you posted as patch 6/5 on the pci patches, you changed to a stack allocation of

Re: [libvirt] [PATCH] conf: reject controllers with duplicate indexes

2013-04-25 Thread Ján Tomko
On 04/25/2013 04:36 PM, Eric Blake wrote: On 04/25/2013 05:41 AM, Ján Tomko wrote: Reject multiple controllers with the same index, except for USB controllers. Multi-function USB controllers can have the same index. --- Compared to the earlier version you posted as patch 6/5 on the pci