github.com/containers/podman/v4@v4.9.4/pkg/machine/qemu/options_linux.go (about)

     1  package qemu
     2  
     3  import (
     4  	"github.com/containers/podman/v4/pkg/rootless"
     5  	"github.com/containers/podman/v4/pkg/util"
     6  )
     7  
     8  func getRuntimeDir() (string, error) {
     9  	if !rootless.IsRootless() {
    10  		return "/run", nil
    11  	}
    12  	return util.GetRuntimeDir()
    13  }
    14  
    15  func useNetworkRecover() bool {
    16  	return false
    17  }