aboutsummaryrefslogtreecommitdiff
path: root/hw/block/nvme.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-12-26 14:53:00 +0800
committerKevin Wolf <kwolf@redhat.com>2018-01-23 12:33:07 +0100
commitf86428a1f4f91a460ed585682af70d3e8c31dc06 (patch)
tree1f5bfcf7a8e3e35ebeef547a845ddb0ca59d5005 /hw/block/nvme.c
parentee86981bda9ecd40c8daf81b7307b1d2aff68174 (diff)
downloadqemu-f86428a1f4f91a460ed585682af70d3e8c31dc06.zip
qemu-f86428a1f4f91a460ed585682af70d3e8c31dc06.tar.gz
qemu-f86428a1f4f91a460ed585682af70d3e8c31dc06.tar.bz2
osdep: Retry SETLK upon EINTR
We could hit lock failure if there is a signal that makes fcntl return -1 and errno set to EINTR. In this case we should retry. Cc: qemu-stable@nongnu.org Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/block/nvme.c')
0 files changed, 0 insertions, 0 deletions