Re: [Xen-devel] [PATCH] x86/svm: Fix handling of EFLAGS.RF on task switch

2019-12-09 Thread Jürgen Groß
On 03.12.19 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

Re: [Xen-devel] [PATCH] x86/svm: Fix handling of EFLAGS.RF on task switch

2019-12-09 Thread Tian, Kevin
> From: Andrew Cooper > Sent: Wednesday, December 4, 2019 6:31 AM > > 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

Re: [Xen-devel] [PATCH] x86/svm: Fix handling of EFLAGS.RF on task switch

2019-12-04 Thread Jan Beulich
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

[Xen-devel] [PATCH] x86/svm: Fix handling of EFLAGS.RF on task switch

2019-12-03 Thread Andrew Cooper
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