qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: blp@cs.stanford.edu, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [patch] make PCI work with Windows NT 4 guest
Date: Sat, 09 Oct 2004 18:49:48 +0200	[thread overview]
Message-ID: <416816AC.6060600@bellard.org> (raw)
In-Reply-To: <877jt7ru1v.fsf@benpfaff.org>

Applied.

Fabrice.

Ben Pfaff wrote:
> This is the minimal patch that, combined with my previous patch,
> allows a Windows NT 4 guest to boot with qemu's PCI support
> enabled.  It seems that WNT4 is pretty grumpy about the DSC
> ("device seek complete") bit in the status register.  If we don't
> set it on WIN_SPECIFY, WNT4 times out and gives up on the device.
> 
> diff -u -p -u -r1.26 ide.c
> --- hw/ide.c	25 Jun 2004 14:54:19 -0000	1.26
> +++ hw/ide.c	14 Jul 2004 06:15:40 -0000
> @@ -1477,7 +1477,7 @@ static void ide_ioport_write(void *opaqu
>          case WIN_SPECIFY:
>          case WIN_RECAL:
>              s->error = 0;
> -            s->status = READY_STAT;
> +            s->status = READY_STAT | SEEK_STAT;
>              ide_set_irq(s);
>              break;
>          case WIN_SETMULT:
> 

  parent reply	other threads:[~2004-10-09 16:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-14  6:18 [Qemu-devel] [patch] make PCI work with Windows NT 4 guest Ben Pfaff
2004-07-14 11:01 ` Johannes Schindelin
2004-07-14 15:27   ` Ben Pfaff
2004-07-15 10:03     ` [Qemu-devel] Win98 network & cirrus logic success Johannes Schindelin
2004-07-15 18:45 ` [Qemu-devel] [patch] make PCI work with Windows NT 4 guest Hetz Ben Hamo
2004-10-09 16:49 ` Fabrice Bellard [this message]
2004-10-09 19:22   ` Magnus Damm

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=416816AC.6060600@bellard.org \
    --to=fabrice@bellard.org \
    --cc=blp@cs.stanford.edu \
    --cc=qemu-devel@nongnu.org \
    /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).