aboutsummaryrefslogtreecommitdiff
path: root/scripts/modinfo-generate.py
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@suse.de>2023-10-09 15:43:25 -0300
committerJuan Quintela <quintela@redhat.com>2023-10-17 09:14:32 +0200
commitcaea03279e11dfcb0e5a567b81fe7f02ee80af02 (patch)
treea8d2dabb5b4318ae2d8917ebda533841988a26f0 /scripts/modinfo-generate.py
parentff40c7f0b787f47cf767b39a3226a113c06930f2 (diff)
downloadqemu-caea03279e11dfcb0e5a567b81fe7f02ee80af02.zip
qemu-caea03279e11dfcb0e5a567b81fe7f02ee80af02.tar.gz
qemu-caea03279e11dfcb0e5a567b81fe7f02ee80af02.tar.bz2
migration: Fix analyze-migration read operation signedness
The migration code uses unsigned values for 16, 32 and 64-bit operations. Fix the script to do the same. This was causing an issue when parsing the migration stream generated on the ppc64 target because one of instance_ids was larger than the 32bit signed maximum: Traceback (most recent call last): File "/home/fabiano/kvm/qemu/build/scripts/analyze-migration.py", line 658, in <module> dump.read(dump_memory = args.memory) File "/home/fabiano/kvm/qemu/build/scripts/analyze-migration.py", line 592, in read classdesc = self.section_classes[section_key] KeyError: ('spapr_iommu', -2147483648) Signed-off-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20231009184326.15777-6-farosas@suse.de>
Diffstat (limited to 'scripts/modinfo-generate.py')
0 files changed, 0 insertions, 0 deletions