diff options
author | Kevin Wolf <kwolf@redhat.com> | 2012-08-16 10:34:10 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-08-17 11:14:19 +0200 |
commit | 7a736bfa4e0a58087054cad68a1d4b3804bbb708 (patch) | |
tree | 60b21375f08a0f1d357dfc53c0e79ee7bca61b12 /block/vmdk.c | |
parent | 731dc9ecd4f2c3041538f7eb2d10eee0cb82da1b (diff) | |
download | qemu-7a736bfa4e0a58087054cad68a1d4b3804bbb708.zip qemu-7a736bfa4e0a58087054cad68a1d4b3804bbb708.tar.gz qemu-7a736bfa4e0a58087054cad68a1d4b3804bbb708.tar.bz2 |
vmdk: Fix header structure
Commit bb45ded9 swapped gd_offset and rgd_offset. This is wrong.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/vmdk.c')
-rw-r--r-- | block/vmdk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/vmdk.c b/block/vmdk.c index daee426..9648398 100644 --- a/block/vmdk.c +++ b/block/vmdk.c @@ -57,8 +57,8 @@ typedef struct { int64_t desc_offset; int64_t desc_size; int32_t num_gtes_per_gte; - int64_t gd_offset; int64_t rgd_offset; + int64_t gd_offset; int64_t grain_offset; char filler[1]; char check_bytes[4]; |