qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

Merge remote-tracking branch 'remotes/kraxel/tags/usb-20170717-pull-request' into staging

ehci fix for 2.10

# gpg: Signature made Mon 17 Jul 2017 10:40:00 BST
# gpg: using RSA key 0x4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
# gpg: aka "Gerd Hoffmann <gerd@kraxel.org>"
# gpg: aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
# Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/usb-20170717-pull-request:
ehci: add sanity check for maxframes

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

+5
+5
hw/usb/hcd-ehci.c
··· 2483 2483 NB_PORTS); 2484 2484 return; 2485 2485 } 2486 + if (s->maxframes < 8 || s->maxframes > 512) { 2487 + error_setg(errp, "maxframes %d out if range (8 .. 512)", 2488 + s->maxframes); 2489 + return; 2490 + } 2486 2491 2487 2492 usb_bus_new(&s->bus, sizeof(s->bus), s->companion_enable ? 2488 2493 &ehci_bus_ops_companion : &ehci_bus_ops_standalone, dev);