Re: [libvirt] [PATCHv2] qemu: Fix PCI address allocation

2010-08-04 Thread Daniel Veillard
On Tue, Aug 03, 2010 at 03:17:01PM -0600, Eric Blake wrote: > From: Jiri Denemark > > When attaching a PCI device which doesn't explicitly set its PCI > address, libvirt allocates the address automatically. The problem is > that when checking which PCI address is unused, we only check for those >

[libvirt] [PATCHv2] qemu: Fix PCI address allocation

2010-08-03 Thread Eric Blake
From: Jiri Denemark When attaching a PCI device which doesn't explicitly set its PCI address, libvirt allocates the address automatically. The problem is that when checking which PCI address is unused, we only check for those with slot number higher than the highest slot number ever used. Thus a