[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Can not attach vhd image and start vhd-based domU



On Fri, 2015-05-15 at 21:59 +0300, Andrey wrote:
> Forgot to say, blktap-dkms installed too and blktap module is loaded but:
> 
> # xl -vvv block-attach 0 
> format=vhd,vdev=xvda,access=w,backendtype=tap,target=/home/data/centos-6.vhd 
> 
> libxl: debug: libxl.c:3538:libxl_device_disk_add: ao 0x6b89e0: create: 
> how=(nil) callback=(nil) poller=0x6b88e0
> libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk 
> vdev=xvda spec.backend=tap
> libxl: debug: libxl_device.c:210:disk_try_backend: Disk vdev=xvda, 
> backend tap unsuitable because blktap not available
> libxl: error: libxl_device.c:289:libxl__device_disk_set_backend: no 
> suitable backend for disk xvda
> libxl: error: libxl.c:1727:device_addrm_aocomplete: unable to (null) device
> libxl: debug: libxl_event.c:1591:libxl__ao_complete: ao 0x6b89e0: 
> complete, rc=-6
> libxl: debug: libxl.c:3538:libxl_device_disk_add: ao 0x6b89e0: 
> inprogress: poller=0x6b88e0, flags=ic
> libxl: debug: libxl_event.c:1563:libxl__ao__destroy: ao 0x6b89e0: destroy
> libxl_device_disk_add failed.
> xc: debug: hypercall buffer: total allocations:2 total releases:2
> xc: debug: hypercall buffer: current allocations:0 maximum allocations:2
> xc: debug: hypercall buffer: cache current size:2
> xc: debug: hypercall buffer: cache hits:0 misses:2 toobig:0

My best guess is that libxl has been built explicitly without blktap
support or that it is linked against the wrong libraries somehow.

The easiest way around this would be to use the vhd support from qdisk
instead.

Ian.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.