Displaying 10 results from an estimated 10 matches for "tapdev".
Did you mean:
tap_dev
2012 Jan 07
2
Linux Container and Tapdev
...evel
virtualization.
With the previous knowledge of tapdisk, I have an assumption that, I may could
use the vhd for each container to seperate the storage of all containers, or even in
later days, vhd is stored in distributed storage, container could be migrated.
Build filesystem on tapdev and mount it under some directory, put the rootfs of
container into that dir, and start the lxc, I haven''t try this, will try later.
I post my idea here, hope someone has one forsee comments.
Thanks.
--_03bf71ed-babc-49bf-a771-6d6657d47ac6_
Content-Ty...
2012 Nov 07
4
[PATCH 1/2] 4.1.2 blktap2 cleanup fixes.
...nst 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_ctl_find_minor(type, disk);
- if (minor >= 0) {
- devname = libxl__sprintf(gc, "/dev/xen/blktap-2/tapdev%d", minor);
+ err = tap_ctl_find(type, disk, &tap);
+ if (err == 0) {
+ devname = libxl__sprintf(gc, "/dev/xen/blktap-2/tapdev%d", tap.minor);
if (devname)
return devname;
}
@@ -49,3 +52,28 @@ const char *libxl__blktap_devpath(libxl_...
2017 Oct 10
3
tunnel device name acquisition?
...using ssh, e.g.:
ssh -f -o Tunnel=ethernet <server_ip> true
I was wondering if there's a way to subsequently acquire the names
of the local and remote tun/tap interfaces (e.g., using the default
"-w any:any") for subsequent automatic tunnel configuration, e.g.:
ip link set $TapDev up
ip link set $TapDev master <client-or-server-side-bridge>
Most examples out there pick something silly like "-w 5:5" then
proceed to configure the hard-coded "tap5" on both client and server.
However, that's unreliable -- what if "tap5" is already in use...
2012 Jan 13
0
How many block device in domU supports?
Hi:
I''ve been thought this for a while, I want to build 1000 linux containeres in a HVM,
and each container owns 1 block device, so there will 1000 tapdev and 1000 tapdisk
process.
My question is
1. How many devices domU support?
2. How many tapdev device blktap2 support?
3, Would it be a performance issue in this case?
4. Basically, I want each container''s data is write to different VHD file, since...
2010 Aug 13
4
[PATCH] xl: Make blktap support optional
Make blktap support optional.
Enable it by default on Linux, disable it on non-Linux.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen,
2011 Sep 21
1
[PATCH] libxl: attempt to cleanup tapdisk processes on disk backend destroy
...nst 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_ctl_find_minor(type, disk);
- if (minor >= 0) {
- devname = libxl__sprintf(gc, "/dev/xen/blktap-2/tapdev%d", minor);
+ err = tap_ctl_find(type, disk, &tap);
+ if (err == 0) {
+ devname = libxl__sprintf(gc, "/dev/xen/blktap-2/tapdev%d", tap.minor);
if (devname)
return devname;
}
@@ -49,3 +52,28 @@ char *libxl__blktap_devpath(libxl__gc *g...
2012 Mar 06
0
Livelock induced failure in blktap2.
...is a reasonably straight forward process. We are also running
the toolchain with a patch which Ian Campbell posted in order to get
xl to properly terminate the tapdisk2 driver process which is spawned
for a block device. With that patch applied we''ve isolated a problem
which prevents the tapdev minor from being released.
We tracked the problem down to what appears to be a livelock related
to the unmapping of the ring memory by the tapdisk2 process. Most
specificaly the following fragment in
tapdisk-vbc:tapdisk_vbd_detach():
if (vbd->ring.mem > 0)
munmap(vb...
2000 Oct 17
2
setup problems
Hi,
Although Im dutch too, Ill write this in english. I got a similar problem
then the one on the helpforum. Ill paste my setup first
server tincd.conf
----
ListenPort = 8089
MyOwnVPNIP = 192.168.100.1/24
#VpnMask = 255.255.255.0
TapDevice = /dev/tap0
Passphrases=/usr/local/etc/tinc/passphrases
server tapdev
----
tap0 Link encap:Ethernet HWaddr FE:FD:C0:A8:6F:01
inet addr:192.168.100.1 Bcast:192.168.100.255
Mask:255.255.255.0
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packet...
2010 Jul 19
17
BLKTAPCTRL[2375]: blktapctrl_linux.c:86: blktap0 open failed
...hen
attempting to bringup the Windows domU.
When the Windows domU VHD file was booting under Xen 4.0.0, I would
get these messages in syslog:
tapdisk2[4833]: Created /dev/xen/blktap-2/control device
tapdisk2[4833]: Created /dev/xen/blktap-2/blktap0 device
tapdisk2[4833]: Created /dev/xen/blktap-2/tapdev0 device
tapdisk2[4833]: new interface: ring: 253, device: 253, minor: 0
tapdisk2[4833]: I/O queue driver: lio
tapdisk2[4833]: /mnt/win2008sp2.vhd version: tap 0x00010003, b: 12800,
a: 6903, f: 6087, n: 28330016
tapdisk2[4833]: opened image /mnt/win2008sp2.vhd (1 users, state:
0x00000001, type: 4)
t...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...*******/
-static char *get_blktap2_device(libxl_ctx *ctx,
+static char *get_blktap2_device(libxl_gc *gc,
const char *name, const char *type)
{
int minor = tap_ctl_find_minor(type, name);
if (minor < 0)
return NULL;
- return libxl_sprintf(ctx, "/dev/xen/blktap-2/tapdev%d", minor);
+ return libxl_sprintf(gc, "/dev/xen/blktap-2/tapdev%d", minor);
}
-static char *make_blktap2_device(libxl_ctx *ctx,
+static char *make_blktap2_device(libxl_gc *gc,
const char *name, const char *type)
{
char *params, *devname = NULL;
int err;
- p...