Skip to content

virtio: Drop out of coroutine context in virtio_load()

Merge Request Required Information

Summary of Changes

virtio_load() usually runs in coroutine context, but it calls virtio_set_features_nocheck(). Devices don't expect their .set_features callback to run in a coroutine and therefore call functions that may not be called in coroutine context. This fixes the resulting crash.

Approved Development Ticket

Jira: https://issues.redhat.com/browse/RHEL-832

Edited by Kevin Wolf

Merge request reports

Loading