Migrate VM shares from 9p to virtiofs; update QEMU and doctor

This commit is contained in:
Joshua Bell 2026-01-29 13:58:49 -06:00
parent 221d0ca596
commit 2555a47d62
3 changed files with 34 additions and 68 deletions

View file

@ -10,6 +10,7 @@ import (
"qvm/internal/workspace"
"strconv"
"strings"
"syscall"
"github.com/spf13/cobra"
)
@ -232,7 +233,7 @@ func checkVirtiofsdSockets() []string {
continue
}
if err := process.Signal(os.Signal(nil)); err != nil {
if err := process.Signal(syscall.Signal(0)); err != nil {
issues = append(issues, fmt.Sprintf("Orphaned virtiofsd socket: %s (process %d not running)", sock, pid))
}
}