xhci: fix numintrs sanity checks
commitc94a7c6979cafa7a71f32b35e0ff71ed00c61a89
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 19 Mar 2013 08:18:20 +0000 (19 09:18 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 3 Apr 2013 07:55:49 +0000 (3 09:55 +0200)
tree68001dd495a66a289ed67973a380b335b1ea0d18
parentc874ea97b9d0d079e9d65ef033b95afef0ed6532
xhci: fix numintrs sanity checks

Make sure numintrs is a power of two, msi requires this.

https://bugzilla.redhat.com/show_bug.cgi?id=918035

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-xhci.c