vfio: Add Error** argument to .set_dirty_page_tracking() handler
commit836bb308685007ca7cccb891ec213a33f478af18
authorCédric Le Goater <clg@redhat.com>
Thu, 16 May 2024 12:46:50 +0000 (16 14:46 +0200)
committerCédric Le Goater <clg@redhat.com>
Thu, 16 May 2024 14:59:19 +0000 (16 16:59 +0200)
tree84529ebf954d8c38e718cd6139353097d56a0edd
parent85ef20f1673feaa083f4acab8cf054df77b0dbed
vfio: Add Error** argument to .set_dirty_page_tracking() handler

We will use the Error object to improve error reporting in the
.log_global*() handlers of VFIO. Add documentation while at it.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Avihai Horon <avihaih@nvidia.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/common.c
hw/vfio/container-base.c
hw/vfio/container.c
include/hw/vfio/vfio-container-base.h