[vbox-dev] VHD.cpp patch

Huihong Luo huisinro at yahoo.com
Mon Oct 3 05:40:20 GMT 2011


I noted that relative path is not emitted for VHD_PLATFORM_CODE_W2RU parent locator.
 
The attached patch fixes this, the code looks cryptic, but is very well tested on windows, and works well. For linux and other systems, you can improve the code. Right now, added only for RT_OS_WINDOWS
 
As I mentioned in earlier email, you may need to decide whether to change 
pLocator->u32DataSpace to match MS software, need to use bytes instead of sectors.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20111002/ebf48117/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VHD-cpp.patch
Type: application/octet-stream
Size: 5050 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20111002/ebf48117/attachment.obj>


More information about the vbox-dev mailing list