aboutsummaryrefslogtreecommitdiff
path: root/hw/vhost_net.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-03-02 21:27:15 +0100
committerGerd Hoffmann <kraxel@redhat.com>2012-03-07 12:28:03 +0100
commitdd54cfe0bcf30d1f3a34e9c397f619d423fe0c5b (patch)
treeb7d27fbaf6599a5307822e0c44f081056967103a /hw/vhost_net.c
parent2763cbc751c494dd2f58f902ad80a8048f9cfd7b (diff)
downloadqemu-dd54cfe0bcf30d1f3a34e9c397f619d423fe0c5b.zip
qemu-dd54cfe0bcf30d1f3a34e9c397f619d423fe0c5b.tar.gz
qemu-dd54cfe0bcf30d1f3a34e9c397f619d423fe0c5b.tar.bz2
usb-ehci: Fix cerr tracking
cerr should only be decremented on errors which cause XactErr to be set, and when that happens the failing transaction should be retried until cerr reaches 0 and only then should USBSTS_ERRINT be set (and inactive cleared and USBSTS_INT set if requested). Since we don't have any hardware level errors (and in case of redirection the real hardware has already retried), re-trying makes no sense, so immediately set cerr to 0 on errors which set XactErr. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/vhost_net.c')
0 files changed, 0 insertions, 0 deletions