On 2022/8/28 05:47, Jarkko Sakkinen wrote: >> - struct sgx_encl_page *encl_owner; >> + union { >> + struct sgx_encl_page *encl_owner; >> + /* Use when SGX_EPC_PAGE_KVM_GUEST set in ->flags: */ >> + void __user *vepc_vaddr; > Revisiting this, I'd tend to think that simple > "void *owner" would be less complicated option > than this. > > Thoughts? > > BR, Jarkko > Thanks for your thought, Jarkko. The reason is in the reply of patch 01, let's discuss it there. Best Regards, Zhiquan