mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
Typo, spelling and grammatical fixes
Minor fixes to documentation and code comments. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
5947c697ce
commit
e03ba13637
9 changed files with 18 additions and 18 deletions
|
@ -494,10 +494,10 @@ static void virtio_blk_update_config(VirtIODevice *vdev, uint8_t *config)
|
|||
blkcfg.heads = s->conf->heads;
|
||||
/*
|
||||
* We must ensure that the block device capacity is a multiple of
|
||||
* the logical block size. If that is not the case, lets use
|
||||
* the logical block size. If that is not the case, let's use
|
||||
* sector_mask to adopt the geometry to have a correct picture.
|
||||
* For those devices where the capacity is ok for the given geometry
|
||||
* we dont touch the sector value of the geometry, since some devices
|
||||
* we don't touch the sector value of the geometry, since some devices
|
||||
* (like s390 dasd) need a specific value. Here the capacity is already
|
||||
* cyls*heads*secs*blk_size and the sector value is not block size
|
||||
* divided by 512 - instead it is the amount of blk_size blocks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue