OSDN Git Service

vfio/common: remove spurious warning on vfio_listener_region_del
authorEric Auger <eric.auger@redhat.com>
Tue, 24 May 2022 09:14:05 +0000 (05:14 -0400)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 8 Jun 2022 14:44:19 +0000 (08:44 -0600)
commitec6600be0dc16982181c7ad80d94c143c0807dd2
treea24241945649bcf10ae3fdf5cc8346ea7541b3d1
parent9b1f58854959c5a9bdb347e3e04c252ab7fc9ef5
vfio/common: remove spurious warning on vfio_listener_region_del

851d6d1a0f ("vfio/common: remove spurious tpm-crb-cmd misalignment
warning") removed the warning on vfio_listener_region_add() path.

However the same warning also hits on region_del path. Let's remove
it and reword the dynamic trace as this can be called on both
map and unmap path.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Link: https://lore.kernel.org/r/20220524091405.416256-1-eric.auger@redhat.com
Fixes: 851d6d1a0ff2 ("vfio/common: remove spurious tpm-crb-cmd misalignment warning")
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/common.c
hw/vfio/trace-events