diff options
| author | Marc-André Lureau | 2018-09-07 14:13:19 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2018-10-02 18:47:55 +0200 |
| commit | 90a84d131c09096bdc424027526b575fe6a8a8d5 (patch) | |
| tree | 3e85f00703b86e184fc21b483e925c8178b43828 /include | |
| parent | serial: fix DLL writes (diff) | |
| download | qemu-90a84d131c09096bdc424027526b575fe6a8a8d5.tar.gz qemu-90a84d131c09096bdc424027526b575fe6a8a8d5.tar.xz 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 'include')
0 files changed, 0 insertions, 0 deletions
