Displaying 20 results from an estimated 200 matches similar to: "[PATCH] libxl: attempt to cleanup tapdisk processes on disk backend destroy"
2012 Nov 07
4
[PATCH 1/2] 4.1.2 blktap2 cleanup fixes.
---------------------------------------------------------------------------
Backport of the following patch from development:
# User Ian Campbell <[hidden email]>
# Date 1309968705 -3600
# Node ID e4781aedf817c5ab36f6f3077e44c43c566a2812
# Parent 700d0f03d50aa6619d313c1ff6aea7fd429d28a7
libxl: attempt to cleanup tapdisk processes on disk backend destroy.
This patch properly terminates the
2012 Nov 07
4
[PATCH 2/2] 4.1.2 blktap2 cleanup fixes.
---------------------------------------------------------------------------
The following patch when applied on top of:
libxl: attempt to cleanup tapdisk processes on disk backend destroy.
Establishes correct cleanup behavior for blktap devices. This patch
implements the release of the backend device before calling for
the destruction of the userspace component of the blktap device.
Without
2015 Mar 12
2
Tapdisk processes being left behind when hvm domu's migrate/shutdown
Hi All,
I'm seeing tapdisk processes not being terminated after a HVM vm is shutdown or migrated away. I don't see this problem with linux paravirt domu's, just windows hvm ones.
xl.cfg:
name = 'nathanwin'
memory = 4096
vcpus = 2
disk = [ 'file:/mnt/gtc_disk_p1/nathanwin/drive_c,hda,w' ]
vif = [ 'mac=00:16:3D:01:03:E0,bridge=vlan208' ]
builder =
2015 Mar 12
2
Can't block-attach a file on a read only volume?
Hi All,
One more weird issue, this works on old xen but fails on 4.4:
xendev01 ~ # mkdir /mnt/test
xendev01 ~ # mount -t tmpfs - /mnt/test
xendev01 ~ # dd if=/dev/null of=/mnt/test/disk seek=100M bs=1
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000201809 s, 0.0 kB/s
xendev01 ~ # /usr/sbin/xl block-attach nathannx "file:/mnt/test/disk" "xvdd4"
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
Changes since v1:
- Fix a double-free bug introduced by v1, pointed out by Stefano
where internal pointer was being passed back to caller from
libxl_create_stubdom()
8<----------------------------------------------------------------------
Currently scratch variables allocated by libxl have the same lifetime as
the context. While this is suitable for one off invocations of xl. It is
not
2013 Mar 02
7
libxl device_disk_add orphans blktap devices on transaction error
I''m using the CentOS 6 bundle of xen from
http://dev.centos.org/centos/6/xen-c6/ and ran into an issue when
creating domains with multiple VHD tap disks. Comparing unstable to
the 4.2.1 code I''m using, it seems this issue still applies. I''m
using a configuration line that looks something like
disk = [
2015 Mar 13
0
Can't block-attach a file on a read only volume?
On Thu, Mar 12, 2015 at 8:05 PM, Nathan March <nathan at gt.net> wrote:
> xendev01 ~ # mount -o remount,ro /mnt/test
>
>
>
> xendev01 ~ # /usr/sbin/xl block-attach nathannx "file:/mnt/test/disk"
> "xvdd4"
>
> DEBUG libxl__blktap_devpath 37 aio:/mnt/test/disk
>
> libxl: error: libxl.c:2149:device_disk_add: failed to get blktap devpath for
>
2013 Mar 21
1
xen-4.2, libxl and libvirt
Hi,
I'm testing the xen-4.2 package from experimental and I've hit a problem
trying to use the installed libxenlight library-- I hope this is the
right place to discuss it.
xen itself seems to be ok, I can start/stop domains with 'xl'. I notice
that 'xl' is statically linked so has no problem finding libxenlight.
I'm trying to compile libvirt-1.0.3, also from
2009 Nov 18
6
[PATCH 1/3] libxenlight: Clean up logging arrangements
* Introduce new variants of the logging functions which include
errno values (converted using strerror) in the messages passed to the
application''s logging callback.
* Use the new errno-including logging functions everywhere where
appropriate. In general, xc_... functions return errno values or 0;
xs_... functions return 0 or -1 (or some such) setting errno.
* When
2013 Nov 25
22
[PATCH 0/4] Coverity fixes for tools/libxl
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
--
1.7.10.4
2012 May 23
0
A little confusion between "tapdisk" and "tapdisk-ioemu"
Hi everyone,
as what I''ve learned form this link<http://wiki.xensource.com/xenwiki/blktap>,
i know that when i specify tap:aio I’m actually using the blktap driver and
finally using "tapdisk" to wirite to raw image file.
but the truth is even when i delete /usr/sbin/tapdisk the domU can still
boot on my machine with tap:aio protocol
after a deeper look into the scene,
2013 Apr 17
10
xl network-attach SEGV in 4.2 and 4.1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
4.2 and 4.1 suffers from SEGV during xl network-attach in
libxl__device_nic_add. In 4.3-unstable it is fixed by:
5420f2650 libxl: Set vfb and vkb devid if not done so by the caller
So either the patch need to be backported to 4.1 and 4.2, or fixed by this one:
- ------
libxl: Fix SEGV in network-attach
When "device/vif" directory
2013 Dec 01
70
[PATCH 00/13] Coverity fixes for libxl
Matthew Daley (13):
libxl: fix unsigned less-than-0 comparison in e820_sanitize
libxl: check for xc_domain_setmaxmem failure in libxl__build_pre
libxl: correct file open success check in libxl__device_pci_reset
libxl: don''t leak p in libxl__wait_for_backend
libxl: remove unsigned less-than-0 comparison
libxl: actually abort if initializing a ctx''s lock fails
libxl:
2013 Apr 12
11
[PATCH v4 1/2] libxl: postpone backend name resolution
This adds a backend_domname field in libxl devices that contain a
backend_domid field, allowing either a domid or a domain name to be
specified in the configuration structures. The domain name is resolved
into a domain ID in the _setdefault function when adding the device.
This change allows the backend of the block devices to be specified
(which previously required passing the libxl_ctx down
2007 Nov 28
1
RFC: add tapdisk link in xen-common for blktap
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
while trying to get blktap based domus running with current Debian Xen
3.1.2 I came across a missing link: The tapdisk binary should be added
to GLOBAL_SCRIPTS in xen-common/scripts/Makefile. Otherwise blktap
based domus don't find their disks. blktapctrl forks tapdisk processes.
Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG
2008 Jul 08
0
[PATCH] stubdom: do not build tapdisk as it is not supposed to build and we don''t need it
stubdom: do not build tapdisk as it it not supposed to build and we
don''t need it
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
diff -r 4024164e7572 stubdom/Makefile
--- a/stubdom/Makefile Tue Jul 08 16:11:49 2008 +0100
+++ b/stubdom/Makefile Tue Jul 08 17:12:38 2008 +0100
@@ -190,7 +190,7 @@
[ -f ioemu/config-host.mak ] || \
( cd ioemu ; \
2009 Aug 18
0
[PATCH] tapdisk:check O_DIRECT on hole file for performance
Although tapdisk has been instead of tapdisk-ioemu, but it still used on
some old xen-3.2.
So fix a performance problem here.
--
Kernel aio will retry when encounter a block doesn''t allocated, then do
async io,
but O_DIRECT flag was there, so io_wait on sync data.
And clean a little code style.
Signed-off-by: Wei Kong <weikong.cn@gmail.com>
2012 Jan 17
0
Attaching GDB to Tapdisk for Debugging
Hi all,
Has anyone used gdb to debug tapdisk problems? I''ve implemented a
custom tapdisk interface and I''m trying to debug a few kernel paging
crashes.
-Jack
2008 Apr 22
0
[PATCH] blktap: Automatically start tapdisk-ioemu on demand
When a domain wants to use a tap:ioemu disk but has no device model,
start a tapdisk-ioemu instance as provider. Also, move the creation and
removal of communication pipes to xend so that qemu-dm doesn''t need the
unwanted SIGHUP handler anymore.
Signed-off-by: Kevin Wolf <kwolf@suse.de>
_______________________________________________
Xen-devel mailing list
2015 Mar 12
0
Tapdisk processes being left behind when hvm domu's migrate/shutdown
On Thu, Mar 12, 2015 at 6:11 PM, Nathan March <nathan at gt.net> wrote:
> Hi All,
>
>
>
> I'm seeing tapdisk processes not being terminated after a HVM vm is shutdown
> or migrated away. I don't see this problem with linux paravirt domu's, just
> windows hvm ones.
Interesting -- actually you get the same effect just starting and
shutting down a guest. It