[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [RFC PATCH 11/16] x86/svm: Introduce NPCTRL VMCB bits
Those bits are used to enable SEV-related features in VMCB. Signed-off-by: Andrei Semenov <andrei.semenov@xxxxxxxxxx> Signed-off-by: Teddy Astie <teddy.astie@xxxxxxxxxx> --- xen/arch/x86/include/asm/hvm/svm/vmcb.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/xen/arch/x86/include/asm/hvm/svm/vmcb.h b/xen/arch/x86/include/asm/hvm/svm/vmcb.h index 3d871b6135..fd166498f2 100644 --- a/xen/arch/x86/include/asm/hvm/svm/vmcb.h +++ b/xen/arch/x86/include/asm/hvm/svm/vmcb.h @@ -143,6 +143,17 @@ enum DRInterceptBits DR_INTERCEPT_DR15_WRITE = 1u << 31, }; +/* Miscellanious controls in _np_ctrl*/ +enum NpCtrlBits +{ + NPCTRL_NP_ENABLE = 1 << 0, + NPCTRL_SEV_ENABLE = 1 << 1, + NPCTRL_SEVES_ENABLE = 1 << 2, + NPCTRL_GMET_ENABLE = 1 << 3, + NPCTRL_NPSSS_ENABL = 1 << 4, + NPCTRL_VTE_ENABLE = 1 << 5, +}; + enum VMEXIT_EXITCODE { /* control register read exitcodes */ -- 2.49.0 Teddy Astie | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |