On 09/04/20 17:42, Xu, Like wrote: >> > Yes, I assume the svm->vmcb->control.exit_code is referred. > > What makes me confused is > why we need "vmx->exit_reason" and "vmx->fail" > for the same general purpose, but svm does not. Because VMLAUNCH/VMRESUME can also report vmFailValid and vmFailInvalid via the carry and zero flags, there is no equivalent of that for AMD virtualization extensions. Paolo