diff options
author | jhb <jhb@FreeBSD.org> | 2014-07-30 00:00:12 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2014-07-30 00:00:12 +0000 |
commit | 05d21354c3d64c3089d354a52eca11b88891c54f (patch) | |
tree | e7b9fce7148f57632fbd8611866095749d288e8f /sys/x86/include/specialreg.h | |
parent | f19c3089aff7b57651db4c1cae67cf7a20653ee4 (diff) | |
download | FreeBSD-src-05d21354c3d64c3089d354a52eca11b88891c54f.zip FreeBSD-src-05d21354c3d64c3089d354a52eca11b88891c54f.tar.gz |
- Output a summary of optional VT-x features in dmesg similar to CPU
features. If bootverbose is enabled, a detailed list is provided;
otherwise, a single-line summary is displayed.
- Add read-only sysctls for optional VT-x capabilities used by bhyve
under a new hw.vmm.vmx.cap node. Move a few exiting sysctls that
indicate the presence of optional capabilities under this node.
CR: https://phabric.freebsd.org/D498
Reviewed by: grehan, neel
MFC after: 1 week
Diffstat (limited to 'sys/x86/include/specialreg.h')
-rw-r--r-- | sys/x86/include/specialreg.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h index e1e8d81..bdc16e7 100644 --- a/sys/x86/include/specialreg.h +++ b/sys/x86/include/specialreg.h @@ -436,6 +436,25 @@ #define MSR_MC4_MISC 0x413 /* + * VMX MSRs + */ +#define MSR_VMX_BASIC 0x480 +#define MSR_VMX_PINBASED_CTLS 0x481 +#define MSR_VMX_PROCBASED_CTLS 0x482 +#define MSR_VMX_EXIT_CTLS 0x483 +#define MSR_VMX_ENTRY_CTLS 0x484 +#define MSR_VMX_CR0_FIXED0 0x486 +#define MSR_VMX_CR0_FIXED1 0x487 +#define MSR_VMX_CR4_FIXED0 0x488 +#define MSR_VMX_CR4_FIXED1 0x489 +#define MSR_VMX_PROCBASED_CTLS2 0x48b +#define MSR_VMX_EPT_VPID_CAP 0x48c +#define MSR_VMX_TRUE_PINBASED_CTLS 0x48d +#define MSR_VMX_TRUE_PROCBASED_CTLS 0x48e +#define MSR_VMX_TRUE_EXIT_CTLS 0x48f +#define MSR_VMX_TRUE_ENTRY_CTLS 0x490 + +/* * X2APIC MSRs */ #define MSR_APIC_ID 0x802 |