forked from sophgo/linux-riscv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
Pull kvm fixes from Paolo Bonzini: - Only do MSR filtering for MSRs accessed by rdmsr/wrmsr - Documentation improvements - Prevent module exit until all VMs are freed - PMU Virtualization fixes - Fix for kvm_irq_delivery_to_apic_fast() NULL-pointer dereferences - Other miscellaneous bugfixes * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (42 commits) KVM: x86: fix sending PV IPI KVM: x86/mmu: do compare-and-exchange of gPTE via the user address KVM: x86: Remove redundant vm_entry_controls_clearbit() call KVM: x86: cleanup enter_rmode() KVM: x86: SVM: fix tsc scaling when the host doesn't support it kvm: x86: SVM: remove unused defines KVM: x86: SVM: move tsc ratio definitions to svm.h KVM: x86: SVM: fix avic spec based definitions again KVM: MIPS: remove reference to trap&emulate virtualization KVM: x86: document limitations of MSR filtering KVM: x86: Only do MSR filtering when access MSR by rdmsr/wrmsr KVM: x86/emulator: Emulate RDPID only if it is enabled in guest KVM: x86/pmu: Fix and isolate TSX-specific performance event logic KVM: x86: mmu: trace kvm_mmu_set_spte after the new SPTE was set KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs KVM: x86: Trace all APICv inhibit changes and capture overall status KVM: x86: Add wrappers for setting/clearing APICv inhibits KVM: x86: Make APICv inhibit reasons an enum and cleanup naming KVM: X86: Handle implicit supervisor access with SMAP KVM: X86: Rename variable smap to not_smap in permission_fault() ...
- Loading branch information
Showing
49 changed files
with
617 additions
and
414 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.. SPDX-License-Identifier: GPL-2.0 | ||
==================== | ||
KVM for s390 systems | ||
==================== | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
s390-diag | ||
s390-pv | ||
s390-pv-boot |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
|
||
======================================= | ||
Known limitations of CPU virtualization | ||
======================================= | ||
|
||
Whenever perfect emulation of a CPU feature is impossible or too hard, KVM | ||
has to choose between not implementing the feature at all or introducing | ||
behavioral differences between virtual machines and bare metal systems. | ||
|
||
This file documents some of the known limitations that KVM has in | ||
virtualizing CPU features. | ||
|
||
x86 | ||
=== | ||
|
||
``KVM_GET_SUPPORTED_CPUID`` issues | ||
---------------------------------- | ||
|
||
x87 features | ||
~~~~~~~~~~~~ | ||
|
||
Unlike most other CPUID feature bits, CPUID[EAX=7,ECX=0]:EBX[6] | ||
(FDP_EXCPTN_ONLY) and CPUID[EAX=7,ECX=0]:EBX]13] (ZERO_FCS_FDS) are | ||
clear if the features are present and set if the features are not present. | ||
|
||
Clearing these bits in CPUID has no effect on the operation of the guest; | ||
if these bits are set on hardware, the features will not be present on | ||
any virtual machine that runs on that hardware. | ||
|
||
**Workaround:** It is recommended to always set these bits in guest CPUID. | ||
Note however that any software (e.g ``WIN87EM.DLL``) expecting these features | ||
to be present likely predates these CPUID feature bits, and therefore | ||
doesn't know to check for them anyway. | ||
|
||
Nested virtualization features | ||
------------------------------ | ||
|
||
TBD | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.. SPDX-License-Identifier: GPL-2.0 | ||
=================== | ||
KVM for x86 systems | ||
=================== | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
amd-memory-encryption | ||
cpuid | ||
errata | ||
halt-polling | ||
hypercalls | ||
mmu | ||
msr | ||
nested-vmx | ||
running-nested-guests | ||
timekeeping |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.