Re: [Qemu-devel] [PATCH] qemu-io: Fix discard command

2011-01-28 Thread Stefan Hajnoczi
On Thu, Jan 27, 2011 at 01:36:12PM +0100, Kevin Wolf wrote: > qemu-io passed bytes where it's supposed to pass sectors, so discard requests > were off. > > Signed-off-by: Kevin Wolf > --- > qemu-io.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/qemu-io.c b/qemu

[Qemu-devel] [PATCH] qemu-io: Fix discard command

2011-01-27 Thread Kevin Wolf
qemu-io passed bytes where it's supposed to pass sectors, so discard requests were off. Signed-off-by: Kevin Wolf --- qemu-io.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu-io.c b/qemu-io.c index 5b24c5e..4470e49 100644 --- a/qemu-io.c +++ b/qemu-io.c @@ -1465,7