Skip to content
qemu-kvm virtual machine manager tool
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
.gitignore Add flag option Sep 13, 2015
README.md
config.go Add debug log Sep 17, 2015
logger.go
main.go

README.md

#VM Manager

This tool based on Qemu & KVM guide #1

##How to install & use

First, install go

https://golang.org/dl

Then, set $GOPATH and $PATH

# append below lines to .bashrc or .zshrc or other shell profile
export $GOPATH=your-go-code-path
export $PATH=$GOPATH/bin:$PATH

(and you may re-login shell)

Then, install vm-manager

go get github.com/zeropage/vm-manager

And make config file like below.

#This is example file
#config.yaml

vm:
    example:
        cpu :
            core : 1
        memory : 512M
        disks :
            - path: example-hda.img
              interface: virtio
            - path: example-hdb.img
        network :
            ifname : vnet1
            mac: DE:AD:BE:EF:00:01
        logfile: test.log
        cdroms :
            - example-install.iso
        vnc : :10
        others :
            - -usb
            - -name
            - example
    example-non-network:
        cpu :
            type : host
            core : 2
            virtualcore : 1
        memory : 2G

To make disk image file, excute below line

vm-manager img example.img 50G

Then, you can check image file maked, and you can run your vm :

vm-manager start example
You can’t perform that action at this time.