diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-03-02 16:27:09 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-03-10 09:26:23 +0100 |
commit | 5c8d542004b7474560bc4cb017d597ea320bd4ac (patch) | |
tree | fc98a3e53b156f758e7bcf300af18a43fefa370c /tests/usb-hcd-ohci-test.c | |
parent | 2be9d2927cca76d8475f0083e9ecc87baf1b8222 (diff) |
s390-ccw.img: Reinitialize guessing on reboot
guessed_disk_nature is a static zero variable. As the QEMU ELF
loader does not zero the BSS section, lets do it explicitely here.
This fixes reboot for some corner cases (like FCP flash
devices with logical_block_size=512, physical_block_size=4096)
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Tested-by: Eugene (jno) Dvurechenski <jno@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Message-Id: <1425310029-53396-3-git-send-email-borntraeger@de.ibm.com>
Diffstat (limited to 'tests/usb-hcd-ohci-test.c')
0 files changed, 0 insertions, 0 deletions