VirtualBox

Changes between Initial Version and Version 1 of Ticket #9756, comment 1


Ignore:
Timestamp:
Sep 3, 2012 6:43:18 PM (12 years ago)
Author:
Ralph Schmieder

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9756, comment 1

    initial v1  
    66}}}
    77
    8 The kernel obviously uses some mechanism to realize it's running on virtualized h/w and pulls some additional info thru some hypervisor API
     8The kernel obviously uses some mechanism to realize it's running on virtualized h/w and pulls some additional info thru some hypervisor API.
     9
     10[https://lkml.org/lkml/2008/10/20/469 Here's a link] to the relevant post on LKML, it's quite date and VirtualBox could use the same / similar mechanism as the original poster mentioned: "This patch also adds a hypervisor_get_tsc_freq function, instead of
     11calibrating the frequency which can be error prone in virtualized
     12environment, we ask the hypervisor for it. We get the frequency from
     13the hypervisor by accessing the backdoor port if we are running on VMware.
     14'''Other hypervisors too can add code to get frequency on their platform
     15to this routine.''' "

© 2023 Oracle
ContactPrivacy policyTerms of Use