15#define VMERR_SUCCESS 0
16#define VMERR_INVALID (EXINFO_EXPECTED | EXINFO_AVAIL0)
17#define VMERR_VALID(x) (EXINFO_EXPECTED | EXINFO_AVAIL1 | ((x) & 0xffff))
unsigned int exinfo_t
Packed exception and error code information.
void check(const char *func, exinfo_t got, exinfo_t exp)
Compare an expectation against what really happenend, printing human-readable information in case of ...
uint32_t vmcs_revid
Hardware VMCS Revision ID.
void vmx_collect_data(void)
Collect real information about the VT-x environment, for use by test.
exinfo_t stub_vmxon_user(uint64_t paddr)
exinfo_t stub_vmptrld(uint64_t paddr)
static void clear_vmcs(void *_vmcs, uint32_t rev)
exinfo_t stub_vmxon(uint64_t paddr)
static uint8_t vmcs[PAGE_SIZE]