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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 wrong at this point, since values
> out of range should be rejected by the XML parser.
> ---
>  src/qemu/qemu_command.c | 103 ++++++++++++++++++++++++++++--------------------
>  1 file changed, 60 insertions(+), 43 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]