This feature flag allows the driver enabling virtqueues both before and after DRIVER_OK. This is needed for software assisted live migration, so userland can restore the device status in devices with control virtqueue before the dataplane is enabled.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -181,5 +181,9 @@ struct vhost_vdpa_iova_range { · 180 unmodified lines | |||
| 181 | #define VHOST_BACKEND_F_SUSPEND 0x4 | 181 | #define VHOST_BACKEND_F_SUSPEND 0x4 |
| 182 | /* Device can be resumed */ | 182 | /* Device can be resumed */ |
| 183 | #define VHOST_BACKEND_F_RESUME 0x5 | 183 | #define VHOST_BACKEND_F_RESUME 0x5 |
| 184 | /* Device supports the driver enabling virtqueues both before and after | ||
| 185 | * DRIVER_OK | ||
| 186 | */ | ||
| 187 | #define VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK 0x6 | ||
| 184 | 188 | ||
| 185 | #endif | 189 | #endif |