]> git.proxmox.com Git - qemu.git/commit
s390/css: Fix subchannel detection
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 22 Feb 2013 09:01:32 +0000 (09:01 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 8 Mar 2013 20:17:46 +0000 (21:17 +0100)
commit38dd7cc776bbde7edbe60ba5d0abbd156e7e0f2f
tree20a39fe3dad1c6892b8c7dad8cbd09f48caadd41
parent35569cea79fd3f5ccb5b23ca024c7d3aa4d24e75
s390/css: Fix subchannel detection

We have to consider the m bit to find the real channel subsystem when
determining the last subchannel.

If we fail to take this into account, removal of a subchannel in
the middle of a big list of devices will stop device detection after
a reboot.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/s390x/css.c
target-s390x/cpu.h
target-s390x/ioinst.c