Skip to content
Commit d86ef585 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

cstart: do not assume CR4 starts as zero



The BIOS might leave some bits set in CR4; for example, CR4.DE=1 would
cause the SVM test for the DR intercept to fail, because DR4/DR5
can only be written when CR4.DE is clear, and otherwise trigger
a #GP exception.

Reported-by: default avatarNadav Amit <namit@vmware.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent a79c9495
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment