diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-12-14 16:41:19 +0100 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2016-03-17 16:41:43 -0500 |
commit | 643c8d8ec102097a4bee2ba0ec1e42415371e659 (patch) | |
tree | b45b4cd6737ae334b44c786782356f884544c43d /tests/libqos/malloc-generic.c | |
parent | 3ede27db321f84c6389290dc699d0a4e4c8975e5 (diff) | |
download | hqemu-643c8d8ec102097a4bee2ba0ec1e42415371e659.zip hqemu-643c8d8ec102097a4bee2ba0ec1e42415371e659.tar.gz |
block/raw-posix: avoid bogus fixup for cylinders on DASD disks
large volume DASD that have > 64k cylinders do claim to have
0xFFFE cylinders as special value in the old 16 bit field. We
want to pass this "token" along to the guest, instead of
calculating the real number. Otherwise qemu might fail with
"cyls must be between 1 and 65535"
Cc: qemu-stable@nongnu.org
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 972b543c6b63579aee590b738d21af09f01569f7)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'tests/libqos/malloc-generic.c')
0 files changed, 0 insertions, 0 deletions