vfio/container: Introduce an instance_init() handler
commit2137d2fd1779df61ae011186b0f3a8ecb9ca0a69
authorCédric Le Goater <clg@redhat.com>
Mon, 17 Jun 2024 06:34:05 +0000 (17 08:34 +0200)
committerCédric Le Goater <clg@redhat.com>
Mon, 24 Jun 2024 21:15:31 +0000 (24 23:15 +0200)
treef7a234fb28b6337097e5d2c94028489f6211abbe
parent938026053f43031319d5e2159dcf4f993519afef
vfio/container: Introduce an instance_init() handler

This allows us to move the initialization code from vfio_container_init(),
which we will soon remove.

Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/container-base.c