diff options
| author | Laurent Vivier <lvivier@redhat.com> | 2023-07-04 09:19:31 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2023-07-10 18:59:32 -0400 |
| commit | 77812aa7b1fdf8f547c35a7f9a4eb1cbf3a073db (patch) | |
| tree | 4fb653fd871d1e9d0d4d2c8c506bd0ce9bccdf1f /python | |
| parent | 6f34807116ffef7c449a656dbe2091d4f4da89c8 (diff) | |
| download | focaccia-qemu-77812aa7b1fdf8f547c35a7f9a4eb1cbf3a073db.tar.gz focaccia-qemu-77812aa7b1fdf8f547c35a7f9a4eb1cbf3a073db.zip | |
vhost-vdpa: mute unaligned memory error report
With TPM CRM device, vhost-vdpa reports an error when it tries to register a listener for a non aligned memory region: qemu-system-x86_64: vhost_vdpa_listener_region_add received unaligned region qemu-system-x86_64: vhost_vdpa_listener_region_del received unaligned region This error can be confusing for the user whereas we only need to skip the region (as it's already done after the error_report()) Rather than introducing a special case for TPM CRB memory section to not display the message in this case, simply replace the error_report() by a trace function (with more information, like the memory region name). Signed-off-by: Laurent Vivier <lvivier@redhat.com> Message-Id: <20230704071931.575888-2-lvivier@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions