projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89ed83d
)
libqos: pci-pc: use 32-bit write for EJ register
author
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 23 Jun 2020 16:17:59 +0000
(12:17 -0400)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Fri, 26 Jun 2020 10:45:30 +0000
(06:45 -0400)
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>
tests/qtest/libqos/pci-pc.c
patch
|
blob
|
history
diff --git
a/tests/qtest/libqos/pci-pc.c
b/tests/qtest/libqos/pci-pc.c
index 0bc591d1daff7115b9ae485c16a0eb2a580e3db0..3bb2eb3ba83a01400e166b7484ccae583722aec0 100644
(file)
--- a/
tests/qtest/libqos/pci-pc.c
+++ b/
tests/qtest/libqos/pci-pc.c
@@
-186,7
+186,7
@@
void qpci_unplug_acpi_device_test(QTestState *qts, const char *id, uint8_t slot)
g_assert(!qdict_haskey(response, "error"));
qobject_unref(response);
- qtest_out
b
(qts, ACPI_PCIHP_ADDR + PCI_EJ_BASE, 1 << slot);
+ qtest_out
l
(qts, ACPI_PCIHP_ADDR + PCI_EJ_BASE, 1 << slot);
qtest_qmp_eventwait(qts, "DEVICE_DELETED");
}