[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 03/10] pc-bios/s390-ccw: handle different sector
From: |
Eugene \"jno\" Dvurechenski |
Subject: |
Re: [Qemu-devel] [PULL 03/10] pc-bios/s390-ccw: handle different sector sizes |
Date: |
Fri, 27 Jun 2014 16:59:42 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 06/27/2014 03:45 PM, Alexander Graf wrote:
>> {
>> - const int max_entries = (SECTOR_SIZE / sizeof(ScsiBlockPtr));
>> + const int max_entries = (MAX_SECTOR_SIZE / sizeof(ScsiBlockPtr));
>
> Is this really safe to increase? Doesn't max_entries depend on the real
> sector size?
This is the top limit for a table that takes entire block.
Real end-of-table is being handled by the code.
--
Best Regards,
Eugene "jno" Dvurechenski
zLinux (KVM) Development - Software Engineer
IBM Russia - Science & Technology Center
phone: +7 (495) 660 8940 ext. 1021
jno.vcf
Description: Vcard
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PULL 02/10] pc-bios/s390-ccw: cleanup and enhance bootmap defintions, (continued)
- [Qemu-devel] [PULL 02/10] pc-bios/s390-ccw: cleanup and enhance bootmap defintions, Cornelia Huck, 2014/06/27
- [Qemu-devel] [PULL 04/10] pc-bios/s390-ccw: add some utility code, Cornelia Huck, 2014/06/27
- [Qemu-devel] [PULL 05/10] pc-bios/s390-ccw: Unify error handling, Cornelia Huck, 2014/06/27
- [Qemu-devel] [PULL 01/10] pc-bios/s390-ccw: make checkpatch happy, Cornelia Huck, 2014/06/27
- [Qemu-devel] [PULL 03/10] pc-bios/s390-ccw: handle different sector sizes, Cornelia Huck, 2014/06/27
- Re: [Qemu-devel] [PULL 03/10] pc-bios/s390-ccw: handle different sector sizes,
Eugene \"jno\" Dvurechenski <=
[Qemu-devel] [PULL 07/10] pc-bios/s390-ccw: factor out ipl code, Cornelia Huck, 2014/06/27
[Qemu-devel] [PULL 09/10] pc-bios/s390-ccw: IPL from LDL/CMS-formatted ECKD DASD, Cornelia Huck, 2014/06/27
[Qemu-devel] [PULL 06/10] pc-bios/s390-ccw: Add fill_hex_val func to provide better msgs, Cornelia Huck, 2014/06/27
[Qemu-devel] [PULL 10/10] pc-bios/s390-ccw: update binary, Cornelia Huck, 2014/06/27
[Qemu-devel] [PULL 08/10] pc-bios/s390-ccw: IPL from CDL-formatted ECKD DASD, Cornelia Huck, 2014/06/27
Re: [Qemu-devel] [PULL 00/10] for-2.1: s390-ccw bios patches, Peter Maydell, 2014/06/29