aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-06-23 12:18:24 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-06-26 06:45:29 -0400
commit89ed83d8b23c11d250c290593cad3ca839d5b053 (patch)
tree4862c3106c92957c6cfea427f34a9490ad4379a2
parentae2b72072bc401114ebb9f46abd67d07d4cabf10 (diff)
downloadqemu-89ed83d8b23c11d250c290593cad3ca839d5b053.zip
qemu-89ed83d8b23c11d250c290593cad3ca839d5b053.tar.gz
qemu-89ed83d8b23c11d250c290593cad3ca839d5b053.tar.bz2
libqos: usb-hcd-ehci: use 32-bit write for config register
The memory region ops have min_access_size == 4 so obey it. Tested-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--tests/qtest/usb-hcd-ehci-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/usb-hcd-ehci-test.c b/tests/qtest/usb-hcd-ehci-test.c
index 5251d53..c51e8bb 100644
--- a/tests/qtest/usb-hcd-ehci-test.c
+++ b/tests/qtest/usb-hcd-ehci-test.c
@@ -96,7 +96,7 @@ static void pci_ehci_port_1(void)
static void pci_ehci_config(void)
{
/* hands over all ports from companion uhci to ehci */
- qpci_io_writew(ehci1.dev, ehci1.bar, 0x60, 1);
+ qpci_io_writel(ehci1.dev, ehci1.bar, 0x60, 1);
}
static void pci_uhci_port_2(void)