commit | 049746fb8afc80f17152edd253e0944a404dd328 | [log] [tgz] |
---|---|---|
author | Chih-Yang Hsia <paulhsia@chromium.org> | Mon Dec 06 14:21:00 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Dec 07 03:33:47 2021 |
tree | 128d2c64175f81e388ecc62c7eabab3c827bd94f | |
parent | c6d01914de1af419f86845ce4d58fd9b7084778c [diff] |
device: virtio: snd: Call release_worker in prepare Since VIRTIO_SND_R_PCM_PREPARE -> VIRTIO_SND_R_PCM_PREPARE is a valid transition, we need to release the worker if it's already in VIRTIO_SND_R_PCM_PREPARE state. Or we could trigger ``` Error in handling tx queue: Error in mpsc: send failed because receiver is gone ``` in handle_pcm_queue while sending `desc_chain` to start_pcm_worker through the `stream_info.sender()`. BUG=b:202368198 TEST=Run alsa_conformance_test multiple times Change-Id: I5f8ee370832ee162fdef71d396dfe848d88af7e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3317328 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Chih-Yang Hsia <paulhsia@chromium.org> Reviewed-by: Woody Chow <woodychow@google.com> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
crosvm is a virtual machine monitor (VMM) based on Linux’s KVM hypervisor, with a focus on simplicity, security, and speed. crosvm is intended to run Linux guests, originally as a security boundary for running native applications on the Chrome OS platform. Compared to QEMU, crosvm doesn’t emulate architectures or real hardware, instead concentrating on paravirtualized devices, such as the virtio standard.
crosvm is currently used to run Linux/Android guests on Chrome OS devices.