qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] virtio-blk: fail unaligned requests


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] virtio-blk: fail unaligned requests
Date: Thu, 07 Apr 2011 15:55:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10

Am 06.04.2011 20:28, schrieb Christoph Hellwig:
> Like all block drivers virtio-blk should not allow small than block size
> granularity access.  But given that the protocol specifies a 
> byte unit length field we currently accept such requests, which cause
> qemu to abort() in lower layers.  Add checks to the main read and
> write handlers to catch them early.
> 
> Reported-by: Conor Murphy <address@hidden>
> Tested-by: Conor Murphy <address@hidden>
> Signed-off-by: Christoph Hellwig <address@hidden>

Thanks, applied to the block branch.

Kevin



reply via email to

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