qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

libqos: pci-pc: use 32-bit write for EJ 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>

+1 -1
+1 -1
tests/qtest/libqos/pci-pc.c
··· 186 186 g_assert(!qdict_haskey(response, "error")); 187 187 qobject_unref(response); 188 188 189 - qtest_outb(qts, ACPI_PCIHP_ADDR + PCI_EJ_BASE, 1 << slot); 189 + qtest_outl(qts, ACPI_PCIHP_ADDR + PCI_EJ_BASE, 1 << slot); 190 190 191 191 qtest_qmp_eventwait(qts, "DEVICE_DELETED"); 192 192 }