qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: LSI SCSI: raise UDC on infinite loop


From: Anthony Liguori
Subject: [Qemu-devel] Re: LSI SCSI: raise UDC on infinite loop
Date: Mon, 22 Sep 2008 11:15:20 -0500
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

Marcelo Tosatti wrote:
(resending with Signed-off-by)

-----

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.

Signed-off-by: Marcelo Tosatti <address@hidden>


Applied.  Thanks.

Regards,

Anthony Liguori





reply via email to

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