aliguori 2c3891ab7f RTL8139: Latch C+ mode state instead of inferring it from C+ Command register (Avi Kivity)
It was observed that Windows 2003 x64 hangs when shutting down if an
RTL8139 NIC and a USB device tablet are both present.  What seems to be
happening is:

- the guest shuts down the transmitter and receiver
- time passes
- the guest requests a tally counter dump

As it happens, the tally counter command register overlaps the transmit
status register in C mode.  Qemu determines whether the chip is in C or C+
mode by looking at the C+ transmit enable bit; as this is now unset, the
dump tally counter command is interpreted as a C mode transmit command.  The
guest doesn't think so, however, and continues to poll for completion of the
tally counter dump command.  This never occurs, so the guest hangs.

Fix by redefining C+ mode as "a write to the C+ command register has occurred
since the last reset".  The data sheet is silent on the matter.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6279 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-13 15:20:14 +00:00
2009-01-05 18:11:53 +00:00
2009-01-05 18:11:53 +00:00
2009-01-12 20:00:29 +00:00
2009-01-12 17:51:06 +00:00
2008-12-17 22:29:37 +00:00
2008-12-13 09:32:43 +00:00
2009-01-05 18:11:53 +00:00
2008-12-05 17:56:40 +00:00
2008-12-11 19:20:41 +00:00
2008-12-11 19:37:54 +00:00
2009-01-07 10:22:28 +00:00
2008-11-12 17:18:41 +00:00
2008-12-18 22:42:51 +00:00
2008-12-14 08:50:18 +00:00
2008-11-30 16:25:37 +00:00
2009-01-05 18:11:53 +00:00
2009-01-09 11:01:31 +00:00
2009-01-12 17:40:23 +00:00
2008-12-11 19:39:56 +00:00
2008-11-30 16:25:05 +00:00
2008-12-11 19:37:54 +00:00
2008-12-14 08:50:18 +00:00
2008-12-13 09:32:43 +00:00
2008-12-14 08:53:17 +00:00
2008-12-04 11:29:42 +00:00
2008-11-25 16:49:33 +00:00
2009-01-09 10:46:34 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%