Automatically clean up ghost socket files
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v12 patches 2 repliesSuperseded
Changelog from the cover letter
v1 ... v2:
- Printing name of each remove socket file on lkvm list, removing summary.
- Printing name of removed socket file on lkvm run.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | list: Clean up ghost socket fileskvm-ipc.c | +3 | 0 replies | |
| 2/2 | run: Check for ghost socket file upon VM creationkvm-ipc.c | +27 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH kvmtool v2 0/2] Automatically clean up ghost socket files
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
Changelog:
v1 ... v2:
- Printing name of each remove socket file on lkvm list, removing summary.
- Printing name of removed socket file on lkvm run.
Andre Przywara (2):
list: Clean up ghost socket files
run: Check for ghost socket file upon VM creation
kvm-ipc.c | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-)
Signature · 1 line
2.17.1