um: virtio_uml: move device breaking into workqueue
authorBenjamin Berg <benjamin.berg@intel.com>
Thu, 9 Feb 2023 09:00:04 +0000 (10:00 +0100)
committerRichard Weinberger <richard@nod.at>
Mon, 13 Feb 2023 09:14:32 +0000 (10:14 +0100)
commitabdeb4fa5e1b5b4918034f02236fd886f40c20c1
treeaaed7e9ac00c63ba0c5a94568e459892cf566459
parent8e9cd85139a2149d5a7c121b05e0cdb8287311f9
um: virtio_uml: move device breaking into workqueue

We should not be calling virtio_break_device from an IRQ context.
Move breaking the device into the workqueue so that it is done from
a reasonable context.

Fixes: af9fb41ed315 ("um: virtio_uml: Fix broken device handling in time-travel")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/virtio_uml.c