Displaying 4 results from an estimated 4 matches for "libxl__blktap_en".
2011 Apr 05
0
[PATCH] libxl: remove impossible check for backend != DISK_BACKEND_QDISK
...r backend != DISK_BACKEND_QDISK
In this case we are already in the DISK_BACKEND_QDISK case of a switch
statement on the same variable.
Signed-off-by: Ian Campbell <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 du...
2012 Nov 07
4
[PATCH 1/2] 4.1.2 blktap2 cleanup fixes.
...t tap_ctl_free(const int minor);
diff -r 700d0f03d50a tools/libxl/libxl_blktap2.c
--- a/tools/libxl/libxl_blktap2.c Mon Oct 29 09:04:48 2012 +0100
+++ b/tools/libxl/libxl_blktap2.c Tue Nov 06 19:52:48 2012 -0600
@@ -18,6 +18,8 @@
#include "tap-ctl.h"
+#include <string.h>
+
int libxl__blktap_enabled(libxl__gc *gc)
{
const char *msg;
@@ -30,12 +32,13 @@ const char *libxl__blktap_devpath(libxl_
{
const char *type;
char *params, *devname = NULL;
- int minor, err;
+ tap_list_t tap;
+ int err;
type = libxl__device_disk_string_of_format(format);
- minor = tap...
2011 Sep 21
1
[PATCH] libxl: attempt to cleanup tapdisk processes on disk backend destroy
...onst int minor);
diff -r 206afa070919 -r b43fd821d1ae tools/libxl/libxl_blktap2.c
--- a/tools/libxl/libxl_blktap2.c Wed Sep 21 13:59:24 2011 +0100
+++ b/tools/libxl/libxl_blktap2.c Wed Sep 21 13:59:24 2011 +0100
@@ -18,6 +18,8 @@
#include "tap-ctl.h"
+#include <string.h>
+
int libxl__blktap_enabled(libxl__gc *gc)
{
const char *msg;
@@ -30,12 +32,13 @@ char *libxl__blktap_devpath(libxl__gc *g
{
const char *type;
char *params, *devname = NULL;
- int minor, err;
+ tap_list_t tap;
+ int err;
type = libxl__device_disk_string_of_format(format);
- minor = tap...
2011 Jun 02
48
[PATCH 0/9] libxl: disk configuration handling
This is v3 of my disk series. What were previously patches 01-06 have
been applied. These are the tested and updated remainder, addressing
the previous comments.
1 Preparatory work.
2-4 The new parser and its documentation.
5-6 Replace old parsers with calls to the new one.
7-8 Two features, one of them essential.
9 Basic test suite for disk string parsing, as adhoc script.