diff options
author | Carlo Marcelo Arenas Belón | 2018-08-24 10:56:01 +0200 |
---|---|---|
committer | Laurent Vivier | 2018-09-25 22:36:49 +0200 |
commit | 83eb6e509062b8907eb95a00170ef6dde8d264fd (patch) | |
tree | a915abde418d3481877f19b7085dbd70eac6e52b /hw/display/virtio-gpu-pci.c | |
parent | linux-user: move TargetFdTrans functions to their own file (diff) | |
download | qemu-83eb6e509062b8907eb95a00170ef6dde8d264fd.tar.gz qemu-83eb6e509062b8907eb95a00170ef6dde8d264fd.tar.xz qemu-83eb6e509062b8907eb95a00170ef6dde8d264fd.zip |
linux-user: add SO_LINGER to {g,s}etsockopt
Original implementation for setsockopt by Chen Gang[1]; all bugs mine,
including removing assignment for optname which hopefully makes the
logic easier to follow and moving some variables to make the code
more selfcontained.
[1] http://patchwork.ozlabs.org/patch/565659/
Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Co-Authored-By: Chen Gang <gang.chen.5i5j@gmail.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20180824085601.6259-1-carenas@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/display/virtio-gpu-pci.c')
0 files changed, 0 insertions, 0 deletions