github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/container/kvm/run_other.go (about)

     1  // Copyright 2016 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  // +build !linux
     5  
     6  package kvm
     7  
     8  import "github.com/juju/errors"
     9  
    10  func runAsLibvirt(commands string, args ...string) (string, error) {
    11  	return "", errors.New("kvm is only supported on linux amd64, arm64, and ppc64el")
    12  }
    13  
    14  func getUserUIDGID(_ string) (int, int, error) {
    15  	return -1, -1, errors.New("kvm is only supported on linux amd64, arm64, and ppc64el")
    16  }