summary refs log tree commit diff stats
path: root/hw/usb
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2021-12-23 12:54:43 +0300
committerGerd Hoffmann <kraxel@redhat.com>2022-03-04 09:34:21 +0100
commit42c93917f7829190fcae05c5c0827d0c187d7713 (patch)
treeaeb128607186a8f022987f3e8f7ef4a97487515f /hw/usb
parent6629bf78aac7e53f83fd0bcbdbe322e2302dfd1f (diff)
downloadfocaccia-qemu-42c93917f7829190fcae05c5c0827d0c187d7713.tar.gz
focaccia-qemu-42c93917f7829190fcae05c5c0827d0c187d7713.zip
hw/usb: pacify xhciwmi.exe warning
xhciwmi.exe is used inside Windows 2022 SVVP tests. This tool called as
'xhciwmi.exe --verify' reports that 'The firmware loaded on this
controller has known bugs and/or compatibility issues'. This is just
a warning but there is no particular sense to ignore it.

This patch just pacifies the tool.

There is a big question whether this change should be put using
machine type mechanics, but at my opinion this would be an overkill.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Tested-by: Pavel Polozov <pavel.polozov@virtuozzo.com>
CC: Yan Vugenfirer <yvugenfi@redhat.com>
CC: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Yan Vugenfirer <yvugenfi@redhat.com>
Message-Id: <20211223095443.130276-1-den@openvz.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb')
-rw-r--r--hw/usb/hcd-xhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
index 14bdb89676..0cd0a5e540 100644
--- a/hw/usb/hcd-xhci.c
+++ b/hw/usb/hcd-xhci.c
@@ -2523,7 +2523,7 @@ static void xhci_process_commands(XHCIState *xhci)
         case CR_VENDOR_NEC_FIRMWARE_REVISION:
             if (xhci->nec_quirks) {
                 event.type = 48; /* NEC reply */
-                event.length = 0x3025;
+                event.length = 0x3034;
             } else {
                 event.ccode = CC_TRB_ERROR;
             }