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

nSVM: Reset the VMCB before every v1 test



Refresh the VMCB before every v1 test to fix bugs where tests neglect to
initialize the VMCB and end up taking a dependency on previous tests,
e.g. looking at you mode_test and next_rip.  This will also allow tests
to modify VMCB fields without having to do their own manual save/restore.

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