I'm messing around with adding some conversions of raw to/from virtual
disks to the API and noticed that the functions vdiRead and vdiWrite (in
VDI.cpp) assert whenever the amount being read/written is not a multiple of
512.

Do these functions break when the byte count is not a multiple of 512 or is
this just a sanitary check?
Are these asserts valid when dealing with binary image files (they could
have any size) vs block devices?

Thanks,
-- Ribhi
_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to