summary refs log tree commit diff stats
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2021-03-02 14:27:46 +0000
committerKevin Wolf <kwolf@redhat.com>2021-03-08 14:55:18 +0100
commit03d2b412aaf2078425f8472f31c8a9c2340969eb (patch)
tree94d0ec5597e49cc40830a26ed495356daab374bd /hw/avr/arduino.c
parent501a4b3681c90bbcf610fbbd6335c26af30668d7 (diff)
downloadfocaccia-qemu-03d2b412aaf2078425f8472f31c8a9c2340969eb.tar.gz
focaccia-qemu-03d2b412aaf2078425f8472f31c8a9c2340969eb.zip
qemu-storage-daemon: add --pidfile option
Daemons often have a --pidfile option where the pid is written to a file
so that scripts can stop the daemon by sending a signal.

The pid file also acts as a lock to prevent multiple instances of the
daemon from launching for a given pid file.

QEMU, qemu-nbd, qemu-ga, virtiofsd, and qemu-pr-helper all support the
--pidfile option. Add it to qemu-storage-daemon too.

Reported-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20210302142746.170535-1-stefanha@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions