diff options
| author | Li Qiang | 2018-12-15 13:03:53 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2019-01-15 01:31:04 +0100 |
| commit | da93b82079dcb43885a84bc25b746fd15ae29dfb (patch) | |
| tree | e6a7c6f32713f584ba0116b3300707961d44f502 /qobject | |
| parent | vhost-user: fix ioeventfd_enabled (diff) | |
| download | qemu-da93b82079dcb43885a84bc25b746fd15ae29dfb.tar.gz qemu-da93b82079dcb43885a84bc25b746fd15ae29dfb.tar.xz qemu-da93b82079dcb43885a84bc25b746fd15ae29dfb.zip | |
util: check the return value of fcntl in qemu_set_{block, nonblock}
Assert that the return value is not an error. This is like commit
7e6478e7d4f for qemu_set_cloexec.
Signed-off-by: Li Qiang <liq3ea@163.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qobject')
0 files changed, 0 insertions, 0 deletions
