KVM: nVMX: Do not expose APICv to L1 if disabled on L0
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest3 patches 8 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | KVM: nVMX: Refresh APICv secondary exec controls by re-calculating all of themarch/ | +6 | 3 replies | |
| 2/3 | KVM: nVMX: Update nested MSRs in case APICv refreshingarch/ | +2 | 2 replies | |
| 3/3 | KVM: nVMX: Fix nested APICv Secondary CPU Controls when apicv disabledarch/ | +6 | 3 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Liran Alon | Krish Sadhukhan |
|---|---|---|
| 1/3 | R-b | R-b |
| 2/3 | R-b | R-b |
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] KVM: nVMX: Do not expose APICv to L1 if disabled on L0
Hi,
This series aims to fix issue of exposing APICv features to L1 when enable_apicv==false in L0.
The first patch is just a refactoring of existing code. It replaces updating of VMX APICv related secondary exec controls, in generic secondary exec control re-computation. This is done to avoid code-duplication which is error-prone.
The second patch makes sure that if APICv is disabled dynamically when Hyper-V SynIC is enabled, then also make sure to not expose APICv features to L1 in VMX MSRs.
The third patch fix a bug of exposing some APICv related features to L1 even though APICv is disabled in L0.
Regards,
-Arbel Moshe