Module validation

Source
Expand description

Pure validation of guest-provided control requests. Everything in this module is free of I/O so that it can be exhaustively checked with Kani.

Enums§

SetParamsError 🔒
Error returned when VIRTIO_SND_R_PCM_SET_PARAMS contains invalid or unsupported parameters.

Functions§

validate_query_info 🔒
Validates a virtio_snd_query_info request against the number of available items.
validate_set_params 🔒
Validates parameters in VIRTIO_SND_R_PCM_SET_PARAMS against the stream’s pcm_info.