[vbox-dev] how virtualbox process self-examing code

Alexey Eromenko al4321 at gmail.com
Thu Mar 31 04:26:53 PDT 2011


On Thu, Mar 31, 2011 at 9:35 AM, 高小明 <gxm.vbox at gmail.com> wrote:
> hi guys:
>  i'm reading the source code recently,but i'm confused about how virtualbox
> process self-examing code.
> because virtualbox dynamic patches guest code, if the guest code calculate
> code checksum,it will know it runs in virtualization,so how virtualbox
> handled it???
>

I am not a developer, but a long-term contributor, and it is my
understanding that software virtualization doesn't hides completely
from guest code, and guest code may detect such incorrect behavior,
and fail. It just happens to work with most versions of Linux guests
and Windows NT-class guests.

Using hardware virtualization (VT-x/AMD-V) should result in correct
behavior for all x86 code.

Status: Guest OSes
http://www.virtualbox.org/wiki/Guest_OSes

-- 
-Alexey Eromenko "Technologov"




More information about the vbox-dev mailing list