|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH v2 07/20] vpc, vhdx: add get_info |
Date: | Wed, 20 Nov 2013 13:50:35 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9 |
Il 20/11/2013 13:39, Stefan Hajnoczi ha scritto: >> > + >> > + bdi->cluster_size = >> > + (s->logical_sector_size / BDRV_SECTOR_SIZE) * s->block_size; > I thought s->block_size is in bytes. Why multiply by the logical block > size in 512-byte sectors? My mistake. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |