VirtualBox

Changes between Version 12 and Version 13 of VirtualBox architecture


Ignore:
Timestamp:
Nov 16, 2006 5:18:08 PM (17 years ago)
Author:
jose
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VirtualBox architecture

    v12 v13  
    4141As said above, from the perspective of the host OS, a virtual machine is just another process. The host OS does not need much tweaking to support virtualization.
    4242
    43 When a VM is running, from your processor's point of view, your computer can be in one of several states:
     43When a VM is running, from your processor's point of view, your computer can be in one of several states (the following will require a good understanding of the x86 ring architecture):
    4444
    4545 1. Your CPU can be '''executing host ring-3 code''' (e.g. from other host processes), or '''host ring-0 code,''' just as it would be if !VirtualBox wasn't running.
     
    5353Also, in the !VirtualBox source code, you will find lots of references to "host context" or "guest context". Essentially, these mean:
    5454
    55  * '''Host context (HC)''' means that the host OS is in control of everything including virtual memory. In the !VirtualBox sources, the term "HC" will normally refer to the host's ring-3 context only. We only use host ring-0 (R0) context with our new Intel VMX (Vanderpool) support, which we'll leave out of the picture for now.
     55 * '''Host context (HC)''' means that the host OS is in control of everything including virtual memory. In the !VirtualBox sources, the term "HC" will normally refer to the host's ring-3 context only. We only use host ring-0 (R0) context with our new Intel VMX (Vanderpool) support, which we'll leave out of the picture for now (but see below).
    5656
    5757 * '''Guest context (GC)''' means that !VirtualBox has set up CPU & memory exactly the way the guest expects, but has inserted itself at the "bottom" of the picture, so that !VirtualBox gains control ''first'' for any privileged instructions executed, guest trap or external interrupts, before !VirtualBox may then possibly delegate handling such things to the host OS. So, in the guest context, we have
     
    7373
    7474
     75== Intel VMX ("Vanderpool") support ==
    7576
     77With its latest processors, Intel has introduced hardware virtualization support

© 2023 Oracle
ContactPrivacy policyTerms of Use