Re: [PATCH v6 14/18] s390x: protvirt: Move IO control structures over SIDA

2020-03-05 Thread David Hildenbrand
On 05.03.20 10:55, Janosch Frank wrote: > On 3/4/20 7:56 PM, David Hildenbrand wrote: >> On 04.03.20 12:42, Janosch Frank wrote: >>> For protected guests, we need to put the IO emulation results into the >>> SIDA, so SIE will write them into the guest at the next entry. >>> >> >> [...] >> >>> >>>

Re: [PATCH v6 14/18] s390x: protvirt: Move IO control structures over SIDA

2020-03-05 Thread Janosch Frank
On 3/4/20 7:56 PM, David Hildenbrand wrote: > On 04.03.20 12:42, Janosch Frank wrote: >> For protected guests, we need to put the IO emulation results into the >> SIDA, so SIE will write them into the guest at the next entry. >> > > [...] > >> >> if (ioinst_disassemble_sch_ident(reg1, &m,

Re: [PATCH v6 14/18] s390x: protvirt: Move IO control structures over SIDA

2020-03-04 Thread David Hildenbrand
On 04.03.20 12:42, Janosch Frank wrote: > For protected guests, we need to put the IO emulation results into the > SIDA, so SIE will write them into the guest at the next entry. > [...] > > if (ioinst_disassemble_sch_ident(reg1, &m, &cssid, &ssid, &schid)) { > +if (env->pv) { > +

[PATCH v6 14/18] s390x: protvirt: Move IO control structures over SIDA

2020-03-04 Thread Janosch Frank
For protected guests, we need to put the IO emulation results into the SIDA, so SIE will write them into the guest at the next entry. Signed-off-by: Janosch Frank --- target/s390x/ioinst.c | 87 ++- 1 file changed, 61 insertions(+), 26 deletions(-) diff -