On Mon, 11 Mar 2019 11:21:31 -0400
"Jason J. Herne" <jjhe...@linux.ibm.com> wrote:

> The boot method is different depending on which device type we are
> booting from. Let's examine the control unit type to determine if we're
> a virtio device. We'll eventually add a case to check for a real dasd device
> here as well.
> 
> Since we have to call enable_subchannel() in main now, might as well
> remove that call from virtio.c : run_ccw(). This requires adding some
> additional enable_subchannel calls to not break calls to
> virtio_is_supported().
> 
> Signed-off-by: Jason J. Herne <jjhe...@linux.ibm.com>
> ---
>  pc-bios/s390-ccw/main.c    | 16 ++++++++++++++--
>  pc-bios/s390-ccw/netmain.c |  1 +
>  pc-bios/s390-ccw/virtio.c  |  1 -
>  3 files changed, 15 insertions(+), 3 deletions(-)

Reviewed-by: Cornelia Huck <coh...@redhat.com>

Reply via email to