Skip to content
Commit ecd5b431 authored by David Matlack's avatar David Matlack Committed by Paolo Bonzini
Browse files

x86: basic vmwrite/vmread test



Issues VMWRITE to every VMCS field and the checks that VMREAD returns
the expected result. Some tricky cases: read-only fields (skipped),
not-yet-implemented fields (skipped, VMREAD fails with VMfailValid),
guest segment access rights fields (reserved bits are zeroed by the
CPU, so only check non-reserved bits).

Signed-off-by: default avatarDavid Matlack <dmatlack@google.com>
Message-Id: <20170421005004.137260-10-dmatlack@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 799a84f8
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