parallels.c (7267c0947d7e8ae5dff7bafd932c3bc285f43e5c) parallels.c (541dc0d47f10973c241e9955afc2aefc96adec51)
1/*
2 * Block driver for Parallels disk image format
3 *
4 * Copyright (c) 2007 Alex Beregszaszi
5 *
6 * This code is based on comparing different disk images created by Parallels.
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy

--- 29 unchanged lines hidden (view full) ---

38 char magic[16]; // "WithoutFreeSpace"
39 uint32_t version;
40 uint32_t heads;
41 uint32_t cylinders;
42 uint32_t tracks;
43 uint32_t catalog_entries;
44 uint32_t nb_sectors;
45 char padding[24];
1/*
2 * Block driver for Parallels disk image format
3 *
4 * Copyright (c) 2007 Alex Beregszaszi
5 *
6 * This code is based on comparing different disk images created by Parallels.
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy

--- 29 unchanged lines hidden (view full) ---

38 char magic[16]; // "WithoutFreeSpace"
39 uint32_t version;
40 uint32_t heads;
41 uint32_t cylinders;
42 uint32_t tracks;
43 uint32_t catalog_entries;
44 uint32_t nb_sectors;
45 char padding[24];
46} __attribute__((packed));
46} QEMU_PACKED;
47
48typedef struct BDRVParallelsState {
49
50 uint32_t *catalog_bitmap;
51 int catalog_size;
52
53 int tracks;
54} BDRVParallelsState;

--- 103 unchanged lines hidden ---
47
48typedef struct BDRVParallelsState {
49
50 uint32_t *catalog_bitmap;
51 int catalog_size;
52
53 int tracks;
54} BDRVParallelsState;

--- 103 unchanged lines hidden ---