diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-09-07 16:13:19 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-10-02 18:47:55 +0200 |
commit | 90a84d131c09096bdc424027526b575fe6a8a8d5 (patch) | |
tree | 3e85f00703b86e184fc21b483e925c8178b43828 /hw/alpha | |
parent | 61a9346f60fe32143c007bb27bac6e1d83e4aee8 (diff) | |
download | qemu-90a84d131c09096bdc424027526b575fe6a8a8d5.zip |
Delete PID file on exit
Register an exit notifier to remove the PID file. By the time atexit()
is called, qemu_write_pidfile() guarantees QEMU owns the PID file,
thus we could safely remove it when exiting.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20180907121319.8607-4-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/alpha')
0 files changed, 0 insertions, 0 deletions