aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/qemu_test/linuxkernel.py
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <maciej.szmigiero@oracle.com>2025-03-04 23:03:46 +0100
committerCédric Le Goater <clg@redhat.com>2025-03-06 06:47:33 +0100
commitbd846c5d583a63eaaf836403515c4bf3748f3bb3 (patch)
tree19b108fdbf3a9420c0e085432f7d77983a1c6c8f /tests/functional/qemu_test/linuxkernel.py
parent5963c219a0e60d3f20c09ba2d34671d5e9623e70 (diff)
downloadqemu-bd846c5d583a63eaaf836403515c4bf3748f3bb3.zip
qemu-bd846c5d583a63eaaf836403515c4bf3748f3bb3.tar.gz
qemu-bd846c5d583a63eaaf836403515c4bf3748f3bb3.tar.bz2
vfio/migration: Convert bytes_transferred counter to atomic
So it can be safety accessed from multiple threads. This variable type needs to be changed to unsigned long since 32-bit host platforms lack the necessary addition atomics on 64-bit variables. Using 32-bit counters on 32-bit host platforms should not be a problem in practice since they can't realistically address more memory anyway. Reviewed-by: Cédric Le Goater <clg@redhat.com> Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com> Link: https://lore.kernel.org/qemu-devel/dc391771d2d9ad0f311994f0cb9e666da564aeaf.1741124640.git.maciej.szmigiero@oracle.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'tests/functional/qemu_test/linuxkernel.py')
0 files changed, 0 insertions, 0 deletions