qemu-devel
[Top][All Lists]
Advanced

[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

Attachment: jno.vcf
Description: Vcard

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]