summary refs log tree commit diff stats
path: root/scripts/qapi/schema.py
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2020-09-30 07:11:01 -0500
committerEric Blake <eblake@redhat.com>2020-10-09 15:05:04 -0500
commit029a88c9a7e3210ba565c081471bd44ba8d5e397 (patch)
tree0043be3a4d60292b6879826d81c8068427ef1e69 /scripts/qapi/schema.py
parent99d72dba1c96c3a498d935a54081e226b262641a (diff)
downloadfocaccia-qemu-029a88c9a7e3210ba565c081471bd44ba8d5e397.tar.gz
focaccia-qemu-029a88c9a7e3210ba565c081471bd44ba8d5e397.zip
qemu-nbd: Honor SIGINT and SIGHUP
Honoring just SIGTERM on Linux is too weak; we also want to handle
other common signals, and do so even on BSD.  Why?  Because at least
'qemu-nbd -B bitmap' needs a chance to clean up the in-use bit on
bitmaps when the server is shut down via a signal.

See also: http://bugzilla.redhat.com/1883608

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200930121105.667049-2-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
[eblake: apply comment tweak suggested by Vladimir; fix ifdef around
termsig_handler]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/qapi/schema.py')
0 files changed, 0 insertions, 0 deletions