virtio-devices: vhost_user: Advertise LOG_ALL feature

Advertising support for this virtio feature is required to enable
support for migration. (Along with the LOG_SHMFD protocol feature.)

Signed-off-by: Rob Bradford <rbradford@meta.com>
This commit is contained in:
Rob Bradford
2026-03-31 06:52:45 -07:00
parent 070f3bbea1
commit 266ad8aa0e

View File

@@ -167,7 +167,8 @@ pub const DEFAULT_VIRTIO_FEATURES: u64 = (1 << VIRTIO_F_RING_INDIRECT_DESC)
| (1 << VIRTIO_F_IN_ORDER)
| (1 << VIRTIO_F_ORDER_PLATFORM)
| (1 << VIRTIO_F_NOTIFICATION_DATA)
| VhostUserVirtioFeatures::PROTOCOL_FEATURES.bits();
| VhostUserVirtioFeatures::PROTOCOL_FEATURES.bits()
| VhostUserVirtioFeatures::LOG_ALL.bits();
const HUP_CONNECTION_EVENT: u16 = EPOLL_HELPER_EVENT_LAST + 1;
const BACKEND_REQ_EVENT: u16 = EPOLL_HELPER_EVENT_LAST + 2;