[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 14:03 +0300, Andrey wrote: > Hello, > > I'm trying to block-attach vhd image to dom0 using blktap2 with xen > 4.4 standard package installed on Debian Jessie, but with no luck. > > 'xl -vvv block-attach 0 /home/data/centos-6.vhd,vhd,xvda,w' As you've observed this will use qdisk not blktap. I suspect your issue is lack of a qemu process running in dom0 to service the qdisk requests. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770456 . If you want blktap2 for real then you will need to force the backend selection. I don't think that is possible with the deprecated syntax you are using. According to http://xenbits.xen.org/docs/4.4-testing/misc/xl-disk-configuration.txt something like: format=vhd,vdev=xvda,access=w,backendtype=tap,target=/home/data/centos-6.vhd Should do the trick (nb, target= must be last). For debugging it can be useful to do "xl -N block-attach 0 <diskspec>", this is just a dry-run block attach to dom0, which will print the parsed version of the spec Ian. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |