|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] RE: blktap2 does not work
Distro: debian unstable Xen version: 4.0.0-2
This is the config: #HVM #still no qemu-dm in debian
#kernel = "/usr/lib/xen-4.0/boot/hvmloader" #builder = 'hvm' #memory = 2048 #name = "webserver" #vif = ['bridge=eth0'] #disk = ['tap:tapdisk:aio:/srv/xen/webserver.img,xvda,w','phy:/dev/cdrom,xvdb:cdrom,r']
#device-model = '/usr/lib/xen-4.0/bin/qemu-dm' #vnc = 1 #boot = 'd'
#PV
name = "webserver" memory = 2048 bootloader = "/usr/lib/xen-4.0/bin/pygrub" vif = ['bridge=eth0']
disk = [ "tap:tapdisk:aio:/srv/xen/webserver.img,xvda,w" ] vnc = 1
When I run xm create /srv/xen/profiles/webserver.cfg I get: Using config file "/srv/xen/profiles/webserver.cfg". Error: [Errno 2] No such file or directory: 'aio:/srv/xen/webserver.img'
I created the image with dd: # dd if=/dev/zero of=/srv/xen/webserver.img oflag=direct bs=1M seek=4095 count=1 # dd if=/dev/zero of=/srv/xen/webserver.img oflag=direct bs=1M count=4096
Darkbasic
blktap2 works in current xen-testing-4.x and xen-unstable, but you should be use tap2:tapdisk:aio:...... (I do not know why it is not displayed in the documentation, but the code works the way).
My configuration: "Opensolaris + pygrub + VHD" work fine for me.
Thanks.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-users] RE: blktap2 does not work,
eXeC001er <=
|
|
|
|
|