[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 03/10] pc-bios/s390-ccw: handle different sector
From: |
Eugene \"jno\" Dvurechenski |
Subject: |
Re: [Qemu-devel] [PATCH 03/10] pc-bios/s390-ccw: handle different sector sizes |
Date: |
Thu, 26 Jun 2014 19:08:41 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 06/26/2014 06:35 PM, Alexander Graf wrote:
>> - ns_end = sec + SECTOR_SIZE;
>> + ns_end = sec + virtio_get_block_size();
...
>> -#define SECTOR_SIZE 512
>> +#define SECTOR_SIZE 4096
>
> Why keep the define at all?
Just to use as default value and in storage allocation (and similar
static calculations) now.
--
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] [PATCH 00/10] pc-bios/s390-ccw: Add DASD IPL support, Jens Freimann, 2014/06/26
- [Qemu-devel] [PATCH 04/10] pc-bios/s390-ccw: add some utility code, Jens Freimann, 2014/06/26
- [Qemu-devel] [PATCH 05/10] pc-bios/s390-ccw: Unify error handling, Jens Freimann, 2014/06/26
- [Qemu-devel] [PATCH 09/10] pc-bios/s390-ccw: IPL from LDL/CMS-formatted ECKD DASD, Jens Freimann, 2014/06/26
- [Qemu-devel] [PATCH 10/10] pc-bios/s390-ccw: update binary, Jens Freimann, 2014/06/26
- [Qemu-devel] [PATCH 07/10] pc-bios/s390-ccw: factor out ipl code, Jens Freimann, 2014/06/26
- [Qemu-devel] [PATCH 06/10] pc-bios/s390-ccw: Add fill_hex_val func to provide better msgs, Jens Freimann, 2014/06/26
- [Qemu-devel] [PATCH 08/10] pc-bios/s390-ccw: IPL from CDL-formatted ECKD DASD, Jens Freimann, 2014/06/26
- Re: [Qemu-devel] [PATCH 00/10] pc-bios/s390-ccw: Add DASD IPL support, Alexander Graf, 2014/06/26