On Fri, Sep 06, 2024, Maxim Levitsky wrote: > Implement the emul_is_noncanonical_address() using > is_noncanonical_address(). > > This will allow to extend the is_noncanonical_address() to support > different flavors of canonical checks. > > Also add X86EMUL_F_MSR and X86EMUL_F_DT_LOAD emulation flags which will be > used to indicate an emulation of a msr or a segment base load, which > will affect the required canonical check. Adding the flags belongs in a separate patch, there's no reason to squeeze them into this patch. Just an FYI, I'll split/fixup when applying.