Re: [PATCH v10 03/10] qcow2_format.py: change Qcow2BitmapExt initialization method

2020-07-16 Thread Vladimir Sementsov-Ogievskiy
14.07.2020 00:36, Andrey Shinkevich wrote: There are two ways to initialize a class derived from Qcow2Struct: 1. Pass a block of binary data to the constructor. 2. Pass the file descriptor to allow reading the file from constructor. Let's change the Qcow2BitmapExt initialization method from 1 to

[PATCH v10 03/10] qcow2_format.py: change Qcow2BitmapExt initialization method

2020-07-13 Thread Andrey Shinkevich
There are two ways to initialize a class derived from Qcow2Struct: 1. Pass a block of binary data to the constructor. 2. Pass the file descriptor to allow reading the file from constructor. Let's change the Qcow2BitmapExt initialization method from 1 to 2 to support a scattered reading in the initi