mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
The four vhost-user device wrappers (blk, fs, generic_vhost_user, net) each carried an identical reset() body that resumed the worker thread, asked the backend to reset, signalled kill_evt and dropped interrupt_cb. Move the shared body into VhostUserCommon::reset() so behaviour stays in one place. No behavioural change. Signed-off-by: Rob Bradford <rbradford@meta.com> Assisted-by: Claude:claude-opus-4-7