2014-12-04 16:57+0100, Paolo Bonzini: > From: Wanpeng Li <wanpeng.li@xxxxxxxxxxxxxxx> > > Add vmcs12 support for xsaves. > > Signed-off-by: Wanpeng Li <wanpeng.li@xxxxxxxxxxxxxxx> > Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx> > --- Reviewed-by: Radim Krčmář <rkrcmar@xxxxxxxxxx> > + case EXIT_REASON_XSAVES: case EXIT_REASON_XRSTORS: > + /* > + * This should never happen, since it is not possible to > + * set XSS to a non-zero value---neither in L1 nor in L2. > + * If if it were, XSS would have to be checked against > + * the XSS exit bitmap in vmcs12. > + */ We could WARN then. > + return nested_cpu_has2(vmcs12, SECONDARY_EXEC_XSAVES); > default: > return 1; > } -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html