Re: [osv-dev] How to compose a vbox platform image with new capstan

2019-05-07 Thread robertob
I think the problem is that on Fedora there is not "kvm-ok"...so it fails for this reason. I could try to use the code from here: https://github.com/bannsec/altEnv/blob/master/kvm-ok Il giorno martedì 7 maggio 2019 14:15:48 UTC+2, Waldek Kozaczuk ha scritto: > > So I double checked capstan

Re: [osv-dev] How to compose a vbox platform image with new capstan

2019-05-07 Thread Waldek Kozaczuk
So I double checked capstan code and here are all conditions it checks to set DisableKvm flag (https://github.com/cloudius-systems/capstan/blob/efad2dff6ddeded449aa3954bcaefba554a36209/cmd/run.go#L233): - the 'disable_kvm' flag in ~/.capstan/config.yaml (executing 'capstan config print' will

Re: [osv-dev] How to compose a vbox platform image with new capstan

2019-05-04 Thread robertob
I'm still stuck on this problem. KVM works well on the machine but the capstan runs the qemu without "-enable-kvm". Is there a way to force this parameter in capstan run? Il giorno venerdì 19 aprile 2019 12:25:48 UTC+2, robertob ha scritto: > > KVM is installed and working in the system. I

Re: [osv-dev] How to compose a vbox platform image with new capstan

2019-04-19 Thread roberto battistoni
KVM is installed and working in the system. I enabled all the flags that Waldek suggested but nothing...the "-enable-kvm" is not present in the cmdline. The capstan version I use is the 0.30. Any Idea? Roberto Il giorno gio 18 apr 2019 alle ore 08:22 Pekka Enberg ha scritto: > On Thu, Apr

Re: [osv-dev] How to compose a vbox platform image with new capstan

2019-04-16 Thread robertob
I'm using Linux Fedora (Linux version 5.0.7-200.fc29.x86_64): qemu-system-x86_64: QEMU emulator version 3.0.0 (qemu-3.0.0-4.fc29) When I run the image through "capstan run" this is the qemu cmdline executed: /usr/bin/qemu-system-x86_64 -nographic -m 1500 -smp 4 -device >

Re: [osv-dev] How to compose a vbox platform image with new capstan

2019-04-16 Thread Waldek Kozaczuk
The convert output should go under $HOME/.capstan subdirectory with the extension .vbox like so: ``` qemu-img convert -O vdi ~/.capstan/repository/app/app.qemu ~/.capstan/repository/app/app.vbox ``` If you are using Mac then qemu-img has a bug ( https://bugs.launchpad.net/qemu/+bug/1776920) so

Re: [osv-dev] How to compose a vbox platform image with new capstan

2019-04-16 Thread Pekka Enberg
Hi, I don't think Capstan supports building VirtualBox images, but you can use the "qemu-img convert -O vdi" command to convert a QCOW2 (QEMU's format) image to a VirtualBox image. - Pekka On Tue, Apr 16, 2019 at 9:03 AM Roberto Battistoni wrote: > Hi guys! > > Any advice? Please I am very

Re: [osv-dev] How to compose a vbox platform image with new capstan

2019-04-16 Thread Roberto Battistoni
Hi guys! Any advice? Please I am very close to conclude my experimentations but QEMU is too slow and I need to do other tests with more efficient platform. thanks so much r > Il giorno 14 apr 2019, alle ore 08:13, robertob ha > scritto: > > I made package.yaml that correctly run with

[osv-dev] How to compose a vbox platform image with new capstan

2019-04-14 Thread robertob
I made package.yaml that correctly run with default QEMU platform, but now I do not understand how to build image for virtualbox platform. When I build the image (capstan package compose uni) I see every time that the QEMU image was created. I tried this package.yaml file with "platform: vbox"