[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-API] Problem with writing to a VHD disk directly using blktap/libvhd
Hello all, I don't know whether here is the right place for asking my question or not. Actually I want to write a program for encrypting vhd disk sector by sector. I couldn't find any library to do it so I started to do it my self. Now I'm trying to write a char array to a vhd disk using libvhd. But it failes with 'error number -22' ( -EINVAL /* Invalid argument */). There is no problem in opening and reading vhd disks using libvhd, but I can't find the problem Âthat causes the error when writing. Here is part of my code for writing:
Writing fails with 'vhd write error -22'. Thank you, Zahra _______________________________________________ Xen-api mailing list Xen-api@xxxxxxxxxxxxx http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |