Skip to content
Commit 6bfb9572 authored by Sean Christopherson's avatar Sean Christopherson Committed by Paolo Bonzini
Browse files

x86/debug: Test IN instead of RDMSR for single-step #DB emulation test



Replace RDMSR with IN so that testing single-step #DBs on emulated
instructions can be run in userspace (by modifying IOPL).  IN is also
more interesting in that it is guaranteed to exit to host userspace,
whereas RDMSR will do so if and only if userspace is filtering the target
MSR.

Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
Message-Id: <20220120002923.668708-4-seanjc@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 9734b423
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