um: virtio: allow devices to be configured for wakeup
authorJohannes Berg <johannes.berg@intel.com>
Tue, 15 Dec 2020 09:52:25 +0000 (10:52 +0100)
committerRichard Weinberger <richard@nod.at>
Fri, 12 Feb 2021 20:25:46 +0000 (21:25 +0100)
commit1fcf9da389018d0d81509ec6419a3fff14f3ebfd
treeae3735fa60329e9004074c72e312b2c09e93551a
parentc8177aba37cac6b6dd0e5511fde9fc2d9e7f2f38
um: virtio: allow devices to be configured for wakeup

With all the IRQ machinery being in place, we can allow virtio
devices to additionally be configured as wakeup sources, in
which case basically any interrupt from them wakes us up. Note
that this requires a call FD because the VQs are all disabled.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/virtio_uml.c