On 03.12.2019 23:30, Andrew Cooper wrote: > VT-x updates RF before vmexit, so eflags written into the outgoing TSS happens > to be correct. SVM does not update RF before vmexit, and instead provides it > via a bit in exitinfo2. > > In practice, needing RF set in the outgoing state occurs when a task gate is > used to handle faults. > > Extend hvm_task_switch() with an extra_eflags parameter which gets fed into > the outgoing TSS, and fill it in suitably from the SVM vmexit information. > > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel