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§
- SetParams
Error 🔒 - Error returned when
VIRTIO_SND_R_PCM_SET_PARAMScontains invalid or unsupported parameters.
Functions§
- validate_
query_ 🔒info - Validates a
virtio_snd_query_inforequest against the number of available items. - validate_
set_ 🔒params - Validates parameters in
VIRTIO_SND_R_PCM_SET_PARAMSagainst the stream’spcm_info.