Re: [libvirt] [PATCH v4 3/3] bhyve: implement PCI address allocation

2014-05-17 Thread Roman Bogorodskiy
Ján Tomko wrote: > > +for (i = 0; i < def->ncontrollers; i++) { > > +if (def->controllers[i]->type == VIR_DOMAIN_CONTROLLER_TYPE_PCI) { > > +if (def->controllers[i]->info.type != > > VIR_DOMAIN_DEVICE_ADDRESS_TYPE_NONE) > > +continue; > > +if

Re: [libvirt] [PATCH v4 3/3] bhyve: implement PCI address allocation

2014-05-13 Thread Roman Bogorodskiy
Ján Tomko wrote: > On 05/11/2014 08:48 AM, Roman Bogorodskiy wrote: > > Automatically allocate PCI addresses for devices instead > > of hardcoding them in the driver code. The current > > allocation schema is to dedicate an entire slot for each devices. > > > > > Also, allow having arbitrary n

Re: [libvirt] [PATCH v4 3/3] bhyve: implement PCI address allocation

2014-05-13 Thread Ján Tomko
On 05/11/2014 08:48 AM, Roman Bogorodskiy wrote: > Automatically allocate PCI addresses for devices instead > of hardcoding them in the driver code. The current > allocation schema is to dedicate an entire slot for each devices. > > Also, allow having arbitrary number of devices. I think this ca

[libvirt] [PATCH v4 3/3] bhyve: implement PCI address allocation

2014-05-10 Thread Roman Bogorodskiy
Automatically allocate PCI addresses for devices instead of hardcoding them in the driver code. The current allocation schema is to dedicate an entire slot for each devices. Also, allow having arbitrary number of devices. --- po/POTFILES.in | 1 + src/Makefil