diff options
| author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2020-06-06 11:18:00 +0300 |
|---|---|---|
| committer | Eric Blake <eblake@redhat.com> | 2020-06-09 15:47:09 -0500 |
| commit | 5432a0db528cde9f58d6a843105a66c79b523a73 (patch) | |
| tree | b53b3b7bc94c047b92d5498f6440df9263926443 /hw/intc/lm32_pic.c | |
| parent | 621ca4988a20733eca43148396f910373e02d571 (diff) | |
| download | focaccia-qemu-5432a0db528cde9f58d6a843105a66c79b523a73.tar.gz focaccia-qemu-5432a0db528cde9f58d6a843105a66c79b523a73.zip | |
qcow2_format.py: use strings to specify c-type of struct fields
We are going to move field-parsing to super-class, this will be simpler with simple string specifiers instead of variables. For some reason, python doesn't allow the definition of ctypes variable in the class alongside fields: it would not be available then for use by the 'for' operator. Don't worry: ctypes will be moved to metaclass soon. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com> Message-Id: <20200606081806.23897-8-vsementsov@virtuozzo.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'hw/intc/lm32_pic.c')
0 files changed, 0 insertions, 0 deletions