qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Cc: Marcelo Tosatti <mtosatti@redhat.com>,
	Paul Brook <paul@codesourcery.com>
Subject: Re: [Qemu-devel] LSI SCSI: raise UDC on infinite loop (resend #1)
Date: Mon, 22 Sep 2008 09:53:16 -0500	[thread overview]
Message-ID: <48D7B15C.6010607@codemonkey.ws> (raw)
In-Reply-To: <20080912123831.GA22472@dmt.cnet>

Hi Marcelo,

Marcelo Tosatti wrote:
> Raise UDC (Unexpected Disconnect) when a large enough number of
> instructions has been executed by the SCRIPTS processor. This "solution"
> is much simpler than temporarily interrupting execution.
>
> This remedies the situation with Windows which downloads SCRIPTS code
> that busy loops on guest main memory. Their drivers _do_ handle UDC 
> appropriately (at least XP and 2003).
>
> It would be nicer to actually detect infinite loops, but until then,
> this bandaid seems acceptable.
>
> Since the situation seems to be rare enough, raise the number 
> of instructions to 10000 (previously 1000).
>
> Three people other than myself had success with this patch.
>   

Please add a Signed-off-by and I'll apply this patch.  I don't know that 
Paul has gotten a chance to look yet but we talked in IRC a while ago 
and he mentioned that it's probably the best solution we'll be able to 
come up with so that seems to suggest to me that it's safe to apply.

Regards,

Anthony Liguori

      parent reply	other threads:[~2008-09-22 14:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-12 12:38 [Qemu-devel] LSI SCSI: raise UDC on infinite loop (resend #1) Marcelo Tosatti
2008-09-12 17:58 ` Anthony Liguori
2008-09-22 14:53 ` Anthony Liguori [this message]

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=48D7B15C.6010607@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=mtosatti@redhat.com \
    --cc=paul@codesourcery.com \
    --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).