9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <russcox@gmail.com>
To: 9fans <9fans@cse.psu.edu>
Subject: [9fans] plan 9 on qemu
Date: Thu, 23 Dec 2004 18:08:12 -0500	[thread overview]
Message-ID: <ee9e417a04122315084a71ec5b@mail.gmail.com> (raw)

I rebuilt the install floppy (it had been a year), so any
new hardware support should be present in it.  In particular,
it contains the vgadb entry for the QEMU vga card.

The CD-ROM is rebuilt every night so it was already up-to-date.

Jim and I looked at the QEMU disk issue today.  The problem
is that QEMU doesn't implement the (required) execute device
diagnostics command.  The following patch fixes QEMU.  I will
send it to the QEMU guys too.

*** hw/old.ide.c	Thu Dec 23 18:02:08 2004
--- hw/ide.c	Thu Dec 23 18:03:00 2004
***************
*** 1477,1482 ****
--- 1477,1489 ----
              }
              ide_set_irq(s);
              break;
+         case WIN_DIAGNOSE:
+             ide_set_signature(s);
+             s->status = READY_STAT;
+             /* 0x01: both devices passed or not present */
+             s->error = 0x01;
+             ide_set_irq(s);
+             break;
          case WIN_SPECIFY:
          case WIN_RECAL:
              s->error = 0;

Enjoy.
Russ


             reply	other threads:[~2004-12-23 23:08 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-23 23:08 Russ Cox [this message]
2004-12-24  3:52 ` Jack Johnson
2004-12-24  4:25   ` jmk
2004-12-25 18:58   ` jmk
2004-12-25 19:49   ` jmk
2004-12-24  5:54 ` Tim Newsham
2004-12-25 18:32 ` Tim Newsham
2004-12-25 20:09 ` Tim Newsham
2004-12-24  5:23 YAMANASHI Takeshi
2004-12-24  5:41 ` Kenji Okamoto
2004-12-24  5:47 ` Kenji Okamoto
2004-12-24 23:20 ` jmk
2004-12-25 19:02 ` Kenji Okamoto
2004-12-25 19:13 ` jmk
2004-12-25 20:03 ` Kenji Okamoto
2004-12-25 20:51 ` Kenji Okamoto
2004-12-25 21:07 ` jmk
2004-12-25 23:08 ` Kenji Okamoto
2004-12-24  6:26 YAMANASHI Takeshi
2004-12-26  5:03 ` Karl Magdsick
2004-12-26 17:09   ` Russ Cox
2004-12-24  6:26 YAMANASHI Takeshi
2004-12-24  6:43 ` Bruce Ellis
2004-12-24  6:55   ` Russ Cox
2004-12-24 13:02     ` Tiit Lankots
2004-12-24 17:23       ` Jack Johnson
2004-12-27  9:34         ` Tiit Lankots
2004-12-25 18:14 ` Tiit Lankots
2004-12-25 19:38 ` Tiit Lankots

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee9e417a04122315084a71ec5b@mail.gmail.com \
    --to=russcox@gmail.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).