* [Qemu-devel] qemu ./Makefile.target ./usb-linux.c ./vl.c ./v...
@ 2006-05-25 23:58 Paul Brook
2006-05-26 0:01 ` Johannes Schindelin
2006-05-26 15:34 ` Blue Swirl
0 siblings, 2 replies; 7+ messages in thread
From: Paul Brook @ 2006-05-25 23:58 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /sources/qemu
Module name: qemu
Branch:
Changes by: Paul Brook <pbrook@savannah.gnu.org> 06/05/25 23:58:51
Modified files:
. : Makefile.target usb-linux.c vl.c vl.h
hw : esp.c ide.c usb-hid.c usb-hub.c usb.c usb.h
Added files:
hw : cdrom.c scsi-disk.c usb-msd.c
Log message:
Rearrange SCSI disk emulation code.
Add USB mass storage device emulation.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/Makefile.target.diff?tr1=1.111&tr2=1.112&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/usb-linux.c.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/vl.c.diff?tr1=1.186&tr2=1.187&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/vl.h.diff?tr1=1.120&tr2=1.121&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/hw/cdrom.c?rev=1.1
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/hw/esp.c.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/hw/ide.c.diff?tr1=1.43&tr2=1.44&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/hw/scsi-disk.c?rev=1.1
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/hw/usb-hid.c.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/hw/usb-hub.c.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/hw/usb-msd.c?rev=1.1
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/hw/usb.c.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/hw/usb.h.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] qemu ./Makefile.target ./usb-linux.c ./vl.c ./v...
2006-05-25 23:58 Paul Brook
@ 2006-05-26 0:01 ` Johannes Schindelin
2006-05-26 0:15 ` Paul Brook
2006-05-26 15:34 ` Blue Swirl
1 sibling, 1 reply; 7+ messages in thread
From: Johannes Schindelin @ 2006-05-26 0:01 UTC (permalink / raw)
To: qemu-devel
Hi,
On Thu, 25 May 2006, Paul Brook wrote:
> Add USB mass storage device emulation.
Cool! Does this work with the VFAT emulation layer?
Ciao,
Dscho
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] qemu ./Makefile.target ./usb-linux.c ./vl.c ./v...
2006-05-26 0:01 ` Johannes Schindelin
@ 2006-05-26 0:15 ` Paul Brook
0 siblings, 0 replies; 7+ messages in thread
From: Paul Brook @ 2006-05-26 0:15 UTC (permalink / raw)
To: qemu-devel
On Friday 26 May 2006 01:01, Johannes Schindelin wrote:
> Hi,
>
> On Thu, 25 May 2006, Paul Brook wrote:
> > Add USB mass storage device emulation.
>
> Cool! Does this work with the VFAT emulation layer?
In theory I think it should. I haven't tested it though.
Paul
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [Qemu-devel] qemu ./Makefile.target ./usb-linux.c ./vl.c ./v...
2006-05-25 23:58 Paul Brook
2006-05-26 0:01 ` Johannes Schindelin
@ 2006-05-26 15:34 ` Blue Swirl
2006-05-26 15:43 ` Paul Brook
1 sibling, 1 reply; 7+ messages in thread
From: Blue Swirl @ 2006-05-26 15:34 UTC (permalink / raw)
To: paul; +Cc: qemu-devel
>Log message:
> Rearrange SCSI disk emulation code.
At least partial transfers are broken, the command returns zero data.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] qemu ./Makefile.target ./usb-linux.c ./vl.c ./v...
2006-05-26 15:34 ` Blue Swirl
@ 2006-05-26 15:43 ` Paul Brook
0 siblings, 0 replies; 7+ messages in thread
From: Paul Brook @ 2006-05-26 15:43 UTC (permalink / raw)
To: Blue Swirl; +Cc: qemu-devel
On Friday 26 May 2006 16:34, Blue Swirl wrote:
> >Log message:
> > Rearrange SCSI disk emulation code.
>
> At least partial transfers are broken, the command returns zero data.
Could you elaborate a bit more please? I've no idea what you mean by "partial
transfers".
Paul
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] qemu ./Makefile.target ./usb-linux.c ./vl.c ./v...
@ 2006-05-26 15:55 Blue Swirl
2006-05-26 16:06 ` Paul Brook
0 siblings, 1 reply; 7+ messages in thread
From: Blue Swirl @ 2006-05-26 15:55 UTC (permalink / raw)
To: paul; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 490 bytes --]
>Could you elaborate a bit more please? I've no idea what you mean by
>"partial
>transfers".
Actually the problem was that Qemu block devices use fixed sector size 512,
not variable 2048/512 like scsi layer. This meant that the bdrv_read
transferred too little data. Fix attached.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
[-- Attachment #2: qemu-sparc.patch-55.bz2 --]
[-- Type: application/octet-stream, Size: 349 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] qemu ./Makefile.target ./usb-linux.c ./vl.c ./v...
2006-05-26 15:55 [Qemu-devel] qemu ./Makefile.target ./usb-linux.c ./vl.c ./v Blue Swirl
@ 2006-05-26 16:06 ` Paul Brook
0 siblings, 0 replies; 7+ messages in thread
From: Paul Brook @ 2006-05-26 16:06 UTC (permalink / raw)
To: qemu-devel
On Friday 26 May 2006 16:55, Blue Swirl wrote:
> >Could you elaborate a bit more please? I've no idea what you mean by
> >"partial
> >transfers".
>
> Actually the problem was that Qemu block devices use fixed sector size 512,
> not variable 2048/512 like scsi layer. This meant that the bdrv_read
> transferred too little data. Fix attached.
Ah, I see. I'm fairly sure your patch is not sufficient though. I'll look into
it.
Paul
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-05-26 16:06 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-26 15:55 [Qemu-devel] qemu ./Makefile.target ./usb-linux.c ./vl.c ./v Blue Swirl
2006-05-26 16:06 ` Paul Brook
-- strict thread matches above, loose matches on Subject: below --
2006-05-25 23:58 Paul Brook
2006-05-26 0:01 ` Johannes Schindelin
2006-05-26 0:15 ` Paul Brook
2006-05-26 15:34 ` Blue Swirl
2006-05-26 15:43 ` Paul Brook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).