10 # @VfioMigrationState:
12 # An enumeration of the VFIO device migration states.
14 # @stop: The device is stopped.
16 # @running: The device is running.
18 # @stop-copy: The device is stopped and its internal state is available
21 # @resuming: The device is stopped and its internal state is available
24 # @running-p2p: The device is running in the P2P quiescent state.
26 # @pre-copy: The device is running, tracking its internal state and its
27 # internal state is available for reading.
29 # @pre-copy-p2p: The device is running in the P2P quiescent state,
30 # tracking its internal state and its internal state is available
35 { 'enum': 'VfioMigrationState',
36 'data': [ 'stop', 'running', 'stop-copy', 'resuming', 'running-p2p',
37 'pre-copy', 'pre-copy-p2p' ],
38 'prefix': 'QAPI_VFIO_MIGRATION_STATE' }
43 # This event is emitted when a VFIO device migration state is changed.
45 # @device-id: The device's id, if it has one.
47 # @qom-path: The device's QOM path.
49 # @device-state: The new changed device migration state.
55 # <- { "timestamp": { "seconds": 1713771323, "microseconds": 212268 },
56 # "event": "VFIO_MIGRATION",
58 # "device-id": "vfio_dev1",
59 # "qom-path": "/machine/peripheral/vfio_dev1",
60 # "device-state": "stop" } }
62 { 'event': 'VFIO_MIGRATION',
66 'device-state': 'VfioMigrationState'