|
From: | Rik van Riel |
Subject: | Re: [Qemu-devel] [PATCH 3/3] SCSI divide capacity by s->cluster_size |
Date: | Wed, 28 Jan 2009 11:52:58 -0500 |
User-agent: | Thunderbird 2.0.0.17 (X11/20080915) |
Rene Rebe wrote:
Hi, > --- qemu.orig/trunk/hw/scsi-disk.c > +++ qemu/trunk/hw/scsi-disk.c > @@ -734,6 +734,7 @@ static int32_t scsi_send_command(SCSIDev > /* The normal LEN field for this command is zero. */ > memset(outbuf, 0, 8); > bdrv_get_geometry(s->bdrv, &nb_sectors); > + nb_sectors =/ s->cluster_size; /=
Doh! That's what I get for trying to make the code a little nicer after compiling it. -- All rights reversed.
[Prev in Thread] | Current Thread | [Next in Thread] |