qapi/vfio: Add VFIO migration QAPI event
authorAvihai Horon <avihaih@nvidia.com>
Wed, 15 May 2024 13:21:35 +0000 (16:21 +0300)
committerCédric Le Goater <clg@redhat.com>
Thu, 16 May 2024 14:59:19 +0000 (16:59 +0200)
commita0359b56ecb2002fbecd249b1ea71df618dbe4a2
tree29acf09935c8a4b91b7953b7f65e5159bba9bfe4
parent187716feeba406b5a3879db66a7bafd687472a1f
qapi/vfio: Add VFIO migration QAPI event

Add a new QAPI event for VFIO migration. This event will be emitted when
a VFIO device changes its migration state, for example, during migration
or when stopping/starting the guest.

This event can be used by management applications to get updates on the
current state of the VFIO device for their own purposes.

Note that this new event is introduced since VFIO devices have a unique
set of migration states which cannot be described as accurately by other
existing events such as run state or migration status.

Signed-off-by: Avihai Horon <avihaih@nvidia.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
MAINTAINERS
qapi/meson.build
qapi/qapi-schema.json
qapi/vfio.json [new file with mode: 0644]