s390x: css: report errors from ccw_dstream_read/write
cover s390x: css: report errors from ccw_dstream_read/write
By checking the results of errors on SSCH in the kvm-unit-tests We noticed that no error was reported when a SSCH is started to access addresses not existing in the guest.
For exemple accessing 3G on a guest with 1G memory.
If we look at QEMU ccw_dstream_write/write functions we see that they are often not checked for error in various places.
It follows that accessing an invalid address does not trigger a subchannel status program check to the guest as it should.
Regards,
Pierre
Pierre Morel (1):
s390x: css: report errors from ccw_dstream_read/write
hw/char/terminal3270.c | 11 +++++-- hw/s390x/3270-ccw.c | 3 ++ hw/s390x/css.c | 16 +++++----- hw/s390x/virtio-ccw.c | 66 ++++++++++++++++++++++++++++++------------ 4 files changed, 69 insertions(+), 27 deletions(-)
Signature · 1 line
2.17.1
PATCH 1/1 s390x: css: report errors from ccw_dstream_read/write
ccw_dstream_read/write functions returned values are sometime not taking into account and reported back to the upper level of interpretation of CCW instructions.
It follows that accessing an invalid address does not trigger a subchannel status program check to the guest as it should.
Let's test the return values of ccw_dstream_write[_buf] and ccw_dstream_read[_buf] and report it to the caller.
--- hw/char/terminal3270.c | 11 +++++-- hw/s390x/3270-ccw.c | 3 ++ hw/s390x/css.c | 16 +++++----- hw/s390x/virtio-ccw.c | 66 ++++++++++++++++++++++++++++++------------ 4 files changed, 69 insertions(+), 27 deletions(-)
hw/char/terminal3270.c +9 -2
@@ -200,9 +200,13 @@ static int read_payload_3270(EmulatedCcw3270Device *dev) {Terminal3270 *t =TERMINAL_3270 (dev);int len; +int ret; len =MIN (ccw_dstream_avail (get_cds (t)), t->in_len); -ccw_dstream_write_buf (get_cds (t), t->inv, len); + ret =ccw_dstream_write_buf (get_cds (t), t->inv, len); +if (ret <0 ) { +return ret; + } t->in_len -= len;return len;
@@ -260,7 +264,10 @@ static int write_payload_3270(EmulatedCcw3270Device *dev, uint8_t cmd) t->outv[out_len++] = cmd; do { - ccw_dstream_read_buf(get_cds(t), &t->outv[out_len], len); + retval = ccw_dstream_read_buf(get_cds(t), &t->outv[out_len], len); + if (retval < 0) { + return retval; + } count = ccw_dstream_avail(get_cds(t)); out_len += len;
hw/s390x/3270-ccw.c +3 -0
@@ -31,6 +31,9 @@ static int handle_payload_3270_read(EmulatedCcw3270Device *dev, CCW1 *ccw) } len = ck->read_payload_3270 (dev); +if (len <0 ) { +return len; + } ccw_dev->sch->curr_status.scsw.count = ccw->count - len;return 0 ;
hw/s390x/css.c +9 -7
@@ -1055,10 +1055,11 @@ static int css_interpret_ccw(SubchDev *sch, hwaddr ccw_addr, } } len =MIN (ccw.count,sizeof (sch->sense_data)); -ccw_dstream_write_buf (&sch->cds, sch->sense_data, len); - sch->curr_status.scsw.count =ccw_dstream_residual_count (&sch->cds); -memset (sch->sense_data,0 ,sizeof (sch->sense_data)); - ret =0 ; + ret =ccw_dstream_write_buf (&sch->cds, sch->sense_data, len); +if (!ret) { + sch->curr_status.scsw.count =ccw_dstream_residual_count (&sch->cds); +memset (sch->sense_data,0 ,sizeof (sch->sense_data)); + }break ;case CCW_CMD_SENSE_ID : {
@@ -1083,9 +1084,10 @@ static int css_interpret_ccw(SubchDev *sch, hwaddr ccw_addr, }else { sense_id[0 ] =0 ; } -ccw_dstream_write_buf (&sch->cds, sense_id, len); - sch->curr_status.scsw.count =ccw_dstream_residual_count (&sch->cds); - ret =0 ; + ret =ccw_dstream_write_buf (&sch->cds, sense_id, len); +if (!ret) { + sch->curr_status.scsw.count =ccw_dstream_residual_count (&sch->cds); + }break ; }case CCW_CMD_TIC :
hw/s390x/virtio-ccw.c +48 -18
138 lines not on this page · raw message
Signature · 1 line
2.17.1
Quoted 9 lines · On Tue, 6 Apr 2021 09:44:13 +0200 Pierre Morel <[email protected]> wrote:
ccw_dstream_read/write functions returned values are sometime not taking into account and reported back to the upper level of interpretation of CCW instructions.
It follows that accessing an invalid address does not trigger a subchannel status program check to the guest as it should.
Let's test the return values of ccw_dstream_write[_buf] and ccw_dstream_read[_buf] and report it to the caller.
Yes, checking/propagating the return code is something that was missing in several places.
Quoted 15 lines
Signed-off-by Pierre Morel <[email protected]>--- hw/char/terminal3270.c | 11 +++++-- hw/s390x/3270-ccw.c | 3 ++ hw/s390x/css.c | 16 +++++----- hw/s390x/virtio-ccw.c | 66 ++++++++++++++++++++++++++++++------------ 4 files changed, 69 insertions(+), 27 deletions(-)hw/char/terminal3270.c +0
-0@@ -200,9 +200,13 @@ static int read_payload_3270(EmulatedCcw3270Device *dev) {
hw/char/terminal3270.c static int read_payload_3270(EmulatedCcw3270Device *dev) · line 209
Quoted 10 lines
hw/char/terminal3270.c +5
-1Terminal3270 *t =TERMINAL_3270 (dev);int len; +int ret; len =MIN (ccw_dstream_avail (get_cds (t)), t->in_len); -ccw_dstream_write_buf (get_cds (t), t->inv, len); + ret =ccw_dstream_write_buf (get_cds (t), t->inv, len); +if (ret <0 ) { +return ret; + }
This looks correct: together with the change below, you end up propagating a negative error value to the ccw callback handling.
hw/char/terminal3270.c static int write_payload_3270(EmulatedCcw3270Device *dev, uint8_t cmd) · line 269
Quoted 11 lines
hw/char/terminal3270.c +3
-1t->in_len -= len;return len;@@ -260,7 +264,10 @@ static int write_payload_3270(EmulatedCcw3270Device *dev, uint8_t cmd) t->outv[out_len++] = cmd; do { - ccw_dstream_read_buf(get_cds(t), &t->outv[out_len], len); + retval = ccw_dstream_read_buf(get_cds(t), &t->outv[out_len], len); + if (retval < 0) { + return retval;
Here, however, I'm not sure. Returning a negative error here is fine, but handle_payload_3270_write (not changed in this patch) seems to match everything to -EIO. Shouldn't it just be propagated, and maybe 0 mapped to -EIO only? If I'm not confused, we'll end up mapping every error to intervention required.
Quoted 23 lines
hw/char/terminal3270.c +1
-0+ } count =ccw_dstream_avail (get_cds (t)); out_len += len;hw/s390x/3270-ccw.c +3
-0@@ -31,6 +31,9 @@ static int handle_payload_3270_read(EmulatedCcw3270Device *dev, CCW1 *ccw) } len = ck->read_payload_3270 (dev); +if (len <0 ) { +return len; + } ccw_dev->sch->curr_status.scsw.count = ccw->count - len;return 0 ;hw/s390x/css.c +0
-0
hw/s390x/css.c static int css_interpret_ccw(SubchDev *sch, hwaddr ccw_addr, · line 1060
Quoted 10 lines
hw/s390x/css.c +3
-4@@ -1055,10 +1055,11 @@ static int css_interpret_ccw(SubchDev *sch, hwaddr ccw_addr, } } len =MIN (ccw.count,sizeof (sch->sense_data)); -ccw_dstream_write_buf (&sch->cds, sch->sense_data, len); - sch->curr_status.scsw.count =ccw_dstream_residual_count (&sch->cds); -memset (sch->sense_data,0 ,sizeof (sch->sense_data)); - ret =0 ; + ret =ccw_dstream_write_buf (&sch->cds, sch->sense_data, len); +if (!ret) { + sch->curr_status.scsw.count =ccw_dstream_residual_count (&sch->cds);
I'm wondering about the residual count here. Table 16-7 "Contents of Count Field in SCSW" in the PoP looks a bit more complicated for some error conditions, especially if IDALs are involved. Not sure if we should attempt to write something to count in those conditions; but on the other hand, I don't think our error conditions are as complex anyway, and we can make this simplification.
Quoted 9 lines
hw/s390x/css.c +2
-0+memset (sch->sense_data,0 ,sizeof (sch->sense_data)); + }break ;case CCW_CMD_SENSE_ID : {@@ -1083,9 +1084,10 @@ static int css_interpret_ccw(SubchDev *sch, hwaddr ccw_addr, }else { sense_id[0 ] =0 ; }
hw/s390x/css.c static int css_interpret_ccw(SubchDev *sch, hwaddr ccw_addr, · line 1093
Quoted 10 lines
hw/s390x/css.c +4
-3-ccw_dstream_write_buf (&sch->cds, sense_id, len); - sch->curr_status.scsw.count =ccw_dstream_residual_count (&sch->cds); - ret =0 ; + ret =ccw_dstream_write_buf (&sch->cds, sense_id, len); +if (!ret) { + sch->curr_status.scsw.count =ccw_dstream_residual_count (&sch->cds); + }break ; }case CCW_CMD_TIC :
(...)
Otherwise, looks good.
Quoted 50 lines · Cornelia Huck
Quoted 9 lines · On Tue, 6 Apr 2021 09:44:13 +0200 Pierre Morel <[email protected]> wrote:
ccw_dstream_read/write functions returned values are sometime not taking into account and reported back to the upper level of interpretation of CCW instructions.
It follows that accessing an invalid address does not trigger a subchannel status program check to the guest as it should.
Let's test the return values of ccw_dstream_write[_buf] and ccw_dstream_read[_buf] and report it to the caller.
Yes, checking/propagating the return code is something that was missing in several places.
Quoted 15 lines
Signed-off-by Pierre Morel <[email protected]>--- hw/char/terminal3270.c | 11 +++++-- hw/s390x/3270-ccw.c | 3 ++ hw/s390x/css.c | 16 +++++----- hw/s390x/virtio-ccw.c | 66 ++++++++++++++++++++++++++++++------------ 4 files changed, 69 insertions(+), 27 deletions(-)hw/char/terminal3270.c +0
-0@@ -200,9 +200,13 @@ static int read_payload_3270(EmulatedCcw3270Device *dev) {hw/char/terminal3270.c static int read_payload_3270(EmulatedCcw3270Device *dev) · line 209
Quoted 10 lines
hw/char/terminal3270.c +5
-1Terminal3270 *t =TERMINAL_3270 (dev);int len; +int ret; len =MIN (ccw_dstream_avail (get_cds (t)), t->in_len); -ccw_dstream_write_buf (get_cds (t), t->inv, len); + ret =ccw_dstream_write_buf (get_cds (t), t->inv, len); +if (ret <0 ) { +return ret; + }This looks correct: together with the change below, you end up propagating a negative error value to the ccw callback handling.
Quoted 5 lines
hw/char/terminal3270.c +0
-0t->in_len -= len;return len;@@ -260,7 +264,10 @@ static int write_payload_3270(EmulatedCcw3270Device *dev, uint8_t cmd)
Quoted 12 lines
hw/char/terminal3270.c static int write_payload_3270(EmulatedCcw3270Device *dev, uint8_t cmd) · line 269
Quoted 6 lines
hw/char/terminal3270.c +3
-1t->outv[out_len++] = cmd; do { - ccw_dstream_read_buf(get_cds(t), &t->outv[out_len], len); + retval = ccw_dstream_read_buf(get_cds(t), &t->outv[out_len], len); + if (retval < 0) { + return retval;Here, however, I'm not sure. Returning a negative error here is fine, but
handle_payload_3270_write(not changed in this patch) seems to match everything to-EIO. Shouldn't it just be propagated, and maybe 0 mapped to-EIOonly? If I'm not confused, we'll end up mapping every error to intervention required.
I know very little about the 3270 but in my opinion accessing memory is not the problem of the device but of the subchannel. So we should certainly propagate the error instead of returning -EIO for any error.
---> what about
hw/s390x/3270-ccw.c +1 -1
@@ -53,7 +53,7 @@ static int handle_payload_3270_write(EmulatedCcw3270Device *dev, CCW1 *ccw) len = ck->write_payload_3270 (dev, ccw->cmd_code);if (len <=0 ) { -return -EIO ; +return len ? len : -EIO ; } ccw_dev->sch->curr_status.scsw.count = ccw->count - len;
-----------------
Quoted 33 lines
Quoted 33 lines
hw/char/terminal3270.c +1
-0+ } count =ccw_dstream_avail (get_cds (t)); out_len += len;hw/s390x/3270-ccw.c +3
-0@@ -31,6 +31,9 @@ static int handle_payload_3270_read(EmulatedCcw3270Device *dev, CCW1 *ccw) } len = ck->read_payload_3270 (dev); +if (len <0 ) { +return len; + } ccw_dev->sch->curr_status.scsw.count = ccw->count - len;return 0 ;hw/s390x/css.c +2
-4@@ -1055,10 +1055,11 @@ static int css_interpret_ccw(SubchDev *sch, hwaddr ccw_addr, } } len =MIN (ccw.count,sizeof (sch->sense_data)); -ccw_dstream_write_buf (&sch->cds, sch->sense_data, len); - sch->curr_status.scsw.count =ccw_dstream_residual_count (&sch->cds); -memset (sch->sense_data,0 ,sizeof (sch->sense_data)); - ret =0 ; + ret =ccw_dstream_write_buf (&sch->cds, sch->sense_data, len); +if (!ret) {
Quoted 8 lines
hw/s390x/css.c static int css_interpret_ccw(SubchDev *sch, hwaddr ccw_addr, · line 1060
Quoted 1 line
hw/s390x/css.c +1
-0+ sch->curr_status.scsw.count =ccw_dstream_residual_count (&sch->cds);I'm wondering about the residual count here. Table 16-7 "Contents of Count Field in SCSW" in the PoP looks a bit more complicated for some error conditions, especially if IDALs are involved. Not sure if we should attempt to write something to count in those conditions; but on the other hand, I don't think our error conditions are as complex anyway, and we can make this simplification.
I think you are right.ccw_dstream_residual_count() should know what to do return there and we should not ignore it.
On the other hand erasing should only be done if all went OK because a following sense, with the right parameters, may succeed. What do you think?
Quoted 23 lines
Quoted 20 lines
hw/s390x/css.c +6
-3+memset (sch->sense_data,0 ,sizeof (sch->sense_data)); + }break ;case CCW_CMD_SENSE_ID : {@@ -1083,9 +1084,10 @@ static int css_interpret_ccw(SubchDev *sch, hwaddr ccw_addr, }else { sense_id[0 ] =0 ; } -ccw_dstream_write_buf (&sch->cds, sense_id, len); - sch->curr_status.scsw.count =ccw_dstream_residual_count (&sch->cds); - ret =0 ; + ret =ccw_dstream_write_buf (&sch->cds, sense_id, len); +if (!ret) { + sch->curr_status.scsw.count =ccw_dstream_residual_count (&sch->cds); + }break ; }case CCW_CMD_TIC :(...)
Quoted 2 lines
Otherwise, looks good.
Thanks,
Pierre
Signature · 2 lines
Pierre Morel IBM Lab Boeblingen
Quoted 10 lines · On Wed, 7 Apr 2021 13:41:57 +0200 Pierre Morel <[email protected]> wrote:
Quoted 5 lines
Here, however, I'm not sure. Returning a negative error here is fine, but
handle_payload_3270_write(not changed in this patch) seems to match everything to-EIO. Shouldn't it just be propagated, and maybe 0 mapped to-EIOonly? If I'm not confused, we'll end up mapping every error to intervention required.I know very little about the 3270 but in my opinion accessing memory is not the problem of the device but of the subchannel.
So we should certainly propagate the error instead of returning-EIOfor any error.
I agree, what condition needs to be indicated when we encounter an invalid CCW, IDAW or MIDAW address is clear. In the PoP this is described under Chapter 16. I/O Interruptions > Subchannel-Status Word > Subchannel-Status Field > Program Check in the paragraphs on "Invalid IDAW or MIDAW Address and "Invalid CCW Address".
My guess about handle_payload_3270_write() is that IMHO the initial 3270 emulation code was, let's say of mixed quality in the first place, so wouldn't seek some hidden meaning/sense, behind the -EIO. IMHO first mapping architectural conditions to "errno-style" error codes, passing these around, and then mapping them back is a litle non-intuitive. If one looks at the purpose of handle_payload_3270_write(), it is basically emulating an IO data transfer from the device into the main storage. If that sort of operation. So with -EIO the original author probably wanted to say: hey there was an input/output error, which ain't that wrong. The problem is that somewhere up the call stack EIO gets interpreted in a very peculiar way, and along with other errnos mapped to CIO architecture stuff like SCSW bits.
Regards,
Halil
Quoted 20 lines · On Wed, 7 Apr 2021 18:54:26 +0200 Halil Pasic <[email protected]> wrote:
Quoted 10 lines · On Wed, 7 Apr 2021 13:41:57 +0200 Pierre Morel <[email protected]> wrote:
Quoted 5 lines
Here, however, I'm not sure. Returning a negative error here is fine, but
handle_payload_3270_write(not changed in this patch) seems to match everything to-EIO. Shouldn't it just be propagated, and maybe 0 mapped to-EIOonly? If I'm not confused, we'll end up mapping every error to intervention required.I know very little about the 3270 but in my opinion accessing memory is not the problem of the device but of the subchannel.
So we should certainly propagate the error instead of returning-EIOfor any error.I agree, what condition needs to be indicated when we encounter an invalid CCW, IDAW or MIDAW address is clear. In the PoP this is described under Chapter 16. I/O Interruptions > Subchannel-Status Word > Subchannel-Status Field > Program Check in the paragraphs on "Invalid IDAW or MIDAW Address and "Invalid CCW Address".
Quoted 12 lines
My guess about
handle_payload_3270_write()is that IMHO the initial 3270 emulation code was, let's say of mixed quality in the first place, so wouldn't seek some hidden meaning/sense, behind the-EIO. IMHO first mapping architectural conditions to "errno-style" error codes, passing these around, and then mapping them back is a litle non-intuitive. If one looks at the purpose ofhandle_payload_3270_write(), it is basically emulating an IO data transfer from the device into the main storage. If that sort of operation. So with-EIOthe original author probably wanted to say: hey there was an input/output error, which ain't that wrong. The problem is that somewhere up the call stack EIO gets interpreted in a very peculiar way, and along with other errnos mapped to CIO architecture stuff like SCSW bits.
It's not quite clear to me what the 3270 is supposed to do (I remember some requirements for the aforementioned intervention required, but posting unit checks does not look like the right thing to do for all of the possible errors.)
Let's just loop the error through? I doubt that this is the last problem in the 3270 code :) Fortunately, it is a rather obscure device to be used with QEMU.
Quoted 3 lines · On Tue, 6 Apr 2021 09:44:13 +0200 Pierre Morel <[email protected]> wrote:
ccw_dstream_read/write functions returned values are sometime not taking into account and reported back to the upper level of interpretation of CCW instructions.
The return values of ccw_dstream_write/read were intentionally ignored in commit f57ba05823 ("virtio-ccw: use ccw data stream") to avoid changes in behavior that wound not contribute to the objective of the patch-set, like silently doing more error checking and handling.
If we consider the first hunk:
hw/s390x/virtio-ccw.c +5 -17
@@ -289,49 +289,19 @@ static int virtio_ccw_handle_set_vq(SubchDev *sch, CCW1 ccw, bool check_len,return -EFAULT ; }if (is_legacy) { - linfo.queue =address_space_ldq_be (&address_space_memory, ccw.cda, -MEMTXATTRS_UNSPECIFIED ,NULL ); - linfo.align =address_space_ldl_be (&address_space_memory, - ccw.cda +sizeof (linfo.queue), -MEMTXATTRS_UNSPECIFIED , -NULL ); - linfo.index =address_space_lduw_be (&address_space_memory, - ccw.cda +sizeof (linfo.queue) - +sizeof (linfo.align), -MEMTXATTRS_UNSPECIFIED , -NULL ); - linfo.num =address_space_lduw_be (&address_space_memory, - ccw.cda +sizeof (linfo.queue) - +sizeof (linfo.align) - +sizeof (linfo.index), -MEMTXATTRS_UNSPECIFIED , -NULL ); +ccw_dstream_read (&sch->cds, linfo); +be64_to_cpus (&linfo.queue); +be32_to_cpus (&linfo.align); +be16_to_cpus (&linfo.index); +be16_to_cpus (&linfo.num);
we can see, that the original code did not contain any error checking regarding the invalidity of the guest physical address.
What was the behavior there? The last argument of address_space_* where we pass the NULL is actually an optional pointer to the MemTxResult, which would tell us if the operation succeeded or failed. Passing NULL there means, we don't care.
My guess is that when those loads fail (or the read fails) we will just carry on with the garbage we found on the stack.
So this begs the question, do we need this fixed for old releases as well?
My answer is yes we do. Conny what do you think?
Regards,
Halil
Quoted 3 lines · On Wed, 7 Apr 2021 19:47:11 +0200 Halil Pasic <[email protected]> wrote:
So this begs the question, do we need this fixed for old releases as well?
My answer is yes we do. Conny what do you think?
What do you mean with "old releases"? The dstream rework was in 2.11, and I doubt that anyone is using anything older, or a downstream release that is based on pre-2.11.
If you mean "include in stable", then yes, we can do that; if we want the commit in 6.0, I need the final version soon.
Quoted 5 lines · Cornelia Huck
Quoted 2 lines · On Wed, 7 Apr 2021 19:47:11 +0200 Halil Pasic <[email protected]> wrote:
So this begs the question, do we need this fixed for old releases as well?
Quoted 10 lines
Quoted 1 line
My answer is yes we do. Conny what do you think?
What do you mean with "old releases"? The dstream rework was in 2.11, and I doubt that anyone is using anything older, or a downstream release that is based on pre-2.11.
If you mean "include in stable", then yes, we can do that; if we want the commit in 6.0, I need the final version soon.
OK, are you OK with the two change propositions I sent?
1) let the 3270 decide for internal errors (-EIO) but return the error for CSS errors in handle_payload_3270_write()
2) for senseid, always ask CSS to update the residual count but only erase the senseid if the write succeeded
Signature · 2 lines
Pierre Morel IBM Lab Boeblingen
Quoted 17 lines · On Thu, 8 Apr 2021 14:32:11 +0200 Pierre Morel <[email protected]> wrote:
Quoted 5 lines · Cornelia Huck
Quoted 2 lines · On Wed, 7 Apr 2021 19:47:11 +0200 Halil Pasic <[email protected]> wrote:
So this begs the question, do we need this fixed for old releases as well?
Quoted 10 lines
Quoted 1 line
My answer is yes we do. Conny what do you think?
What do you mean with "old releases"? The dstream rework was in 2.11, and I doubt that anyone is using anything older, or a downstream release that is based on pre-2.11.
If you mean "include in stable", then yes, we can do that; if we want the commit in 6.0, I need the final version soon.
Quoted 9 lines
OK, are you OK with the two change propositions I sent?
1) let the 3270 decide for internal errors (
-EIO) but return the error for CSS errors inhandle_payload_3270_write()2) for senseid, always ask CSS to update the residual count but only erase the senseid if the write succeeded
I think both make sense.
Quoted 25 lines · Cornelia Huck
Quoted 22 lines · On Thu, 8 Apr 2021 14:32:11 +0200 Pierre Morel <[email protected]> wrote:
Quoted 5 lines · Cornelia Huck
Quoted 2 lines · On Wed, 7 Apr 2021 19:47:11 +0200 Halil Pasic <[email protected]> wrote:
So this begs the question, do we need this fixed for old releases as well?
Quoted 10 lines
Quoted 1 line
My answer is yes we do. Conny what do you think?
What do you mean with "old releases"? The dstream rework was in 2.11, and I doubt that anyone is using anything older, or a downstream release that is based on pre-2.11.
If you mean "include in stable", then yes, we can do that; if we want the commit in 6.0, I need the final version soon.
OK, are you OK with the two change propositions I sent?
1) let the 3270 decide for internal errors (
-EIO) but return the error for CSS errors inhandle_payload_3270_write()
Quoted 7 lines
Quoted 4 lines
2) for senseid, always ask CSS to update the residual count but only erase the senseid if the write succeeded
I think both make sense.
OK I send a v2
Thanks
Pierre
Signature · 2 lines
Pierre Morel IBM Lab Boeblingen
Quoted 5 lines · On Thu, 8 Apr 2021 11:02:32 +0200 Cornelia Huck <[email protected]> wrote:
Quoted 2 lines · On Wed, 7 Apr 2021 19:47:11 +0200 Halil Pasic <[email protected]> wrote:
So this begs the question, do we need this fixed for old releases as well?
Quoted 8 lines
Quoted 1 line
My answer is yes we do. Conny what do you think?
What do you mean with "old releases"? The dstream rework was in 2.11, and I doubt that anyone is using anything older, or a downstream release that is based on pre-2.11.
If you mean "include in stable", then yes, we can do that; if we want the commit in 6.0, I need the final version soon.
With old releases, I wanted to say any QEMU that is still supported by us ;). For upstream it is backport to the stable versions currently in support.
The commit message does not tell us if this is an enhancement or a bugfix, stable is not mentioned, and neither do we get the information since when is this problem existent. I simply wanted to have that discussion.
Would it make sense to split this up into a virtio-ccw a css and a 3270 patch? That way if there was a problem with let's say 3270, we could still keep the other two?
Regards,
Halil
Quoted 21 lines · On Thu, 8 Apr 2021 14:39:59 +0200 Halil Pasic <[email protected]> wrote:
Quoted 5 lines · On Thu, 8 Apr 2021 11:02:32 +0200 Cornelia Huck <[email protected]> wrote:
Quoted 2 lines · On Wed, 7 Apr 2021 19:47:11 +0200 Halil Pasic <[email protected]> wrote:
So this begs the question, do we need this fixed for old releases as well?
Quoted 8 lines
Quoted 1 line
My answer is yes we do. Conny what do you think?
What do you mean with "old releases"? The dstream rework was in 2.11, and I doubt that anyone is using anything older, or a downstream release that is based on pre-2.11.
If you mean "include in stable", then yes, we can do that; if we want the commit in 6.0, I need the final version soon.
With old releases, I wanted to say any QEMU that is still supported by us ;). For upstream it is backport to the stable versions currently in support.
Quoted 8 lines
The commit message does not tell us if this is an enhancement or a bugfix, stable is not mentioned, and neither do we get the information since when is this problem existent. I simply wanted to have that discussion.
Would it make sense to split this up into a virtio-ccw a css and a 3270 patch? That way if there was a problem with let's say 3270, we could still keep the other two?
I'm not sure that makes sense; it's not too complicated.