From: Kevin Wolf <kwolf@redhat.com>
To: Christoph Hellwig <hch@lst.de>
Cc: Conor Murphy <conor_murphy_virt@hotmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] virtio-blk: fail unaligned requests
Date: Thu, 07 Apr 2011 15:55:41 +0200 [thread overview]
Message-ID: <4D9DC25D.6090808@redhat.com> (raw)
In-Reply-To: <20110406182834.GA471@lst.de>
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 <conor_murphy_virt@hotmail.com>
> Tested-by: Conor Murphy <conor_murphy_virt@hotmail.com>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
Thanks, applied to the block branch.
Kevin
prev parent reply other threads:[~2011-04-07 13:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-06 18:28 [Qemu-devel] [PATCH] virtio-blk: fail unaligned requests Christoph Hellwig
2011-04-07 8:46 ` Stefan Hajnoczi
2011-04-07 13:55 ` Kevin Wolf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D9DC25D.6090808@redhat.com \
--to=kwolf@redhat.com \
--cc=conor_murphy_virt@hotmail.com \
--cc=hch@lst.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.