Skip to content
Commit 5c92f156 authored by Manali Shukla's avatar Manali Shukla Committed by Paolo Bonzini
Browse files

x86: nSVM: Check #NM exception handling in L2



Add coverage for NM exception handling in L2 when only L2 NM
exception handler is registered

Verifies 3 different conditions for which #NM is generated and
handled in L2
1) CR0.TS is set - #NM is generated and handled in L2 exception
   handler
2) CR0.TS is cleared and CR0.EM is set - #NM is generated and
   handled in L2 exception handler
3) CR0.TS and CR0.EM are cleared - #NM is not generated

Signed-off-by: default avatarManali Shukla <manali.shukla@amd.com>
Message-Id: <20211229062201.26269-2-manali.shukla@amd.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 7480de8c
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