Re: [PATCH v4 12/30] qcow2: Update get/set_l2_entry() and add get/set_l2_bitmap()

2020-04-14 Thread Vladimir Sementsov-Ogievskiy
17.03.2020 21:16, Alberto Garcia wrote: Extended L2 entries are 128-bit wide: 64 bits for the entry itself and 64 bits for the subcluster allocation bitmap. In order to support them correctly get/set_l2_entry() need to be updated so they take the entry width into account in order to calculate th

[PATCH v4 12/30] qcow2: Update get/set_l2_entry() and add get/set_l2_bitmap()

2020-03-17 Thread Alberto Garcia
Extended L2 entries are 128-bit wide: 64 bits for the entry itself and 64 bits for the subcluster allocation bitmap. In order to support them correctly get/set_l2_entry() need to be updated so they take the entry width into account in order to calculate the correct offset. This patch also adds th