aboutsummaryrefslogtreecommitdiff
path: root/scripts/qemu.py
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2018-05-09 23:53:34 +0200
committerMax Reitz <mreitz@redhat.com>2018-06-11 16:18:45 +0200
commitd0a96155de099d388f5e1f46277a54bdcfbb0bb2 (patch)
tree9d2be013663946318915959ceba0c8e427c7870e /scripts/qemu.py
parent9f55925b8f50a962d1d08d815044db7767ae3838 (diff)
downloadqemu-d0a96155de099d388f5e1f46277a54bdcfbb0bb2.zip
qemu-d0a96155de099d388f5e1f46277a54bdcfbb0bb2.tar.gz
qemu-d0a96155de099d388f5e1f46277a54bdcfbb0bb2.tar.bz2
block/file-posix: Pass FD to locking helpers
raw_apply_lock_bytes() and raw_check_lock_bytes() currently take a BDRVRawState *, but they only use the lock_fd field. During image creation, we do not have a BDRVRawState, but we do have an FD; so if we want to reuse the functions there, we should modify them to receive only the FD. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Message-id: 20180509215336.31304-2-mreitz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts/qemu.py')
0 files changed, 0 insertions, 0 deletions