Tuesday 25 August 2015

Can we emulate OVM inside VirtualBox ? #2

In the previous posting the quick answer was "no". However... the correct answer may be "yes".

In the Oracle VM Hand-on Labs, there is a download where the issue is solved. As it can be done in VMware, it should be possible in VirtualBox. The Hands-on VM is pre-build and doesn't explain how, nor the documentation (pdf). But I think the answer lies in the para-virtualization interface:



I am downloading the image to find out :)

Thursday 20 August 2015

Can we emulate OVM inside VirtualBox ?

Earlier I tried to run OVM inside VMWare Fusion, but I never was sure if we could run OVM inside VirtualBox.

I attempted this, and the answer is NO, at least not with VirtualBox 4. We can install OVS and OVMM, but once we start a machine, it appears the required instructionset is not available in VirtualBox.
Message:  OVMAPI_5001E Job: 1440092598809/QueuedVmStartDbImpl_1440092598808/Start/resume vm: test.0, on server: server2, failed. Job Failure Event: 1440092601373/Server Async Command Failed/OVMEVT_00C014D_001 Async command failed on server: server2. Object: test.0, PID: 11304, Server error: Command: ['xm', 'create', '/OVS/Repositories/0004fb000003000067b3b661e335f73e/VirtualMachines/0004fb0000060000562f999dab3e822f/vm.cfg'] failed (1): stderr: Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS? stdout: Using config file "/OVS/Repositories/0004fb000003000067b3b661e335f73e/VirtualMachines/0004fb0000060000562f999dab3e822f/vm.cfg". , on server: server2, associated with object: 0004fb0000060000562f999dab3e822f [Thu Aug 20 13:43:21 EDT 2015]
Even though hardware virtualization is available to the server:
vboxmanage list hostinfo
Host Information:

Host time: 2015-08-20T18:00:16.855000000Z
Processor online count: 4
Processor count: 4
Processor online core count: 4
Processor core count: 2
Processor#0 speed: 3100 MHz
Processor#0 description: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
Processor#1 speed: 3100 MHz
Processor#1 description: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
Processor#2 speed: 3100 MHz
Processor#2 description: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
Processor#3 speed: 3100 MHz
Processor#3 description: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
Memory size: 16384 MByte
Memory available: 5434 MByte
Operating system: Darwin
Operating system version: 14.5.0

vboxmanage showvminfo "OVM333s1"
Name:            OVM333s1
...
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     on
VT-x VPID:       on
VT-x unr. exec.: on
...

Tuesday 25 August 2015

Can we emulate OVM inside VirtualBox ? #2

In the previous posting the quick answer was "no". However... the correct answer may be "yes".

In the Oracle VM Hand-on Labs, there is a download where the issue is solved. As it can be done in VMware, it should be possible in VirtualBox. The Hands-on VM is pre-build and doesn't explain how, nor the documentation (pdf). But I think the answer lies in the para-virtualization interface:



I am downloading the image to find out :)

Thursday 20 August 2015

Can we emulate OVM inside VirtualBox ?

Earlier I tried to run OVM inside VMWare Fusion, but I never was sure if we could run OVM inside VirtualBox.

I attempted this, and the answer is NO, at least not with VirtualBox 4. We can install OVS and OVMM, but once we start a machine, it appears the required instructionset is not available in VirtualBox.
Message:  OVMAPI_5001E Job: 1440092598809/QueuedVmStartDbImpl_1440092598808/Start/resume vm: test.0, on server: server2, failed. Job Failure Event: 1440092601373/Server Async Command Failed/OVMEVT_00C014D_001 Async command failed on server: server2. Object: test.0, PID: 11304, Server error: Command: ['xm', 'create', '/OVS/Repositories/0004fb000003000067b3b661e335f73e/VirtualMachines/0004fb0000060000562f999dab3e822f/vm.cfg'] failed (1): stderr: Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS? stdout: Using config file "/OVS/Repositories/0004fb000003000067b3b661e335f73e/VirtualMachines/0004fb0000060000562f999dab3e822f/vm.cfg". , on server: server2, associated with object: 0004fb0000060000562f999dab3e822f [Thu Aug 20 13:43:21 EDT 2015]
Even though hardware virtualization is available to the server:
vboxmanage list hostinfo
Host Information:

Host time: 2015-08-20T18:00:16.855000000Z
Processor online count: 4
Processor count: 4
Processor online core count: 4
Processor core count: 2
Processor#0 speed: 3100 MHz
Processor#0 description: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
Processor#1 speed: 3100 MHz
Processor#1 description: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
Processor#2 speed: 3100 MHz
Processor#2 description: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
Processor#3 speed: 3100 MHz
Processor#3 description: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
Memory size: 16384 MByte
Memory available: 5434 MByte
Operating system: Darwin
Operating system version: 14.5.0

vboxmanage showvminfo "OVM333s1"
Name:            OVM333s1
...
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     on
VT-x VPID:       on
VT-x unr. exec.: on
...