[vbox-dev] 64-bit guest on 64-bit host
Nikolay Igotti
Nikolay.Igotti at Sun.COM
Tue Oct 27 09:46:58 PDT 2009
Hi,
Assuming you have very high level of understanding in amd64
architecture, and familiarity with dynamic code generation and
development of low level software, this task could be done in
approximately 5-8 months (as current VirtualBox already have support
for 64-bit addressing mode in hardware accelerated modes).
If you'll be able to do that, process of implementing this feature will
surely be both exciting and educating.
Techinically, you need to implement dynamic analyzer/compiler of 64-bit
machine code, finding priviledged instructions and replacing it with
code effectively emulating such behavior (by calling appropriate
hypervisor functions). Simple approach is to replace all priveledged
instructions with 0xcc (int3) and emulate behavior from trap handler,
but this will likely yield unacceptable performance. So better is to
use jumps to patches placed in unused areas of guest (kernel) address space.
See PATM module for further references.
Good luck,
Nikolay.
jakub007 at aster.pl пишет:
> Hello,
> Why VirtualBox currently doesn't support running 64-bit guest OS on
> 64-bit host on CPUs without Intel-VT/AMD-V?
> What should be done to implement it and how big effort would it take
> to complete? I've got some experience
> in C/C++ and Unices and free weekends...
>
> Regards,
> Jakub Jozwicki
> ------------------------------------------------------------------------
> Wiadomość wysłana z ASTER - http://www.aster.pl/
> ------------------------------------------------------------------------
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>
More information about the vbox-dev
mailing list