Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2014 17:20:43 +0100
From:      John <freebsd-lists@potato.growveg.org>
To:        freebsd-virtualization@freebsd.org
Subject:   moving from virtualbox to bhyve
Message-ID:  <20141020162043.GA66615@potato.growveg.org>

next in thread | raw e-mail | index | archive | help
Hi,

I'm trying to move from virtualbox to bhyve. From the server I've successfully
converted an ubuntu guest on vbox to raw. What I'm trying to do is to load that
into bhyve, (on another freebsd server) and I'm at the limits of my knowledge 
here; this isn't my speciality.

The most recent information relevant to what I want to do, I found at 
https://www.monkeybrains.net/support/bhyve

but (not his fault!) what I'm trying to accomplish is not what he set out to do.

Has anyone done what I'm trying to do, or anyone know how to do it? The furthest 
I got was with this, the guest.img is the raw ubuntu from vbox:

# bhyve -AI -H -P -s 0:0,hostbridge -s 1,lpc -s 2:0,virtio-net,tap1 -s 3:0,virtio-blk, \
./guest.img -l com1,stdio -c 4 -m 1024M linuxguest

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.11.0-26-generic (buildd@comet) (gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu8) ) #45-Ubuntu SMP Tue Jul 15 04:02:06 UTC 2014 (Ubuntu 3.11.0-26.45-generic 3.11.10.12)
[    0.000000] Command line: console=ttyS0 BOOT_IMAGE=/boot/vmlinuz-3.11.0-26-generic root=UUID=9cd5a28b-8746-41f3-9b0e-8a950b8c5206 ro
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
 
[...]

[    0.696113] io scheduler deadline registered (default)
[    0.696437] io scheduler cfq registered
[    0.696705] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.697052] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.697502] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    0.697951] ACPI: Power Button [PWRF]
[    0.698214] GHES: HEST is not enabled!
[    0.698808] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    0.719861] 00:01: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.740907] 00:02: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    0.742883] Linux agpgart interface v0.103
[    0.744250] brd: module loaded
[    0.745010] loop: module loaded
Segmentation fault (core dumped)

thanks,
-- 
John 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141020162043.GA66615>