On 06/06/2016 04:00 PM, Cao jin wrote:

diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c


+    if (xhci->msi != ON_OFF_AUTO_OFF) {
+        ret = msi_init(dev, 0x70, xhci->numintrs, true, false, &err);
+        /* Any error other than -ENOTSUP(board's MSI support is broken)
+         * is a programming error */
+        assert(!ret || ret == -ENOTSUP);
+        if (ret && xhci->msi == ON_OFF_AUTO_ON) {
+            /* Can't satisfy user's explicit msi=on request, fail */
+            error_append_hint(&err, "You have to use msi=auto (default) or "
+                    "si=off with this machine type.\n");

sorry, I made a typo "si=off", maybe it could be fixed when be applied by maintainer

--
Yours Sincerely,

Cao jin



Reply via email to