This repository has been archived by the owner on Feb 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Add cpuid hypervisor support to work with virtualization #17
Merged
Commits on Oct 24, 2019
-
Add cpuid hypervisor support to work with visualization
Issue: acidanthera/bugtracker#531 For some reason that some msr not impletement in such hypervisor (QEMU/KVM/VMWare), so some logic may not work fine in a VM. This commit will add cpuid hypervisor support to indicate whether we are under visualization, then we do some tricks to make it work.
Configuration menu - View commit details
-
Copy full SHA for a18376f - Browse repository at this point
Copy the full SHA a18376fView commit details
Commits on Oct 25, 2019
-
Add VMWare Timing Support when it is under visualization.
According to these links: 1. [CPUID usage for interaction between Hypervisors and Linux.](https://lwn.net/Articles/301888/) 2. [[Qemu-devel] [PATCH v2 0/3] x86-kvm: Fix Mac guest timekeeping by exposi](https://lists.gnu.org/archive/html/qemu-devel/2017-01/msg04344.html) There is a "VMWare Timing" Node located at 0x40000010 where we can get TSC/FSB Frequency.It is more sensable than get those freq in MSR which most hypervisor not implemented yet (KVM/VMWare).
Configuration menu - View commit details
-
Copy full SHA for 7d11001 - Browse repository at this point
Copy the full SHA 7d11001View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95c8535 - Browse repository at this point
Copy the full SHA 95c8535View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5b299f - Browse repository at this point
Copy the full SHA b5b299fView commit details
Commits on Oct 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 02385d6 - Browse repository at this point
Copy the full SHA 02385d6View commit details
Commits on Oct 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a0bfeae - Browse repository at this point
Copy the full SHA a0bfeaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f24a7a4 - Browse repository at this point
Copy the full SHA f24a7a4View commit details -
More accurate to determine whether we already got CPU/FSB Frequency f…
…rom VMWare Timing
Configuration menu - View commit details
-
Copy full SHA for 4ef4f74 - Browse repository at this point
Copy the full SHA 4ef4f74View commit details -
fixup! More accurate to determine whether we already got CPU/FSB Freq…
…uency from VMWare Timing
Configuration menu - View commit details
-
Copy full SHA for dc1ce69 - Browse repository at this point
Copy the full SHA dc1ce69View commit details
Commits on Oct 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9bd05a7 - Browse repository at this point
Copy the full SHA 9bd05a7View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.