Re: [PATCH v2 1/2] KVM: s390: load guest access registers in MEM_OP ioctl

2024-02-16 Thread Eric Farman
On Fri, 2024-02-16 at 11:33 -0500, Eric Farman wrote: > On Fri, 2024-02-16 at 10:40 +0100, Heiko Carstens wrote: > > On Thu, Feb 15, 2024 at 09:53:43PM +0100, Eric Farman wrote: > > > The routine ar_translation() can be reached by both the > > > instruction > > > intercept path (where the access re

Re: [PATCH v2 1/2] KVM: s390: load guest access registers in MEM_OP ioctl

2024-02-16 Thread Eric Farman
On Fri, 2024-02-16 at 10:40 +0100, Heiko Carstens wrote: > On Thu, Feb 15, 2024 at 09:53:43PM +0100, Eric Farman wrote: > > The routine ar_translation() can be reached by both the instruction > > intercept path (where the access registers had been loaded with the > > guest register contents), and t

Re: [PATCH v2 1/2] KVM: s390: load guest access registers in MEM_OP ioctl

2024-02-16 Thread Heiko Carstens
On Thu, Feb 15, 2024 at 09:53:43PM +0100, Eric Farman wrote: > The routine ar_translation() can be reached by both the instruction > intercept path (where the access registers had been loaded with the > guest register contents), and the MEM_OP ioctls (which hadn't). > This latter case means that an

[PATCH v2 1/2] KVM: s390: load guest access registers in MEM_OP ioctl

2024-02-15 Thread Eric Farman
The routine ar_translation() can be reached by both the instruction intercept path (where the access registers had been loaded with the guest register contents), and the MEM_OP ioctls (which hadn't). This latter case means that any ALET the guest expects to be used would be ignored. Fix this by sw