* [Qemu-devel] [PATCH] IDE: Implement SEEK command (resend)
@ 2008-12-10 15:44 Justin Chevrier
2008-12-10 18:17 ` Aurelien Jarno
0 siblings, 1 reply; 2+ messages in thread
From: Justin Chevrier @ 2008-12-10 15:44 UTC (permalink / raw)
To: qemu-devel
Resend original patch with correct Signed-off-by. Original text below.
Openserver issues a SEEK command during initial drive detection. It refuses to report the hard drive if this command fails. This patch gets Openserver to list the hard drive but installation still fails (freezes) later on due to an unrelated IDE issue (patch on its way).
Justin
Changelog:
Implement SEEK command
Signed-off-by: Justin Chevrier <theburner1@yahoo.com>
Index: hw/ide.c
===================================================================
--- hw/ide.c (revision 5948)
+++ hw/ide.c (working copy)
@@ -2324,6 +2324,13 @@
s->status = READY_STAT;
ide_set_irq(s);
break;
+ case WIN_SEEK:
+ if(s->is_cdrom)
+ goto abort_cmd;
+ /* XXX: Check that seek is within bounds */
+ s->status = READY_STAT | SEEK_STAT;
+ ide_set_irq(s);
+ break;
/* ATAPI commands */
case WIN_PIDENTIFY:
if (s->is_cdrom) {
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] IDE: Implement SEEK command (resend)
2008-12-10 15:44 [Qemu-devel] [PATCH] IDE: Implement SEEK command (resend) Justin Chevrier
@ 2008-12-10 18:17 ` Aurelien Jarno
0 siblings, 0 replies; 2+ messages in thread
From: Aurelien Jarno @ 2008-12-10 18:17 UTC (permalink / raw)
To: theburner1, qemu-devel
On Wed, Dec 10, 2008 at 07:44:04AM -0800, Justin Chevrier wrote:
> Resend original patch with correct Signed-off-by. Original text below.
>
>
> Openserver issues a SEEK command during initial drive detection. It refuses to report the hard drive if this command fails. This patch gets Openserver to list the hard drive but installation still fails (freezes) later on due to an unrelated IDE issue (patch on its way).
>
> Justin
>
> Changelog:
>
> Implement SEEK command
>
> Signed-off-by: Justin Chevrier <theburner1@yahoo.com>
Thanks, applied.
> Index: hw/ide.c
> ===================================================================
> --- hw/ide.c (revision 5948)
> +++ hw/ide.c (working copy)
> @@ -2324,6 +2324,13 @@
> s->status = READY_STAT;
> ide_set_irq(s);
> break;
> + case WIN_SEEK:
> + if(s->is_cdrom)
> + goto abort_cmd;
> + /* XXX: Check that seek is within bounds */
> + s->status = READY_STAT | SEEK_STAT;
> + ide_set_irq(s);
> + break;
> /* ATAPI commands */
> case WIN_PIDENTIFY:
> if (s->is_cdrom) {
>
>
>
>
>
>
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-10 18:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-10 15:44 [Qemu-devel] [PATCH] IDE: Implement SEEK command (resend) Justin Chevrier
2008-12-10 18:17 ` Aurelien Jarno
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).