diff options
author | Fam Zheng <famz@redhat.com> | 2013-05-02 10:25:26 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-05-03 10:33:46 +0200 |
commit | e304e8e5a05bc54c71c5f6fc76abd47410e59857 (patch) | |
tree | 801d5d2a2d5834c91146fe8271e042ec41b75218 /nbd.c | |
parent | 95b0aa4231dfc827ddc189138d6502cbca66d2b6 (diff) |
vmdk: store fields of VmdkMetaData in cpu endian
Previously VmdkMetaData.offset is stored little endian while other
fields are cpu endian. This changes offset to cpu endian and convert
before writing to image.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'nbd.c')
0 files changed, 0 insertions, 0 deletions