Sun VirtualBox question
Posted: Tue Oct 27, 2009 10:03 am
Hi osdever!
I hope that someone use the sun virtual box and know something about it. I use it to test my kernel that is multithread and also multiprocess. But i've got some problem.. You have to know that i test my kernel in a real pc with a pentium 4 and 512mb of ram and the virtual box is installed on my macbook with an intel core 2 duo and i've got snow leopard.
Now, i notice in virtual box the option on the VT-x/AMD-V and google say me that it is something to do a better and fast virtualization of the machine.
My kernel is very easy and for the moment i want only to test the fork syscall and the clone one. Both syscall work great in the real pc so i think that they aren't bugged.
But, if i try to desable the VT-x/AMD-V option, the fork doesn't work. (exactly, i've got a general protection fault while i try to switch to the son process)
As the same, if i enable the VT-x/AMD-V option, the clone doesn't work.
Maybe there is something bugged or wrong in my syscall, but first i wont to understand what enable or desable this option do. Thanks in advance for the reply.
EDIT: i also try my os in parallels and it works great, no problem for both the syscall.
I hope that someone use the sun virtual box and know something about it. I use it to test my kernel that is multithread and also multiprocess. But i've got some problem.. You have to know that i test my kernel in a real pc with a pentium 4 and 512mb of ram and the virtual box is installed on my macbook with an intel core 2 duo and i've got snow leopard.
Now, i notice in virtual box the option on the VT-x/AMD-V and google say me that it is something to do a better and fast virtualization of the machine.
My kernel is very easy and for the moment i want only to test the fork syscall and the clone one. Both syscall work great in the real pc so i think that they aren't bugged.
But, if i try to desable the VT-x/AMD-V option, the fork doesn't work. (exactly, i've got a general protection fault while i try to switch to the son process)
As the same, if i enable the VT-x/AMD-V option, the clone doesn't work.
Maybe there is something bugged or wrong in my syscall, but first i wont to understand what enable or desable this option do. Thanks in advance for the reply.
EDIT: i also try my os in parallels and it works great, no problem for both the syscall.