Skip to content

zchee/libhyperkit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libxhyve (OS X only)

Go bindings to use xhyve as a library.

Prerequisites

  • OS X Yosemite and upwards
  • Go 1.5.x

Install

go get github.com/hooklift/xhyve

Example

asciicast

package main

import (
	"os"
	"github.com/TheNewNormal/libxhyve"
)

func main() {
	if err := xhyve.Run(os.Args); err != nil {
		panic(err)
	}
}

There is small CLI that you can use to test the library.

cd cmd/xhyve; go build
sudo ./xhyve -m 1024M -c 1 -A -s 0:0,hostbridge -s 31,lpc \
-l com1,stdio -s 2:0,virtio-net -U 6BCE442E-4359-4BD9-84F7-EDFB8EC6D2EF \
-f 'kexec,imgs/vmlinuz,imgs/initrd.gz,earlyprintk=serial console=ttyS0'

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • C 97.8%
  • OCaml 0.7%
  • C++ 0.5%
  • Makefile 0.4%
  • Go 0.4%
  • Objective-C 0.2%