vmdk.c | 52 int64_t desc_size; member in struct:__anon9535 106 #define DESC_SIZE 20*SECTOR_SIZE // 20 sectors of 512 bytes each 111 char desc[DESC_SIZE]; 117 if (bdrv_pread(bs->file, 0x200, desc, DESC_SIZE) != DESC_SIZE) 138 char desc[DESC_SIZE], tmp_desc[DESC_SIZE]; 142 if (bdrv_pread(bs->file, 0x200, desc, DESC_SIZE) != DESC_SIZE) 153 if (bdrv_pwrite_sync(bs->file, 0x200, desc, DESC_SIZE) < 0 [all...] |