Change name of monitored process to qemu-system
It will help to avoid collision with qemu-img process.
@@ -283,7 +283,7 @@ func main() {
syscall.Kill(pid, syscall.SIGTERM)
}
}
- mon := virtlauncher.NewProcessMonitor("qemu",
+ mon := virtlauncher.NewProcessMonitor("qemu-system",
gracefulShutdownTriggerFile,
*gracePeriodSeconds,
shutdownCallback)
