qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] scsi-disk.c: Handle inquiry commands of varying len


From: Justin Chevrier
Subject: [Qemu-devel] [PATCH] scsi-disk.c: Handle inquiry commands of varying length
Date: Tue, 2 Dec 2008 12:40:56 -0800 (PST)

Openserver 5.0.5 sends an Inquiry command to the emulated SCSI disk expecting a 
response length of 40 bytes. Currently the response to an Inquiry command is 
hardcoded to 36 bytes. When receiving a response of length 36 instead of 40 
Openserver panics.

Modifications to original patch based on feedback from Ryan Harper and Paul 
Brook. Thanks guys.

Justin

Changelog:

Handle inquiry commands of varying length

Signed-off-by: Justin Chevrier <address@hidden>


      

Attachment: variable_inq.diff
Description: Text document


reply via email to

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