[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 3/3] x86/VT-x: Enumeration for CET
On 26.04.2021 19:54, Andrew Cooper wrote: > VT-x has separate entry/exit control for loading guest/host state. Saving > guest state on vmexit is performed unconditionally. With the latter I find ... > --- a/xen/arch/x86/hvm/vmx/vmcs.c > +++ b/xen/arch/x86/hvm/vmx/vmcs.c > @@ -2014,6 +2014,9 @@ void vmcs_dump_vcpu(struct vcpu *v) > printk("RFLAGS=0x%08lx (0x%08lx) DR7 = 0x%016lx\n", > vmr(GUEST_RFLAGS), regs->rflags, > vmr(GUEST_DR7)); > + if ( vmentry_ctl & VM_ENTRY_LOAD_GUEST_CET ) > + printk("SSP = 0x%016lx S_CET = 0x%016lx ISST = 0x%016lx\n", > + vmr(GUEST_SSP), vmr(GUEST_S_CET), vmr(GUEST_ISST)); ... the conditional here a little odd, but I expect the plan is to have the various bits all set consistently once actually enabling the functionality. Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |