Re: [libvirt] [PATCH 4/5] macvtap support for libvirt -- helper code

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

 




"Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote on 02/08/2010 12:03:53 PM:


>
> This method can be removed, since it is just duplicating the
> functionality of the code generated by the VIR_ENUM_DECL
> declaration in the XML parsing code you have.
>

I will probably have to have a translation function to convert the integers to the enums understood by the driver.

> > +create_name:
> > +        retries = 5;
> > +        for (c = 0; c < 255; c++) {
>
> This that an abslute limit on number of MACVTAP devices, or can we
> raise this somewhat higher ?  We recently had to remove a similarly
> low hardcoded limit in number of plain TAP devices. If we cna make
> this 1024 or more, that'd be great


I don't think there is such a limit. I will raise the number to 1024 or higher.

Thanks and regards,
    Stefan
--
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]