f-25: qemu: add handle gestion
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
b84e0e9cbe
commit
da0d043846
2 changed files with 62 additions and 0 deletions
14
internal/qemu/start_other.go
Normal file
14
internal/qemu/start_other.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
//go:build !linux
|
||||
|
||||
package qemu
|
||||
|
||||
import "errors"
|
||||
|
||||
type Config struct {
|
||||
Name, Mac, VolumePath string
|
||||
TapID, Memory, CPUs int
|
||||
}
|
||||
|
||||
func Start(cfg Config) error {
|
||||
return errors.New("vm: not supported on this platform")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue