All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH kvmtool 0/2] Automatically clean up ghost socket files
@ 2019-05-03 17:08 Andre Przywara
  2019-05-03 17:08 ` [PATCH kvmtool 1/2] list: Clean " Andre Przywara
  2019-05-03 17:08 ` [PATCH kvmtool 2/2] run: Check for ghost socket file upon VM creation Andre Przywara
  0 siblings, 2 replies; 5+ messages in thread
From: Andre Przywara @ 2019-05-03 17:08 UTC (permalink / raw)
  To: Will Deacon; +Cc: kvm

kvmtool is creating UNIX socket inodes to communicate between a running
instance and a debug command issued by another lkvm process.
When kvmtool (or the kernel) crashes, those files are not cleaned up and
cause all kind of annoyances.
Those two patches delete leftover socket files on calling "lkvm list",
also remove an existing one (then reusing the same name) when creating
a guest.
This avoids random breakages when running kvmtool, and helps to run it
from scripts.

Cheers,
Andre

Andre Przywara (2):
  list: Clean up ghost socket files
  run: Check for ghost socket file upon VM creation

 kvm-ipc.c | 44 ++++++++++++++++++++++++++++++++++++--------
 1 file changed, 36 insertions(+), 8 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-05-24 16:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-03 17:08 [PATCH kvmtool 0/2] Automatically clean up ghost socket files Andre Przywara
2019-05-03 17:08 ` [PATCH kvmtool 1/2] list: Clean " Andre Przywara
2019-05-24 16:27   ` Will Deacon
2019-05-03 17:08 ` [PATCH kvmtool 2/2] run: Check for ghost socket file upon VM creation Andre Przywara
2019-05-24 16:27   ` Will Deacon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.