qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 07/24] block: rename buffer_alignment to gues


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH v2 07/24] block: rename buffer_alignment to guest_block_size
Date: Sat, 11 Jan 2014 23:26:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 13.12.2013 14:22, Kevin Wolf wrote:
From: Paolo Bonzini <address@hidden>

The alignment field is now set to the value that is promised to the
guest, rather than required by the host.  The next patches will make
QEMU aware of the host-provided values, so make this clear.

The alignment is also not about memory buffers, but about the sectors on
the disk, change the documentation of the field.

At this point, the field is set by the device emulation, but completely
ignored by the block layer.

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Wenchao Xia <address@hidden>
---
  block.c                   | 10 +++++-----
  hw/block/virtio-blk.c     |  2 +-
  hw/ide/core.c             |  2 +-
  hw/scsi/scsi-disk.c       |  2 +-
  hw/scsi/scsi-generic.c    |  2 +-
  include/block/block.h     |  2 +-
  include/block/block_int.h |  4 ++--
  7 files changed, 12 insertions(+), 12 deletions(-)

Reviewed-by: Max Reitz <address@hidden>



reply via email to

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