[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3 of 5 V2] tools/libxl: setup/teardown Remus network buffering
On Wed, Sep 4, 2013 at 8:17 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
The list of nics returned by libxl__device_nic_list is not managed by the gc. So at every exit point in the main functions, there has to be extra code to free up the invididual
nics in the list and the list itself. In contrast, with the current approach, all allocations are under the gc's purview. The list of nics are released immediately after creating the array of vifnames.
This seemed to eliminate redundant error handling logic and keeps the code simpler. I'll also add checks for backend_domid!=0 to this function, to ensure that Remus works only for domains
with no driver domain backed interfaces. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |