|
@@ -1464,7 +1464,7 @@ static int ehci_process_itd(EHCIState *ehci,
|
|
usb_handle_packet(dev, &ehci->ipacket);
|
|
usb_handle_packet(dev, &ehci->ipacket);
|
|
usb_packet_unmap(&ehci->ipacket, &ehci->isgl);
|
|
usb_packet_unmap(&ehci->ipacket, &ehci->isgl);
|
|
} else {
|
|
} else {
|
|
- DPRINTF("ISOCH: attempt to addess non-iso endpoint\n");
|
|
|
|
|
|
+ DPRINTF("ISOCH: attempt to address non-iso endpoint\n");
|
|
ehci->ipacket.status = USB_RET_NAK;
|
|
ehci->ipacket.status = USB_RET_NAK;
|
|
ehci->ipacket.actual_length = 0;
|
|
ehci->ipacket.actual_length = 0;
|
|
}
|
|
}
|
|
@@ -1513,7 +1513,7 @@ static int ehci_process_itd(EHCIState *ehci,
|
|
|
|
|
|
|
|
|
|
/* This state is the entry point for asynchronous schedule
|
|
/* This state is the entry point for asynchronous schedule
|
|
- * processing. Entry here consitutes a EHCI start event state (4.8.5)
|
|
|
|
|
|
+ * processing. Entry here constitutes a EHCI start event state (4.8.5)
|
|
*/
|
|
*/
|
|
static int ehci_state_waitlisthead(EHCIState *ehci, int async)
|
|
static int ehci_state_waitlisthead(EHCIState *ehci, int async)
|
|
{
|
|
{
|
|
@@ -2458,7 +2458,7 @@ static void usb_ehci_vm_state_change(void *opaque, bool running, RunState state)
|
|
/*
|
|
/*
|
|
* The schedule rebuilt from guest memory could cause the migration dest
|
|
* The schedule rebuilt from guest memory could cause the migration dest
|
|
* to miss a QH unlink, and fail to cancel packets, since the unlinked QH
|
|
* to miss a QH unlink, and fail to cancel packets, since the unlinked QH
|
|
- * will never have existed on the destination. Therefor we must flush the
|
|
|
|
|
|
+ * will never have existed on the destination. Therefore we must flush the
|
|
* async schedule on savevm to catch any not yet noticed unlinks.
|
|
* async schedule on savevm to catch any not yet noticed unlinks.
|
|
*/
|
|
*/
|
|
if (state == RUN_STATE_SAVE_VM) {
|
|
if (state == RUN_STATE_SAVE_VM) {
|