[libvirt] [PATCH v2 04/11] qemu: move PCI address check out of qemuPCIAddressAsString

2013-04-17 Thread Ján Tomko
Create a new function qemuPCIAddressValidate and call it everywhere the user might supply an incorrect address: * qemuCollectPCIAddress for domain definition * qemuDomainPCIAddressEnsureAddr and ReleaseSlot for hotplug Slot and function shouldn't be wrong at this point, since values out of range

Re: [libvirt] [PATCH v2 04/11] qemu: move PCI address check out of qemuPCIAddressAsString

2013-04-17 Thread Eric Blake
On 04/17/2013 01:00 PM, Ján Tomko wrote: Create a new function qemuPCIAddressValidate and call it everywhere the user might supply an incorrect address: * qemuCollectPCIAddress for domain definition * qemuDomainPCIAddressEnsureAddr and ReleaseSlot for hotplug Slot and function shouldn't be