search for: device_tap

Displaying 2 results from an estimated 2 matches for "device_tap".

2011 Apr 05
0
[PATCH] libxl: remove impossible check for backend != DISK_BACKEND_QDISK
...ll <ian.campbell@citrix.com> --- Maybe I''m mistaken here, since the DISK_BACKEND_TAP case can fall through, but only if !libxl__blktap_enabled. I''m not sure I understand the intention of this code to actually remove the fall-through case though. I''m not convinced DEVICE_TAP is even valid -- it seems to create a tap entry in xenstore (e.g. is a blktap1 thing). The usage in libxl_device_disk_del seems particularly dubious to me. diff -r 403080639e20 -r 281207ed3fb3 tools/libxl/libxl.c --- a/tools/libxl/libxl.c Tue Apr 05 17:26:32 2011 +0100 +++ b/tools/libxl/libxl.c Tu...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...flexarray_set(back, boffset++, libxl_sprintf(ctx, "%s:%s", + flexarray_set(back, boffset++, libxl_sprintf(&gc, "%s:%s", device_disk_string_of_phystype(disk->phystype), disk->physpath)); device.backend_kind = DEVICE_TAP; @@ -1691,19 +1804,20 @@ int libxl_device_disk_add(libxl_ctx *ctx } default: XL_LOG(ctx, XL_LOG_ERROR, "unrecognized disk physical type: %d\n", disk->phystype); - return ERROR_INVAL; + rc = ERROR_INVAL; + goto out_free;...