• Farhan Ali's avatar
    vfio-ccw: Introduce a new CRW region · d8cac29b
    Farhan Ali authored
    This region provides a mechanism to pass a Channel Report Word
    that affect vfio-ccw devices, and needs to be passed to the guest
    for its awareness and/or processing.
    
    The base driver (see crw_collect_info()) provides space for two
    CRWs, as a subchannel event may have two CRWs chained together
    (one for the ssid, one for the subchannel).  As vfio-ccw will
    deal with everything at the subchannel level, provide space
    for a single CRW to be transferred in one shot.
    Signed-off-by: default avatarFarhan Ali <alifm@linux.ibm.com>
    Signed-off-by: default avatarEric Farman <farman@linux.ibm.com>
    Reviewed-by: default avatarCornelia Huck <cohuck@redhat.com>
    Message-Id: <20200505122745.53208-7-farman@linux.ibm.com>
    [CH: added padding to ccw_crw_region]
    Signed-off-by: default avatarCornelia Huck <cohuck@redhat.com>
    d8cac29b
vfio-ccw.rst 16 KB