blob: 8f13b843d5b4e47bb9eaa9d17dfdbb81596fd335 [file] [log] [blame]
Stefan Raspl997b7e92020-04-02 10:57:05 +02001# SPDX-License-Identifier: GPL-2.0-only
2
3[Unit]
4Description=Service that logs KVM kernel module trace events
5Before=qemu-kvm.service
6
7[Service]
8Type=simple
9ExecStart=/usr/bin/kvm_stat -dtcz -s 10 -L /var/log/kvm_stat.csv
10ExecReload=/bin/kill -HUP $MAINPID
11Restart=always
Stefan Raspl75f94ec2021-03-25 13:29:49 +010012RestartSec=60s
Stefan Raspl997b7e92020-04-02 10:57:05 +020013SyslogIdentifier=kvm_stat
14SyslogLevel=debug
15
16[Install]
17WantedBy=multi-user.target