Uploaded image for project: 'OASIS Virtual I/O Device (VIRTIO) TC'
  1. OASIS Virtual I/O Device (VIRTIO) TC
  2. VIRTIO-116

ccw transport needs to allow failing WRITE_STATUS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: virtio 1.0 csprd01, virtio 1.0 csprd02, virtio 1.0 csprd03, virtio 1.0 cs01
    • Fix Version/s: virtio 1.0 cs03
    • Labels:
      None
    • Environment:

      Cornelia Huck <cornelia.huck@de.ibm.com>

    • Proposal:
      Hide

      Failure scenarios for driver and device need to be documented:

      • driver must check for failures of WRITE_STATUS and treat device as unusable
      • device must post failure of WRITE_STATUS if the driver tries to set a wrong state

      Proposed patch: (updated)
      https://lists.oasis-open.org/archives/virtio/201502/msg00014.html

      Old proposal (listed here for completenes, please ignore for voting purposes):
      https://lists.oasis-open.org/archives/virtio/201410/msg00031.html

      Show
      Failure scenarios for driver and device need to be documented: driver must check for failures of WRITE_STATUS and treat device as unusable device must post failure of WRITE_STATUS if the driver tries to set a wrong state Proposed patch: (updated) https://lists.oasis-open.org/archives/virtio/201502/msg00014.html Old proposal (listed here for completenes, please ignore for voting purposes): https://lists.oasis-open.org/archives/virtio/201410/msg00031.html

      Description

      The WRITE_STATUS ccw command needs to be able to fail, e.g. when the driver wants to set FEATURES_OK but the device can't work with the features.

        Attachments

          Activity

            People

            • Assignee:
              cornelia.huck Cornelia Huck (Inactive)
              Reporter:
              cornelia.huck Cornelia Huck (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: