kvm: fix cr0 initialization on SIPI reset
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | kvm: vmx: use macros instead of hex value on cr0 initializationarch/ | +1 | 0 replies | |
| 2/3 | kvm: svm: reset cr0 properly on vcpu resetarch/ | +5 | 5 replies | |
| 3/3 | kvm: svm: init_vmcb(): remove redundant save->cr0 initializationarch/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] kvm: fix cr0 initialization on SIPI reset
Hi,
The following patches fix a bug on the SIPI reset code for SVM. cr0 was not being reset properly, making KVM keep the vcpu on paging mode, thus not being able to run the real-mode boostrap code. This bug was reported at:
https://bugzilla.redhat.com/show_bug.cgi?id=525699
The first patch is cosmetic, and it just changes the vmx code to use the same macros when initializing cr0, instead of a hardcoded hex value.
The patches were tested by running a RHEL-5.4 guest and and triggering the SIPI reset by offlining and onlining cpus on the guest. They were tested on both NPT-enabled and NPT-disabled cases.
Signature · 1 line
Eduardo