commit | 92e3c2a39e95576dd215b063e493069c67ffaab8 | [log] [tgz] |
---|---|---|
author | Aurelien Jarno <aurelien@aurel32.net> | Tue Jan 25 11:55:14 2011 +0100 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Sat Jan 29 15:08:14 2011 +0100 |
tree | a2a7ee86a1a90d2689cf5229dc2d6244f57c8038 | |
parent | 44b15bc5c65ab6b3103f508504e4adf8ee9902d7 [diff] |
virtio-blk: fix cross-endianness targets virtio-blk doesn't work on cross-endian configuration, as endianness is not handled correctly. This patch adds missing endianness conversions to make virtio-blk working. Tested on the following configurations: - i386 guest on x86_64 host - ppc guest on x86_64 host - i386 guest on mips host - ppc guest on mips host Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>