Re: [PATCH] conf: Remove the actual hostdev when removing a network

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

 



On 09/03/2013 09:29 AM, Peter Krempa wrote:
> Commit 50348e6edfa reused the code to remove the hostdev portion of a
> network definition on multiple places but forgot to take into account
> that sometimes the "actual" network is passed and in some cases the
> parent of that.
> 
> This patch uses the virDomainNetGetActualHostdev() helper to acquire the
> correct pointer all the time while removing the hostdev portion from the
> list.
> ---
>  src/conf/domain_conf.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 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]