summaryrefslogtreecommitdiffstats
path: root/scripts/cpu-x86-uarch-abi.py
diff options
context:
space:
mode:
authorEric Auger2022-05-06 15:25:10 +0200
committerAlex Williamson2022-05-06 17:06:50 +0200
commit851d6d1a0ff29a87ec588205842edf6b86d99b5c (patch)
tree821f1bc56799f28b62c18ef6e3855923d51cd21f /scripts/cpu-x86-uarch-abi.py
parentsysemu: tpm: Add a stub function for TPM_IS_CRB (diff)
downloadqemu-851d6d1a0ff29a87ec588205842edf6b86d99b5c.tar.gz
qemu-851d6d1a0ff29a87ec588205842edf6b86d99b5c.tar.xz
qemu-851d6d1a0ff29a87ec588205842edf6b86d99b5c.zip
vfio/common: remove spurious tpm-crb-cmd misalignment warning
The CRB command buffer currently is a RAM MemoryRegion and given its base address alignment, it causes an error report on vfio_listener_region_add(). This region could have been a RAM device region, easing the detection of such safe situation but this option was not well received. So let's add a helper function that uses the memory region owner type to detect the situation is safe wrt the assignment. Other device types can be checked here if such kind of problem occurs again. Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Link: https://lore.kernel.org/r/20220506132510.1847942-3-eric.auger@redhat.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'scripts/cpu-x86-uarch-abi.py')
0 files changed, 0 insertions, 0 deletions