Merge pull request #36 from asias/fix

cmd/run: Fix cmd wait
Add QEMU requirement to README

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
qemu: Drop vnc and gdbserver option

They uses a fixed port which prevents multiple instance from running

Signed-off-by: Asias He <asias@cloudius-systems.com>
qemu: Allow multiple instances running at the same time

Create a new qcow image with the backing file pointing the original
image. This way, we will not change the original 'golden image' pulled
from remote repo.

Signed-off-by: Asias He <asias@cloudius-systems.com>
Merge pull request #40 from asias/cow

qemu: Allow multiple instances running at the same time
Revert "qemu: Allow multiple instances running at the same time"

This reverts commit b76e4eb878f2bfdfffe0096412b8d07e7e9d399a. I pulled
too early and Asias has an improved version waiting to be merged.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
vbox: Store VM files under ~/.capstan/instances/vbox

We will store all the files related to an instance under
~/.capstan/instances/vbox/$instance_id for vbox.
qemu: Allow multiple instances running at the same time

Create a new qcow image with the backing file pointing the original
image. This way, we will not change the original 'golden image' pulled
from remote repo.

Signed-off-by: Asias He <asias@cloudius-systems.com>
Merge pull request #42 from asias/cow

cow
Fix features hypervisor and cloud provider list

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
copy-on-write is a feature

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
vbox: Retry connecting to serial console

It can take a while for the domain socket file to appear on the
filesystem so retry few times if connection fails.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Merge pull request #43 from penberg/vbox-launch

vbox: Retry connecting to serial console
README: Add description on how to update capstan to the latest version
Merge pull request #44 from tgrabiec/fixes

README: Add description on how to update capstan to the latest version
VBox usage instructions

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Platform specific default hypervisors

Use platform specific hypervisors:

 * QEMU/KVM on Linux
 * VirtualBox on OS X and Windows

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Merge pull request #46 from penberg/default-hypervisor

Platform specific default hypervisors
qemu: Fix capstan run with relative image path

Pekka found this:

[penberg@localhost osv]$ capstan run build/release/usr.img
Created instance: i1396455503
qemu-system-x86_64: -drive
file=/home/penberg/.capstan/instances/qemu/i1396455503/disk.qcow2,if=none,id=hd0,aio=native,cache=none:
could not open disk image
/home/penberg/.capstan/instances/qemu/i1396455503/disk.qcow2: No such file or directory
exit status 1

The issue is that the image is a relative path so would be the
backing_file.

Fix it by making the backing_file a absolute path.

Signed-off-by: Asias He <asias@cloudius-systems.com>