Migrate VM shares from 9p to virtiofs; update QEMU and doctor
This commit is contained in:
parent
221d0ca596
commit
2555a47d62
3 changed files with 34 additions and 68 deletions
|
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue