aboutsummaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2023-06-09 09:27:48 +0200
committerJason Wang <jasowang@redhat.com>2023-07-07 16:35:12 +0800
commitb6aeee02980e193f744f74c48fd900940feb2799 (patch)
tree97e91d2abae35fe6176c8c9a977da985d1a2fa60 /job.c
parent23455ae341656ca867ee4a171826b9d280d6acb5 (diff)
downloadqemu-b6aeee02980e193f744f74c48fd900940feb2799.zip
qemu-b6aeee02980e193f744f74c48fd900940feb2799.tar.gz
qemu-b6aeee02980e193f744f74c48fd900940feb2799.tar.bz2
net: socket: remove net_init_socket()
Move the file descriptor type checking before doing anything with it. If it's not usable, don't close it as it could be in use by another part of QEMU, only fail and report an error. Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'job.c')
0 files changed, 0 insertions, 0 deletions