Re: [PATCH] qemu: fix netdev alias name assignment wrt type='hostdev'

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

 



On 06/01/2012 10:51 AM, Laine Stump wrote:
> This patch resolves:
> 
>    https://bugzilla.redhat.com/show_bug.cgi?id=827519
> 
> The problem is that an interface with type='hostdev' will have an
> alias of the form "hostdev%d", while the function that looks through
> existing netdevs to determine the name to use for a new addition will
> fail if there's an existing entry that does not match the form
> "net%d".
> 
> This is another of the handful of places that need an exception due to
> the hybrid nature of <interface type='hostdev'> (which is not exactly
> an <interface> or a <hostdev>, but is both at the same time).
> ---
>  src/qemu/qemu_command.c |    5 +++++
>  1 file changed, 5 insertions(+)

ACK.  Patches like these are deceptive - so short to code, but so long
to find root cause :)

-- 
Eric Blake   eblake@xxxxxxxxxx    +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]